Class IconDetailFactory
java.lang.Object
com.echothree.model.data.icon.server.factory.IconDetailFactory
- All Implemented Interfaces:
BaseFactory<IconDetailPK,IconDetail>
@ApplicationScoped
public class IconDetailFactory
extends Object
implements BaseFactory<IconDetailPK,IconDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of IconDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(IconPK iconPK, String iconName, DocumentPK documentPK, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create(Icon icon, String iconName, Document document, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) voidcreate(Collection<IconDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<IconDetailPK> 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, IconDetailPK 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, IconDetailValue value) static IconDetailFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidremove(IconDetailPK pk) voidremove(IconDetail entity) voidremove(Collection<IconDetailPK> pks) voidstore(IconDetail entity) voidstore(Collection<IconDetail> entities) booleanvalidPK(IconDetailPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
ICNDT_ICONDETAILID
- See Also:
-
ICNDT_ICN_ICONID
- See Also:
-
ICNDT_ICONNAME
- See Also:
-
ICNDT_DCMNT_DOCUMENTID
- See Also:
-
ICNDT_ISDEFAULT
- See Also:
-
ICNDT_SORTORDER
- See Also:
-
ICNDT_FROMTIME
- See Also:
-
ICNDT_THRUTIME
- See Also:
-
-
Constructor Details
-
IconDetailFactory
protected IconDetailFactory()Creates a new instance of IconDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<IconDetailPK,IconDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<IconDetailPK,IconDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<IconDetailPK,IconDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<IconDetailPK,IconDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<IconDetailPK,IconDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
- Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<IconDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<IconDetailValue> getValuesFromPKs(Collection<IconDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
- Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<IconDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
- Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<IconDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<IconDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
-
getEntityFromCache
-
getEntityFromPK
public IconDetail getEntityFromPK(EntityPermission entityPermission, IconDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<IconDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<IconDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public IconDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<IconDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<IconDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<IconDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public IconDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public IconDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public IconDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<IconDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public IconDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public IconDetail create(Icon icon, String iconName, Document document, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public IconDetail create(IconPK iconPK, String iconName, DocumentPK documentPK, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<IconDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<IconDetailPK,IconDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<IconDetailPK,IconDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<IconDetailPK,IconDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<IconDetailPK,IconDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<IconDetailPK,IconDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<IconDetailPK,IconDetail> - Throws:
PersistenceDatabaseException
-