Class PartyRelationshipFactory
java.lang.Object
com.echothree.model.data.party.server.factory.PartyRelationshipFactory
- All Implemented Interfaces:
BaseFactory<PartyRelationshipPK,
PartyRelationship>
public class PartyRelationshipFactory
extends Object
implements BaseFactory<PartyRelationshipPK,PartyRelationship>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate
(PartyRelationshipTypePK partyRelationshipTypePK, PartyPK fromPartyPK, RoleTypePK fromRoleTypePK, PartyPK toPartyPK, RoleTypePK toRoleTypePK, Long fromTime, Long thruTime) create
(PartyRelationshipType partyRelationshipType, Party fromParty, RoleType fromRoleType, Party toParty, RoleType toRoleType, Long fromTime, Long thruTime) create
(Session session, PartyRelationshipTypePK partyRelationshipTypePK, PartyPK fromPartyPK, RoleTypePK fromRoleTypePK, PartyPK toPartyPK, RoleTypePK toRoleTypePK, Long fromTime, Long thruTime) create
(Session session, PartyRelationshipType partyRelationshipType, Party fromParty, RoleType fromRoleType, Party toParty, RoleType toRoleType, Long fromTime, Long thruTime) void
create
(Session session, Collection<PartyRelationshipValue> _values) void
create
(Collection<PartyRelationshipValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<PartyRelationshipPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<PartyRelationshipPK> pks) getEntitiesFromQuery
(EntityPermission entityPermission, PreparedStatement ps) getEntitiesFromQuery
(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromQuery
(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet
(EntityPermission entityPermission, ResultSet rs) getEntitiesFromResultSet
(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromCache
(Session session, PartyRelationshipPK pk) getEntityFromPK
(EntityPermission entityPermission, PartyRelationshipPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, PartyRelationshipPK pk) getEntityFromQuery
(EntityPermission entityPermission, PreparedStatement ps) getEntityFromQuery
(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromQuery
(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet
(EntityPermission entityPermission, ResultSet rs) getEntityFromResultSet
(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromValue
(EntityPermission entityPermission, PartyRelationshipValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, PartyRelationshipValue value) static PartyRelationshipFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, PartyRelationshipPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<PartyRelationshipPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, PartyRelationshipPK pk) void
remove
(Session session, PartyRelationship entity) void
remove
(Session session, Collection<PartyRelationshipPK> pks) void
void
store
(Session session, PartyRelationship entity) void
store
(Session session, Collection<PartyRelationship> entities) void
store
(Collection<PartyRelationship> entities) boolean
validPK
(Session session, PartyRelationshipPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
PREL_PARTYRELATIONSHIPID
- See Also:
-
PREL_PRT_PARTYRELATIONSHIPTYPEID
- See Also:
-
PREL_FROMPARTYID
- See Also:
-
PREL_FROMROLETYPEID
- See Also:
-
PREL_TOPARTYID
- See Also:
-
PREL_TOROLETYPEID
- See Also:
-
PREL_FROMTIME
- See Also:
-
PREL_THRUTIME
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<PartyRelationshipPK,
PartyRelationship>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<PartyRelationshipPK,
PartyRelationship>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<PartyRelationshipPK,
PartyRelationship>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<PartyRelationshipPK,
PartyRelationship>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<PartyRelationshipPK,
PartyRelationship>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PartyRelationshipPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PartyRelationshipPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PartyRelationshipValue> getValuesFromPKs(Session session, Collection<PartyRelationshipPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PartyRelationshipValue getValueFromPK(Session session, PartyRelationshipPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PartyRelationshipValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PartyRelationshipValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PartyRelationship> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyRelationshipPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PartyRelationship> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<PartyRelationshipPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PartyRelationship getEntityFromValue(EntityPermission entityPermission, PartyRelationshipValue value) -
getEntityFromValue
public PartyRelationship getEntityFromValue(Session session, EntityPermission entityPermission, PartyRelationshipValue value) -
getEntityFromPK
public PartyRelationship getEntityFromPK(EntityPermission entityPermission, PartyRelationshipPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public PartyRelationship getEntityFromPK(Session session, EntityPermission entityPermission, PartyRelationshipPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PartyRelationshipPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PartyRelationshipPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PartyRelationshipPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyRelationship> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyRelationship> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyRelationship> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyRelationship> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyRelationship> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyRelationship> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyRelationship> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyRelationship getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyRelationship getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyRelationship getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyRelationship getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyRelationship getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyRelationship getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyRelationship getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PartyRelationship> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PartyRelationship> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PartyRelationship getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PartyRelationship getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PartyRelationship create(Session session, PartyRelationshipType partyRelationshipType, Party fromParty, RoleType fromRoleType, Party toParty, RoleType toRoleType, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyRelationship create(PartyRelationshipType partyRelationshipType, Party fromParty, RoleType fromRoleType, Party toParty, RoleType toRoleType, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyRelationship create(Session session, PartyRelationshipTypePK partyRelationshipTypePK, PartyPK fromPartyPK, RoleTypePK fromRoleTypePK, PartyPK toPartyPK, RoleTypePK toRoleTypePK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyRelationship create(PartyRelationshipTypePK partyRelationshipTypePK, PartyPK fromPartyPK, RoleTypePK fromRoleTypePK, PartyPK toPartyPK, RoleTypePK toRoleTypePK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<PartyRelationshipValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PartyRelationshipValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<PartyRelationshipPK,
PartyRelationship> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<PartyRelationship> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<PartyRelationshipPK,
PartyRelationship> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<PartyRelationshipPK,
PartyRelationship> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<PartyRelationshipPK,
PartyRelationship> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<PartyRelationshipPK,
PartyRelationship> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<PartyRelationshipPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<PartyRelationshipPK,
PartyRelationship> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<PartyRelationshipPK,
PartyRelationship> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<PartyRelationshipPK,
PartyRelationship> - Throws:
PersistenceDatabaseException
-