Class ProfileFactory
java.lang.Object
com.echothree.model.data.party.server.factory.ProfileFactory
- All Implemented Interfaces:
BaseFactory<ProfilePK,
Profile>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(PartyPK partyPK, String nickname, IconPK iconPK, String pronunciation, GenderPK genderPK, String pronouns, Integer birthday, BirthdayFormatPK birthdayFormatPK, String occupation, String hobbies, String location, MimeTypePK bioMimeTypePK, String bio, MimeTypePK signatureMimeTypePK, String signature, Long fromTime, Long thruTime) create
(Party party, String nickname, Icon icon, String pronunciation, Gender gender, String pronouns, Integer birthday, BirthdayFormat birthdayFormat, String occupation, String hobbies, String location, MimeType bioMimeType, String bio, MimeType signatureMimeType, String signature, Long fromTime, Long thruTime) create
(Session session, PartyPK partyPK, String nickname, IconPK iconPK, String pronunciation, GenderPK genderPK, String pronouns, Integer birthday, BirthdayFormatPK birthdayFormatPK, String occupation, String hobbies, String location, MimeTypePK bioMimeTypePK, String bio, MimeTypePK signatureMimeTypePK, String signature, Long fromTime, Long thruTime) create
(Session session, Party party, String nickname, Icon icon, String pronunciation, Gender gender, String pronouns, Integer birthday, BirthdayFormat birthdayFormat, String occupation, String hobbies, String location, MimeType bioMimeType, String bio, MimeType signatureMimeType, String signature, Long fromTime, Long thruTime) void
create
(Session session, Collection<ProfileValue> _values) void
create
(Collection<ProfileValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<ProfilePK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<ProfilePK> 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, ProfilePK pk) getEntityFromPK
(EntityPermission entityPermission, ProfilePK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, ProfilePK 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, ProfileValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, ProfileValue value) static ProfileFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, ProfilePK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<ProfilePK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
void
void
remove
(Session session, Collection<ProfilePK> pks) void
remove
(Collection<ProfilePK> pks) void
void
store
(Session session, Collection<Profile> entities) void
store
(Collection<Profile> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
PRFL_PROFILEID
- See Also:
-
PRFL_PAR_PARTYID
- See Also:
-
PRFL_NICKNAME
- See Also:
-
PRFL_ICN_ICONID
- See Also:
-
PRFL_PRONUNCIATION
- See Also:
-
PRFL_GNDR_GENDERID
- See Also:
-
PRFL_PRONOUNS
- See Also:
-
PRFL_BIRTHDAY
- See Also:
-
PRFL_BDYF_BIRTHDAYFORMATID
- See Also:
-
PRFL_OCCUPATION
- See Also:
-
PRFL_HOBBIES
- See Also:
-
PRFL_LOCATION
- See Also:
-
PRFL_BIOMIMETYPEID
- See Also:
-
PRFL_BIO
- See Also:
-
PRFL_SIGNATUREMIMETYPEID
- See Also:
-
PRFL_SIGNATURE
- See Also:
-
PRFL_FROMTIME
- See Also:
-
PRFL_THRUTIME
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<ProfilePK,
Profile>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<ProfilePK,
Profile>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<ProfilePK,
Profile>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<ProfilePK,
Profile>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<ProfilePK,
Profile>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
- Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
- Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ProfileValue> getValuesFromPKs(Session session, Collection<ProfilePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ProfileValue getValueFromPK(Session session, ProfilePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ProfileValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ProfileValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<Profile> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ProfilePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<Profile> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<ProfilePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
-
getEntityFromValue
public Profile getEntityFromValue(Session session, EntityPermission entityPermission, ProfileValue value) -
getEntityFromPK
public Profile getEntityFromPK(EntityPermission entityPermission, ProfilePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public Profile getEntityFromPK(Session session, EntityPermission entityPermission, ProfilePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ProfilePK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ProfilePK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ProfilePK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Profile> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Profile> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Profile> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Profile> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Profile> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Profile> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Profile> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Profile getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Profile getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Profile getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Profile getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Profile getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Profile getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Profile getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<Profile> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<Profile> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public Profile getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public Profile getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public Profile create(Session session, Party party, String nickname, Icon icon, String pronunciation, Gender gender, String pronouns, Integer birthday, BirthdayFormat birthdayFormat, String occupation, String hobbies, String location, MimeType bioMimeType, String bio, MimeType signatureMimeType, String signature, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public Profile create(Party party, String nickname, Icon icon, String pronunciation, Gender gender, String pronouns, Integer birthday, BirthdayFormat birthdayFormat, String occupation, String hobbies, String location, MimeType bioMimeType, String bio, MimeType signatureMimeType, String signature, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public Profile create(Session session, PartyPK partyPK, String nickname, IconPK iconPK, String pronunciation, GenderPK genderPK, String pronouns, Integer birthday, BirthdayFormatPK birthdayFormatPK, String occupation, String hobbies, String location, MimeTypePK bioMimeTypePK, String bio, MimeTypePK signatureMimeTypePK, String signature, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public Profile create(PartyPK partyPK, String nickname, IconPK iconPK, String pronunciation, GenderPK genderPK, String pronouns, Integer birthday, BirthdayFormatPK birthdayFormatPK, String occupation, String hobbies, String location, MimeTypePK bioMimeTypePK, String bio, MimeTypePK signatureMimeTypePK, String signature, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<ProfileValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ProfileValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<ProfilePK,
Profile> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<Profile> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<ProfilePK,
Profile> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<ProfilePK,
Profile> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<ProfilePK,
Profile> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<ProfilePK,
Profile> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<ProfilePK,
Profile> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<ProfilePK,
Profile> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<ProfilePK,
Profile> - Throws:
PersistenceDatabaseException
-