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