Class PartySecurityRoleFactory
java.lang.Object
com.echothree.model.data.security.server.factory.PartySecurityRoleFactory
- All Implemented Interfaces:
BaseFactory<PartySecurityRolePK,PartySecurityRole>
@ApplicationScoped
public class PartySecurityRoleFactory
extends Object
implements BaseFactory<PartySecurityRolePK,PartySecurityRole>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of PartySecurityRoleFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(PartyPK partyPK, SecurityRolePK securityRolePK, Long fromTime, Long thruTime) create(Party party, SecurityRole securityRole, Long fromTime, Long thruTime) voidcreate(Collection<PartySecurityRoleValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartySecurityRolePK> pks) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromPK(EntityPermission entityPermission, PartySecurityRolePK pk) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromValue(EntityPermission entityPermission, PartySecurityRoleValue value) static PartySecurityRoleFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(PartySecurityRole entity) voidvoidstore(PartySecurityRole entity) voidstore(Collection<PartySecurityRole> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
PSROL_PARTYSECURITYROLEID
- See Also:
-
PSROL_PAR_PARTYID
- See Also:
-
PSROL_SROL_SECURITYROLEID
- See Also:
-
PSROL_FROMTIME
- See Also:
-
PSROL_THRUTIME
- See Also:
-
-
Constructor Details
-
PartySecurityRoleFactory
protected PartySecurityRoleFactory()Creates a new instance of PartySecurityRoleFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<PartySecurityRolePK,PartySecurityRole>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<PartySecurityRolePK,PartySecurityRole>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<PartySecurityRolePK,PartySecurityRole>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<PartySecurityRolePK,PartySecurityRole>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<PartySecurityRolePK,PartySecurityRole>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PartySecurityRolePK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PartySecurityRolePK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PartySecurityRoleValue> getValuesFromPKs(Collection<PartySecurityRolePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PartySecurityRoleValue getValueFromPK(PartySecurityRolePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PartySecurityRoleValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PartySecurityRoleValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PartySecurityRole> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartySecurityRolePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PartySecurityRole getEntityFromValue(EntityPermission entityPermission, PartySecurityRoleValue value) -
getEntityFromCache
-
getEntityFromPK
public PartySecurityRole getEntityFromPK(EntityPermission entityPermission, PartySecurityRolePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PartySecurityRolePK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PartySecurityRolePK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PartySecurityRolePK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartySecurityRole> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartySecurityRole> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartySecurityRole> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartySecurityRole getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartySecurityRole getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartySecurityRole getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PartySecurityRole> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PartySecurityRole getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PartySecurityRole create(Party party, SecurityRole securityRole, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartySecurityRole create(PartyPK partyPK, SecurityRolePK securityRolePK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PartySecurityRoleValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PartySecurityRolePK,PartySecurityRole> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<PartySecurityRolePK,PartySecurityRole> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartySecurityRolePK,PartySecurityRole> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartySecurityRolePK,PartySecurityRole> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartySecurityRolePK,PartySecurityRole> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<PartySecurityRolePK,PartySecurityRole> - Throws:
PersistenceDatabaseException
-