Class IndexFieldDetailFactory
java.lang.Object
com.echothree.model.data.index.server.factory.IndexFieldDetailFactory
- All Implemented Interfaces:
BaseFactory<IndexFieldDetailPK,
IndexFieldDetail>
public class IndexFieldDetailFactory
extends Object
implements BaseFactory<IndexFieldDetailPK,IndexFieldDetail>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate
(IndexFieldPK indexFieldPK, IndexTypePK indexTypePK, String indexFieldName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create
(IndexField indexField, IndexType indexType, String indexFieldName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create
(Session session, IndexFieldPK indexFieldPK, IndexTypePK indexTypePK, String indexFieldName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create
(Session session, IndexField indexField, IndexType indexType, String indexFieldName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) void
create
(Session session, Collection<IndexFieldDetailValue> _values) void
create
(Collection<IndexFieldDetailValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<IndexFieldDetailPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<IndexFieldDetailPK> 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, IndexFieldDetailPK pk) getEntityFromPK
(EntityPermission entityPermission, IndexFieldDetailPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, IndexFieldDetailPK 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, IndexFieldDetailValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, IndexFieldDetailValue value) static IndexFieldDetailFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, IndexFieldDetailPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<IndexFieldDetailPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, IndexFieldDetailPK pk) void
remove
(Session session, IndexFieldDetail entity) void
remove
(Session session, Collection<IndexFieldDetailPK> pks) void
void
store
(Session session, IndexFieldDetail entity) void
store
(Session session, Collection<IndexFieldDetail> entities) void
store
(Collection<IndexFieldDetail> entities) boolean
validPK
(Session session, IndexFieldDetailPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
IDXFLDDT_INDEXFIELDDETAILID
- See Also:
-
IDXFLDDT_IDXFLD_INDEXFIELDID
- See Also:
-
IDXFLDDT_IDXT_INDEXTYPEID
- See Also:
-
IDXFLDDT_INDEXFIELDNAME
- See Also:
-
IDXFLDDT_ISDEFAULT
- See Also:
-
IDXFLDDT_SORTORDER
- See Also:
-
IDXFLDDT_FROMTIME
- See Also:
-
IDXFLDDT_THRUTIME
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<IndexFieldDetailPK,
IndexFieldDetail>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<IndexFieldDetailPK,
IndexFieldDetail>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<IndexFieldDetailPK,
IndexFieldDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<IndexFieldDetailPK,
IndexFieldDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<IndexFieldDetailPK,
IndexFieldDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<IndexFieldDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<IndexFieldDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<IndexFieldDetailValue> getValuesFromPKs(Session session, Collection<IndexFieldDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public IndexFieldDetailValue getValueFromPK(Session session, IndexFieldDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<IndexFieldDetailValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public IndexFieldDetailValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<IndexFieldDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<IndexFieldDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<IndexFieldDetail> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<IndexFieldDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public IndexFieldDetail getEntityFromValue(EntityPermission entityPermission, IndexFieldDetailValue value) -
getEntityFromValue
public IndexFieldDetail getEntityFromValue(Session session, EntityPermission entityPermission, IndexFieldDetailValue value) -
getEntityFromPK
public IndexFieldDetail getEntityFromPK(EntityPermission entityPermission, IndexFieldDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public IndexFieldDetail getEntityFromPK(Session session, EntityPermission entityPermission, IndexFieldDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<IndexFieldDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<IndexFieldDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public IndexFieldDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<IndexFieldDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<IndexFieldDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<IndexFieldDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<IndexFieldDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<IndexFieldDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<IndexFieldDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<IndexFieldDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public IndexFieldDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public IndexFieldDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public IndexFieldDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public IndexFieldDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public IndexFieldDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public IndexFieldDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public IndexFieldDetail getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<IndexFieldDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<IndexFieldDetail> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public IndexFieldDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public IndexFieldDetail getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public IndexFieldDetail create(Session session, IndexField indexField, IndexType indexType, String indexFieldName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public IndexFieldDetail create(IndexField indexField, IndexType indexType, String indexFieldName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public IndexFieldDetail create(Session session, IndexFieldPK indexFieldPK, IndexTypePK indexTypePK, String indexFieldName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public IndexFieldDetail create(IndexFieldPK indexFieldPK, IndexTypePK indexTypePK, String indexFieldName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<IndexFieldDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<IndexFieldDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<IndexFieldDetailPK,
IndexFieldDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<IndexFieldDetail> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<IndexFieldDetailPK,
IndexFieldDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<IndexFieldDetailPK,
IndexFieldDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<IndexFieldDetailPK,
IndexFieldDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<IndexFieldDetailPK,
IndexFieldDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<IndexFieldDetailPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<IndexFieldDetailPK,
IndexFieldDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<IndexFieldDetailPK,
IndexFieldDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<IndexFieldDetailPK,
IndexFieldDetail> - Throws:
PersistenceDatabaseException
-