Class DocumentDetailFactory
java.lang.Object
com.echothree.model.data.document.server.factory.DocumentDetailFactory
- All Implemented Interfaces:
BaseFactory<DocumentDetailPK,
DocumentDetail>
public class DocumentDetailFactory
extends Object
implements BaseFactory<DocumentDetailPK,DocumentDetail>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate
(DocumentPK documentPK, String documentName, DocumentTypePK documentTypePK, MimeTypePK mimeTypePK, Integer pages, Long fromTime, Long thruTime) create
(Document document, String documentName, DocumentType documentType, MimeType mimeType, Integer pages, Long fromTime, Long thruTime) create
(Session session, DocumentPK documentPK, String documentName, DocumentTypePK documentTypePK, MimeTypePK mimeTypePK, Integer pages, Long fromTime, Long thruTime) create
(Session session, Document document, String documentName, DocumentType documentType, MimeType mimeType, Integer pages, Long fromTime, Long thruTime) void
create
(Session session, Collection<DocumentDetailValue> _values) void
create
(Collection<DocumentDetailValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<DocumentDetailPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<DocumentDetailPK> 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, DocumentDetailPK pk) getEntityFromPK
(EntityPermission entityPermission, DocumentDetailPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, DocumentDetailPK 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, DocumentDetailValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, DocumentDetailValue value) static DocumentDetailFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, DocumentDetailPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<DocumentDetailPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, DocumentDetailPK pk) void
remove
(Session session, DocumentDetail entity) void
remove
(Session session, Collection<DocumentDetailPK> pks) void
remove
(Collection<DocumentDetailPK> pks) void
store
(Session session, DocumentDetail entity) void
store
(Session session, Collection<DocumentDetail> entities) void
store
(Collection<DocumentDetail> entities) boolean
validPK
(Session session, DocumentDetailPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
DCMNTDT_DOCUMENTDETAILID
- See Also:
-
DCMNTDT_DCMNT_DOCUMENTID
- See Also:
-
DCMNTDT_DOCUMENTNAME
- See Also:
-
DCMNTDT_DCMNTTYP_DOCUMENTTYPEID
- See Also:
-
DCMNTDT_MTYP_MIMETYPEID
- See Also:
-
DCMNTDT_PAGES
- See Also:
-
DCMNTDT_FROMTIME
- See Also:
-
DCMNTDT_THRUTIME
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<DocumentDetailPK,
DocumentDetail>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<DocumentDetailPK,
DocumentDetail>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<DocumentDetailPK,
DocumentDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<DocumentDetailPK,
DocumentDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<DocumentDetailPK,
DocumentDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<DocumentDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<DocumentDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<DocumentDetailValue> getValuesFromPKs(Session session, Collection<DocumentDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public DocumentDetailValue getValueFromPK(Session session, DocumentDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<DocumentDetailValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public DocumentDetailValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<DocumentDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<DocumentDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<DocumentDetail> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<DocumentDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public DocumentDetail getEntityFromValue(EntityPermission entityPermission, DocumentDetailValue value) -
getEntityFromValue
public DocumentDetail getEntityFromValue(Session session, EntityPermission entityPermission, DocumentDetailValue value) -
getEntityFromPK
public DocumentDetail getEntityFromPK(EntityPermission entityPermission, DocumentDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public DocumentDetail getEntityFromPK(Session session, EntityPermission entityPermission, DocumentDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<DocumentDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<DocumentDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public DocumentDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<DocumentDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<DocumentDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<DocumentDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<DocumentDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<DocumentDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<DocumentDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<DocumentDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DocumentDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DocumentDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DocumentDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DocumentDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DocumentDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DocumentDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DocumentDetail getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<DocumentDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<DocumentDetail> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public DocumentDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public DocumentDetail getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public DocumentDetail create(Session session, Document document, String documentName, DocumentType documentType, MimeType mimeType, Integer pages, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public DocumentDetail create(Document document, String documentName, DocumentType documentType, MimeType mimeType, Integer pages, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public DocumentDetail create(Session session, DocumentPK documentPK, String documentName, DocumentTypePK documentTypePK, MimeTypePK mimeTypePK, Integer pages, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public DocumentDetail create(DocumentPK documentPK, String documentName, DocumentTypePK documentTypePK, MimeTypePK mimeTypePK, Integer pages, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<DocumentDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<DocumentDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<DocumentDetailPK,
DocumentDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<DocumentDetail> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<DocumentDetailPK,
DocumentDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<DocumentDetailPK,
DocumentDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<DocumentDetailPK,
DocumentDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<DocumentDetailPK,
DocumentDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<DocumentDetailPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<DocumentDetailPK,
DocumentDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<DocumentDetailPK,
DocumentDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<DocumentDetailPK,
DocumentDetail> - Throws:
PersistenceDatabaseException
-