Class ContentForumDetailFactory
java.lang.Object
com.echothree.model.data.content.server.factory.ContentForumDetailFactory
- All Implemented Interfaces:
BaseFactory<ContentForumDetailPK,ContentForumDetail>
@ApplicationScoped
public class ContentForumDetailFactory
extends Object
implements BaseFactory<ContentForumDetailPK,ContentForumDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of ContentForumDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(ContentForumPK contentForumPK, ContentCollectionPK contentCollectionPK, ForumPK forumPK, Boolean isDefault, Long fromTime, Long thruTime) create(ContentForum contentForum, ContentCollection contentCollection, Forum forum, Boolean isDefault, Long fromTime, Long thruTime) voidcreate(Collection<ContentForumDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentForumDetailPK> 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, ContentForumDetailPK 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, ContentForumDetailValue value) static ContentForumDetailFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(ContentForumDetail entity) voidvoidstore(ContentForumDetail entity) voidstore(Collection<ContentForumDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
CNTFRMDT_CONTENTFORUMDETAILID
- See Also:
-
CNTFRMDT_CNTFRM_CONTENTFORUMID
- See Also:
-
CNTFRMDT_CNTC_CONTENTCOLLECTIONID
- See Also:
-
CNTFRMDT_FRM_FORUMID
- See Also:
-
CNTFRMDT_ISDEFAULT
- See Also:
-
CNTFRMDT_FROMTIME
- See Also:
-
CNTFRMDT_THRUTIME
- See Also:
-
-
Constructor Details
-
ContentForumDetailFactory
protected ContentForumDetailFactory()Creates a new instance of ContentForumDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<ContentForumDetailPK,ContentForumDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<ContentForumDetailPK,ContentForumDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<ContentForumDetailPK,ContentForumDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<ContentForumDetailPK,ContentForumDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<ContentForumDetailPK,ContentForumDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<ContentForumDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<ContentForumDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ContentForumDetailValue> getValuesFromPKs(Collection<ContentForumDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ContentForumDetailValue getValueFromPK(ContentForumDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ContentForumDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ContentForumDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContentForumDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentForumDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ContentForumDetail getEntityFromValue(EntityPermission entityPermission, ContentForumDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public ContentForumDetail getEntityFromPK(EntityPermission entityPermission, ContentForumDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ContentForumDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ContentForumDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ContentForumDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentForumDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentForumDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentForumDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentForumDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentForumDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentForumDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContentForumDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContentForumDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ContentForumDetail create(ContentForum contentForum, ContentCollection contentCollection, Forum forum, Boolean isDefault, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentForumDetail create(ContentForumPK contentForumPK, ContentCollectionPK contentCollectionPK, ForumPK forumPK, Boolean isDefault, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ContentForumDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<ContentForumDetailPK,ContentForumDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<ContentForumDetailPK,ContentForumDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentForumDetailPK,ContentForumDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentForumDetailPK,ContentForumDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentForumDetailPK,ContentForumDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<ContentForumDetailPK,ContentForumDetail> - Throws:
PersistenceDatabaseException
-