Class ChainActionDescriptionFactory
java.lang.Object
com.echothree.model.data.chain.server.factory.ChainActionDescriptionFactory
- All Implemented Interfaces:
BaseFactory<ChainActionDescriptionPK,ChainActionDescription>
@ApplicationScoped
public class ChainActionDescriptionFactory
extends Object
implements BaseFactory<ChainActionDescriptionPK,ChainActionDescription>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of ChainActionDescriptionFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(ChainActionPK chainActionPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) create(ChainAction chainAction, Language language, String description, Long fromTime, Long thruTime) voidcreate(Collection<ChainActionDescriptionValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<ChainActionDescriptionPK> 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, ChainActionDescriptionPK 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, ChainActionDescriptionValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(ChainActionDescription entity) voidvoidstore(ChainActionDescription entity) voidstore(Collection<ChainActionDescription> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
CHNACTD_CHAINACTIONDESCRIPTIONID
- See Also:
-
CHNACTD_CHNACT_CHAINACTIONID
- See Also:
-
CHNACTD_LANG_LANGUAGEID
- See Also:
-
CHNACTD_DESCRIPTION
- See Also:
-
CHNACTD_FROMTIME
- See Also:
-
CHNACTD_THRUTIME
- See Also:
-
-
Constructor Details
-
ChainActionDescriptionFactory
protected ChainActionDescriptionFactory()Creates a new instance of ChainActionDescriptionFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<ChainActionDescriptionPK,ChainActionDescription>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<ChainActionDescriptionPK,ChainActionDescription>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<ChainActionDescriptionPK,ChainActionDescription>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<ChainActionDescriptionPK,ChainActionDescription>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<ChainActionDescriptionPK,ChainActionDescription>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<ChainActionDescriptionPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<ChainActionDescriptionPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public ChainActionDescriptionPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ChainActionDescriptionValue> getValuesFromPKs(Collection<ChainActionDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ChainActionDescriptionValue getValueFromPK(ChainActionDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ChainActionDescriptionValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ChainActionDescriptionValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ChainActionDescription> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ChainActionDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ChainActionDescription getEntityFromValue(EntityPermission entityPermission, ChainActionDescriptionValue value) -
getEntityFromCache
-
getEntityFromPK
public ChainActionDescription getEntityFromPK(EntityPermission entityPermission, ChainActionDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ChainActionDescriptionPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ChainActionDescriptionPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ChainActionDescriptionPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ChainActionDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ChainActionDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ChainActionDescription> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ChainActionDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ChainActionDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ChainActionDescription getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ChainActionDescription> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ChainActionDescription getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ChainActionDescription create(ChainAction chainAction, Language language, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ChainActionDescription create(ChainActionPK chainActionPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ChainActionDescriptionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<ChainActionDescriptionPK,ChainActionDescription> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<ChainActionDescriptionPK,ChainActionDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ChainActionDescriptionPK,ChainActionDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ChainActionDescriptionPK,ChainActionDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ChainActionDescriptionPK,ChainActionDescription> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<ChainActionDescriptionPK,ChainActionDescription> - Throws:
PersistenceDatabaseException
-