Class SelectorDetailFactory
java.lang.Object
com.echothree.model.data.selector.server.factory.SelectorDetailFactory
- All Implemented Interfaces:
BaseFactory<SelectorDetailPK,
SelectorDetail>
public class SelectorDetailFactory
extends Object
implements BaseFactory<SelectorDetailPK,SelectorDetail>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate
(SelectorPK selectorPK, SelectorTypePK selectorTypePK, String selectorName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create
(Selector selector, SelectorType selectorType, String selectorName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create
(Session session, SelectorPK selectorPK, SelectorTypePK selectorTypePK, String selectorName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create
(Session session, Selector selector, SelectorType selectorType, String selectorName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) void
create
(Session session, Collection<SelectorDetailValue> _values) void
create
(Collection<SelectorDetailValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<SelectorDetailPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<SelectorDetailPK> 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, SelectorDetailPK pk) getEntityFromPK
(EntityPermission entityPermission, SelectorDetailPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, SelectorDetailPK 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, SelectorDetailValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, SelectorDetailValue value) static SelectorDetailFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, SelectorDetailPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<SelectorDetailPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, SelectorDetailPK pk) void
remove
(Session session, SelectorDetail entity) void
remove
(Session session, Collection<SelectorDetailPK> pks) void
remove
(Collection<SelectorDetailPK> pks) void
store
(Session session, SelectorDetail entity) void
store
(Session session, Collection<SelectorDetail> entities) void
store
(Collection<SelectorDetail> entities) boolean
validPK
(Session session, SelectorDetailPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
SLDT_SELECTORDETAILID
- See Also:
-
SLDT_SL_SELECTORID
- See Also:
-
SLDT_SLT_SELECTORTYPEID
- See Also:
-
SLDT_SELECTORNAME
- See Also:
-
SLDT_ISDEFAULT
- See Also:
-
SLDT_SORTORDER
- See Also:
-
SLDT_FROMTIME
- See Also:
-
SLDT_THRUTIME
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<SelectorDetailPK,
SelectorDetail>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<SelectorDetailPK,
SelectorDetail>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<SelectorDetailPK,
SelectorDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<SelectorDetailPK,
SelectorDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<SelectorDetailPK,
SelectorDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<SelectorDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<SelectorDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<SelectorDetailValue> getValuesFromPKs(Session session, Collection<SelectorDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public SelectorDetailValue getValueFromPK(Session session, SelectorDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<SelectorDetailValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public SelectorDetailValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<SelectorDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<SelectorDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<SelectorDetail> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<SelectorDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public SelectorDetail getEntityFromValue(EntityPermission entityPermission, SelectorDetailValue value) -
getEntityFromValue
public SelectorDetail getEntityFromValue(Session session, EntityPermission entityPermission, SelectorDetailValue value) -
getEntityFromPK
public SelectorDetail getEntityFromPK(EntityPermission entityPermission, SelectorDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public SelectorDetail getEntityFromPK(Session session, EntityPermission entityPermission, SelectorDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<SelectorDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<SelectorDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public SelectorDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SelectorDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SelectorDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SelectorDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SelectorDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SelectorDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SelectorDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SelectorDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SelectorDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SelectorDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SelectorDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SelectorDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SelectorDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SelectorDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SelectorDetail getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<SelectorDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<SelectorDetail> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public SelectorDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public SelectorDetail getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public SelectorDetail create(Session session, Selector selector, SelectorType selectorType, String selectorName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public SelectorDetail create(Selector selector, SelectorType selectorType, String selectorName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public SelectorDetail create(Session session, SelectorPK selectorPK, SelectorTypePK selectorTypePK, String selectorName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public SelectorDetail create(SelectorPK selectorPK, SelectorTypePK selectorTypePK, String selectorName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<SelectorDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<SelectorDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<SelectorDetailPK,
SelectorDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<SelectorDetail> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<SelectorDetailPK,
SelectorDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<SelectorDetailPK,
SelectorDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<SelectorDetailPK,
SelectorDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<SelectorDetailPK,
SelectorDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<SelectorDetailPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<SelectorDetailPK,
SelectorDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<SelectorDetailPK,
SelectorDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<SelectorDetailPK,
SelectorDetail> - Throws:
PersistenceDatabaseException
-