Class PartyGlAccountFactory
java.lang.Object
com.echothree.model.data.accounting.server.factory.PartyGlAccountFactory
- All Implemented Interfaces:
BaseFactory<PartyGlAccountPK,PartyGlAccount>
@ApplicationScoped
public class PartyGlAccountFactory
extends Object
implements BaseFactory<PartyGlAccountPK,PartyGlAccount>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of PartyGlAccountFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(PartyPK partyPK, GlAccountPK glAccountPK, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create(Party party, GlAccount glAccount, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) voidcreate(Collection<PartyGlAccountValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyGlAccountPK> 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, PartyGlAccountPK 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, PartyGlAccountValue value) static PartyGlAccountFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(PartyGlAccount entity) voidremove(Collection<PartyGlAccountPK> pks) voidstore(PartyGlAccount entity) voidstore(Collection<PartyGlAccount> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
PGLA_PARTYGLACCOUNTID
- See Also:
-
PGLA_PAR_PARTYID
- See Also:
-
PGLA_GLA_GLACCOUNTID
- See Also:
-
PGLA_ISDEFAULT
- See Also:
-
PGLA_SORTORDER
- See Also:
-
PGLA_FROMTIME
- See Also:
-
PGLA_THRUTIME
- See Also:
-
-
Constructor Details
-
PartyGlAccountFactory
protected PartyGlAccountFactory()Creates a new instance of PartyGlAccountFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<PartyGlAccountPK,PartyGlAccount>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<PartyGlAccountPK,PartyGlAccount>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<PartyGlAccountPK,PartyGlAccount>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<PartyGlAccountPK,PartyGlAccount>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<PartyGlAccountPK,PartyGlAccount>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PartyGlAccountPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PartyGlAccountPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PartyGlAccountValue> getValuesFromPKs(Collection<PartyGlAccountPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
- Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PartyGlAccountValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
- Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PartyGlAccount> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyGlAccountPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PartyGlAccount getEntityFromValue(EntityPermission entityPermission, PartyGlAccountValue value) -
getEntityFromCache
-
getEntityFromPK
public PartyGlAccount getEntityFromPK(EntityPermission entityPermission, PartyGlAccountPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PartyGlAccountPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PartyGlAccountPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PartyGlAccountPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyGlAccount> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyGlAccount> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyGlAccount> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyGlAccount getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyGlAccount getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyGlAccount getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PartyGlAccount> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PartyGlAccount getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PartyGlAccount create(Party party, GlAccount glAccount, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyGlAccount create(PartyPK partyPK, GlAccountPK glAccountPK, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PartyGlAccountValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PartyGlAccountPK,PartyGlAccount> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<PartyGlAccountPK,PartyGlAccount> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyGlAccountPK,PartyGlAccount> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyGlAccountPK,PartyGlAccount> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyGlAccountPK,PartyGlAccount> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<PartyGlAccountPK,PartyGlAccount> - Throws:
PersistenceDatabaseException
-