@PersistentObjectService(value=StoredBundleKey.class) public class StoredBundleKeyPersistenceImpl extends AbstractPersistentObject<StoredBundleKey,StoredBundleKeyPersistenceImpl> implements StoredBundleKeyPersistence
| Modifier and Type | Field and Description |
|---|---|
static PersistentObjectClassVariables<StoredBundleKey,StoredBundleKeyPersistenceImpl> |
CLASSVARIABLES
Variables common to all instances of StoredBundleKeyPersistenceImpl.
|
static String |
CN_BUNDLEID
database column name for 'bundleId'.
|
static String |
CN_KEY
database column name for 'key'.
|
static String |
CN_VALUE
database column name for 'value'.
|
AN_EDITEDBY, AN_EDITEDEXPIRY, AN_EDITEDSINCE, AN_NORMTEXT, AN_ROOTCLASSID, AN_ROOTID, CN_EDITEDBY, CN_EDITEDEXPIRY, CN_EDITEDSINCE, CN_NORMTEXT, CN_ROOTCLASSID, CN_ROOTID, objectIsSnapshot, TX_DELETE_ALL_IN_CONTEXT, TX_SAVE_COPY_IN_CONTEXT, TX_TRANSFER_TOKENLOCKAN_CLASSID, AN_ID, AN_SERIAL, AN_TABLESERIAL, CN_CLASSID, CN_ID, CN_SERIAL, CN_TABLESERIAL, idComparator, nameComparator, nameIdComparator, TX_DELETE_LIST, TX_DELETE_MISSING_IN_LIST, TX_DELETE_OBJECT, TX_DUMMY_UPDATE, TX_INSERT_OBJECT, TX_INSERT_PLAIN, TX_SAVE, TX_SAVE_LIST, TX_SYNC, TX_UPDATE_OBJECT, TX_UPDATE_PLAIN, TX_UPDATE_SERIAL, TX_UPDATE_SERIAL_AND_TABLESERIAL, TX_UPDATE_TABLESERIALAN_BUNDLEID, AN_KEY, AN_VALUE, RN_BUNDLE| Constructor and Description |
|---|
StoredBundleKeyPersistenceImpl()
Creates a number space without domain context or session.
|
StoredBundleKeyPersistenceImpl(StoredBundleKey pdo)
Creates a number space without domain context or session.
|
StoredBundleKeyPersistenceImpl(StoredBundleKey pdo,
org.tentackle.pdo.DomainContext context)
Creates a number space.
|
StoredBundleKeyPersistenceImpl(StoredBundleKey pdo,
org.tentackle.session.Session session)
Creates a number space with a session only.
|
| Modifier and Type | Method and Description |
|---|---|
String |
createInsertSql() |
String |
createUpdateSql() |
StoredBundle |
getBundle()
Gets StoredBundle bundle via bundleId (Bundle).
|
StoredBundle |
getBundleBlunt()
Gets bundle without performing a select if not loaded.
|
long |
getBundleId()
Gets the attribute bundleId.
|
PersistentObjectClassVariables<StoredBundleKey,StoredBundleKeyPersistenceImpl> |
getClassVariables() |
void |
getFields(org.tentackle.dbms.ResultSetWrapper rs) |
String |
getKey()
Gets the attribute key.
|
org.tentackle.i18n.pdo.rmi.StoredBundleKeyRemoteDelegate |
getRemoteDelegate() |
int |
getRootClassId() |
long |
getRootId() |
String |
getValue()
Gets the attribute value.
|
boolean |
isTracked() |
protected void |
revertAttributesToSnapshot(StoredBundleKeyPersistenceImpl snapshot)
Copies all attributes from a snapshot back to this object.
|
org.tentackle.misc.TrackedList<StoredBundleKey> |
selectByBundleId(long bundleId)
Selects composite list of StoredBundleKey keys via StoredBundleKey#bundleId (Keys).
|
void |
setBundle(StoredBundle bundle)
Sets StoredBundle bundle via bundleId (Bundle).
|
void |
setBundleBlunt(StoredBundle bundle)
Sets bundle without setting any attributes.
|
void |
setDomainContext(org.tentackle.pdo.DomainContext context) |
int |
setFields(org.tentackle.dbms.PreparedStatementWrapper st) |
void |
setKey(String key)
Sets the attribute key.
|
void |
setSession(org.tentackle.session.Session session) |
void |
setValue(String value)
Sets the attribute value.
|
addComponents, addComponents, addReferencingClass, addSnapshot, assertDomainContextMutable, assertMutable, assertNormTextProvided, assertNotAbstract, assertNotCached, assertPersistable, assertReadPermission, assertRootContext, assertRootContextIsAccepted, assertRootEntity, assertTokenLockProvided, assertValidSnapshot, assertWritePermission, clearTokenLock, clone, clonePersistentObject, configureRemoteObject, configureRemoteObjects, containsPattern, copy, countModification, createAttributesInSnapshot, createComponentsInSnapshot, createCopyInContext, createDummyUpdateSql, createPropertySupport, createSelectAllByIdInnerSql, createSelectAllIdSerialInnerSql, createSelectAllInnerSql, createSelectAllSql, createSelectAllWithExpiredTableSerialsSql, createSelectByNormTextSql, createSelectExpiredTableSerials1Sql, createSelectExpiredTableSerials2Sql, createSelectIdInnerSql, createSelectIdInnerSql, createSelectIdInnerSql, createSelectMaxIdSql, createSelectMaxTableSerialSql, createSelectSerialSql, createSelectTokenLockSql, createSnapshot, createTransferTokenLockSql, createTransferTokenLockWithTableSerialSql, createUpdateSerialAndTableSerialSql, createUpdateSerialSql, createUpdateTokenLockOnlySql, createUpdateTokenLockSql, createUpdateTokenLockWithCountSql, createValidContext, delete, delete, delete, deleteImpl, deleteMissingInCollection, deletePlainWithComponents, deletePlainWithComponents, derivePdoFromPo, determineContextId, executeFirstPdoQuery, executeFirstPdoQuery, executeListQuery, executeListQuery, executeQueryToList, executeQueryToList, executeTrackedListQuery, executeTrackedListQuery, expireCache, findDuplicate, findSnapshotMethod, finishModification, finishNotUpdated, freeze, getBaseContext, getCache, getCacheAccessCount, getCacheAccessTime, getColumnName, getContextId, getContextUserId, getCopiedObject, getDefaultScopes, getDomainContext, getDomainDelegate, getEagerJoinedSelect, getEagerJoins, getEditedBy, getEditedExpiry, getEditedSince, getEffectiveClass, getEffectiveSuperClasses, getNormText, getPdo, getPdoClass, getPersistenceClass, getSecurityResult, getSnapshots, getSqlClassIdCondition, getSqlContextCondition, getTableAlias, getTableName, getTokenLockObject, getTokenLockTimeout, getTopSuperTableAlias, getTopSuperTableName, getTransientData, getValidClassId, initModification, insertPlainWithComponents, insertPlainWithComponents, isAbstract, isCacheable, isCached, isClassIdRequiredInWhereClause, isComposite, isCountingModificationForTokenLock, isDomainContextImmutable, isEditAllowed, isExpired, isExplicitIdAliasRequiredInJoins, isModified, isNormTextProvided, isPermissionAccepted, isPersistable, isReadAllowed, isReferenced, isRenewTokenLockRequested, isRootClassIdProvided, isRootEntity, isRootEntityOf, isRootIdProvided, isSnapshot, isTokenLockableByMe, isTokenLocked, isTokenLockedBy, isTokenLockedByMe, isTokenLockProvided, isUpdateNecessary, isUpdatingSerialEvenIfNotModified, isValidated, isViewAllowed, isWriteAllowed, loadComponents, markCacheAccess, markDeleted, markDeleted, me, newId, orderBy, pdo, persist, persistImpl, persistTokenLocked, readFromResultSetWrapper, readJoinedRow, releaseTokenLock, reload, reloadForUpdate, reloadLocked, removeReferencingClass, requestTokenLock, resultAll, resultAllCursor, resultAllWithExpiredTableSerials, resultByNormText, resultByNormTextCursor, revertAttributesToSnapshot, revertComponentsToSnapshot, revertToSnapshot, save, save, save, saveCopyInContext, saveImpl, select, select, selectAll, selectAllAsCursor, selectAllCached, selectAllForCache, selectAllWithExpiredTableSerials, selectByNormText, selectByNormTextAsCursor, selectByTemplate, selectCached, selectCachedOnly, selectForCache, selectForUpdate, selectLocked, setClassIdsInStatement, setDomainContextImmutable, setEditedBy, setEditedExpiry, setEditedSince, setExpired, setModified, setNormText, setPdo, setPersistable, setRenewTokenLockRequested, setRootClassId, setRootId, setTokenLockObject, setTransientData, transferTokenLock, updateRootContext, updateTokenLock, updateTokenLock, updateTokenLockOnly, validate, validateacceptPersistenceVisitor, addPropertyChangeListener, addPropertyListener, alignComponents, assertNotNew, assertNotOverloaded, assertNotRemote, assertNumberOfRowsAffected, assertRemote, assertThisRowAffected, attributesModified, beginTx, clearOnRemoteSave, compareTo, copyToDb, createAttributesInSnapshot, createDeleteAllSql, createDeleteSql, createPreparedStatement, createPreparedStatement, createSelectObjectsWithExpiredTableSerialsSql, createSelectSql, createSqlUpdate, createUpdateAndSetSerialSql, deleteImpl, deleteObject, deletePlain, deleteReferencedRelations, deleteReferencingRelations, differsPersisted, dummyUpdate, equals, firePropertyChange, getBackend, getClassBaseName, getClassId, getColumnCount, getExpirationBacklog, getExpiredTableSerials, getId, getIdSource, getImmutableLoggingLevel, getModificationCount, getModificationLog, getPreparedStatement, getPreparedStatement, getSerial, getSession, getSessionHolder, getTableSerial, hashCode, insertImpl, insertObject, insertPlain, isCountingModification, isDeleted, isEntity, isFromThisJVM, isIdValid, isImmutable, isLoggingModification, isModified, isNew, isOverloadable, isRemovable, isSessionImmutable, isStatementAlwaysPrepared, isTableSerialProvided, isVirgin, loadLazyReferences, logModification, markDeleted, newInstance, newInstance, newInstance, persistObject, prepareDelete, prepareSave, prepareSetFields, reloadLockedObject, reloadObject, removeAllPropertyChangeListeners, removePropertyChangeListener, removePropertyListener, reserveId, resultAllIdSerial, resultAllObjects, resultObjectsWithExpiredTableSerials, revertAttributesToSnapshot, saveObject, saveReferencedRelations, saveReferencingRelations, selectAllIdSerial, selectAllObjects, selectExpiredTableSerials, selectExpiredTableSerials, selectMaxId, selectMaxTableSerial, selectNextObject, selectObject, selectObjectForUpdate, selectObjectsWithExpiredTableSerials, selectSerial, setClassId, setId, setImmutable, setImmutableLoggingLevel, setModificationLog, setOverloadable, setSerial, setSessionHolder, setSessionImmutable, setStatementAlwaysPrepared, setTableSerial, toGenericString, toIdString, toString, unmarkDeleted, updateImpl, updateObject, updatePlain, updateSerial, updateSerial, updateSerialAndTableSerialfinalize, getClass, notify, notifyAll, wait, wait, waitattributesModified, clonePersistentObject, containsPattern, createCopyInContext, delete, differsPersisted, findDuplicate, getCache, getCacheAccessCount, getCacheAccessTime, getClassBaseName, getClassId, getCopiedObject, getEditedBy, getEditedExpiry, getEditedSince, getExpiredTableSerials, getId, getModificationCount, getNormText, getSecurityResult, getSerial, getTableName, getTableSerial, getTokenLockObject, getTokenLockTimeout, getTransientData, isAbstract, isCacheable, isCached, isComposite, isDeleted, isEditAllowed, isExpired, isImmutable, isNew, isNormTextProvided, isPermissionAccepted, isPersistable, isReferenced, isRemovable, isRootClassIdProvided, isRootEntity, isRootEntityOf, isRootIdProvided, isTableSerialProvided, isTokenLockableByMe, isTokenLocked, isTokenLockedBy, isTokenLockedByMe, isTokenLockProvided, isValidated, isViewAllowed, isWriteAllowed, markCacheAccess, pdo, persist, persistTokenLocked, prepareDelete, releaseTokenLock, reload, reloadForUpdate, reloadLocked, requestTokenLock, reserveId, save, select, selectAll, selectAllAsCursor, selectAllCached, selectAllForCache, selectAllIdSerial, selectAllWithExpiredTableSerials, selectByNormText, selectByNormTextAsCursor, selectCached, selectCachedOnly, selectExpiredTableSerials, selectExpiredTableSerials, selectForCache, selectForUpdate, selectLocked, selectMaxId, selectMaxTableSerial, selectSerial, setEditedBy, setEditedExpiry, setEditedSince, setExpired, setId, setImmutable, setModified, setNormText, setRootClassId, setRootId, setSerial, setTableSerial, setTokenLockObject, setTransientData, toIdString, transferTokenLock, validatecreateSnapshot, getSnapshots, isSnapshot, revertToSnapshotcreateValidContext, determineContextId, getBaseContext, getContextId, isDomainContextImmutable, setDomainContextImmutablepublic static final PersistentObjectClassVariables<StoredBundleKey,StoredBundleKeyPersistenceImpl> CLASSVARIABLES
public static final String CN_BUNDLEID
public static final String CN_KEY
public static final String CN_VALUE
public StoredBundleKeyPersistenceImpl(StoredBundleKey pdo, org.tentackle.pdo.DomainContext context)
pdo - the number space PDOcontext - the domain contextpublic StoredBundleKeyPersistenceImpl(StoredBundleKey pdo, org.tentackle.session.Session session)
pdo - the number space PDOsession - the sessionpublic StoredBundleKeyPersistenceImpl(StoredBundleKey pdo)
pdo - the number space PDOpublic StoredBundleKeyPersistenceImpl()
public PersistentObjectClassVariables<StoredBundleKey,StoredBundleKeyPersistenceImpl> getClassVariables()
getClassVariables in class AbstractPersistentObject<StoredBundleKey,StoredBundleKeyPersistenceImpl>public org.tentackle.i18n.pdo.rmi.StoredBundleKeyRemoteDelegate getRemoteDelegate()
getRemoteDelegate in class AbstractPersistentObject<StoredBundleKey,StoredBundleKeyPersistenceImpl>public long getRootId()
getRootId in interface org.tentackle.pdo.PersistentObject<StoredBundleKey>getRootId in class AbstractPersistentObject<StoredBundleKey,StoredBundleKeyPersistenceImpl>public int getRootClassId()
getRootClassId in interface org.tentackle.pdo.PersistentObject<StoredBundleKey>getRootClassId in class AbstractPersistentObject<StoredBundleKey,StoredBundleKeyPersistenceImpl>public boolean isTracked()
isTracked in interface org.tentackle.pdo.PersistentObject<StoredBundleKey>isTracked in class org.tentackle.dbms.AbstractDbObject<StoredBundleKeyPersistenceImpl>public void getFields(org.tentackle.dbms.ResultSetWrapper rs)
getFields in class org.tentackle.dbms.AbstractDbObject<StoredBundleKeyPersistenceImpl>public int setFields(org.tentackle.dbms.PreparedStatementWrapper st)
setFields in class org.tentackle.dbms.AbstractDbObject<StoredBundleKeyPersistenceImpl>public String createInsertSql()
createInsertSql in class org.tentackle.dbms.AbstractDbObject<StoredBundleKeyPersistenceImpl>public String createUpdateSql()
createUpdateSql in class org.tentackle.dbms.AbstractDbObject<StoredBundleKeyPersistenceImpl>public long getBundleId()
StoredBundleKeyPersistencegetBundleId in interface StoredBundleKeyPersistencepublic String getKey()
StoredBundleKeyPersistencegetKey in interface StoredBundleKeyPersistencepublic void setKey(String key)
StoredBundleKeyPersistencesetKey in interface StoredBundleKeyPersistencekey - the resource bundle keypublic String getValue()
StoredBundleKeyPersistencegetValue in interface StoredBundleKeyPersistencepublic void setValue(String value)
StoredBundleKeyPersistencesetValue in interface StoredBundleKeyPersistencevalue - the localized stringprotected void revertAttributesToSnapshot(StoredBundleKeyPersistenceImpl snapshot)
snapshot - the snapshot objectpublic StoredBundle getBundle()
StoredBundleKeyPersistencegetBundle in interface StoredBundleKeyPersistencepublic StoredBundle getBundleBlunt()
public void setBundle(StoredBundle bundle)
StoredBundleKeyPersistencesetBundle in interface StoredBundleKeyPersistencebundle - Bundlepublic void setBundleBlunt(StoredBundle bundle)
bundle - Bundlepublic void setSession(org.tentackle.session.Session session)
setSession in interface org.tentackle.session.SessionDependablesetSession in class org.tentackle.dbms.AbstractDbObject<StoredBundleKeyPersistenceImpl>public void setDomainContext(org.tentackle.pdo.DomainContext context)
setDomainContext in interface org.tentackle.pdo.DomainContextDependablesetDomainContext in class AbstractPersistentObject<StoredBundleKey,StoredBundleKeyPersistenceImpl>public org.tentackle.misc.TrackedList<StoredBundleKey> selectByBundleId(long bundleId)
StoredBundleKeyPersistenceselectByBundleId in interface StoredBundleKeyPersistencebundleId - the bundle idTentackle - distributed, domain- and model-driven