Class StoredBundleKeyPersistenceImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.tentackle.persist.PersistentObjectClassVariables<StoredBundleKey,​StoredBundleKeyPersistenceImpl> CLASSVARIABLES
      Variables common to all instances of StoredBundleKeyPersistenceImpl.
      static java.lang.String CN_BUNDLEID
      database column name for 'bundleId'.
      static java.lang.String CN_KEY
      database column name for 'key'.
      static java.lang.String CN_VALUE
      database column name for 'value'.
      • Fields inherited from class org.tentackle.persist.AbstractPersistentObject

        AN_EDITEDBY, AN_EDITEDEXPIRY, AN_EDITEDSINCE, AN_NORMTEXT, AN_ROOTCLASSID, AN_ROOTID, CN_EDITEDBY, CN_EDITEDEXPIRY, CN_EDITEDSINCE, CN_NORMTEXT, CN_ROOTCLASSID, CN_ROOTID, TX_DELETE_ALL_IN_CONTEXT, TX_SAVE_COPY_IN_CONTEXT, TX_TRANSFER_TOKENLOCK, TX_UPDATE_TOKENLOCK, TX_UPDATE_TOKENLOCK_ONLY
      • Fields inherited from class org.tentackle.dbms.AbstractDbObject

        AN_CLASSID, AN_ID, AN_SERIAL, AN_TABLESERIAL, CN_CLASSID, CN_ID, CN_SERIAL, CN_TABLESERIAL, 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_TABLESERIAL
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String createInsertSql()  
      java.lang.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.
      org.tentackle.persist.PersistentObjectClassVariables<StoredBundleKey,​StoredBundleKeyPersistenceImpl> getClassVariables()  
      void getFields​(org.tentackle.dbms.ResultSetWrapper rs)  
      java.lang.String getKey()
      Gets the attribute key.
      org.tentackle.i18n.pdo.rmi.StoredBundleKeyRemoteDelegate getRemoteDelegate()  
      int getRootClassId()  
      long getRootId()  
      java.lang.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​(java.lang.String key)
      Sets the attribute key.
      void setSession​(org.tentackle.session.Session session)  
      void setValue​(java.lang.String value)
      Sets the attribute value.
      • Methods inherited from class org.tentackle.persist.AbstractPersistentObject

        addComponents, addComponents, addReferencingClass, addSnapshot, applyTokenLockInfo, assertDomainContextMutable, assertMutable, assertNormTextProvided, assertNotAbstract, assertNotCached, assertPersistable, assertReadPermission, assertRootContext, assertRootContextIsAccepted, assertRootEntity, assertTokenLockProvided, assertValidSnapshot, assertWritePermission, clearTokenLock, clone, configureRemoteObject, configureRemoteObjects, containsPattern, copy, countModification, createAttributesInSnapshot, createAttributesNormText, createComponentsInSnapshot, createDummyUpdateSql, createPropertySupport, createRelationsNormText, 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, deleteObject, deletePlainWithComponents, deletePlainWithComponents, derivePdoFromPo, determineContextId, discardSnapshot, discardSnapshots, executeFirstPdoQuery, executeFirstPdoQuery, executeListQuery, executeListQuery, executeQueryToList, executeQueryToList, executeTrackedListQuery, executeTrackedListQuery, expireCache, findDuplicate, finishModification, finishNotUpdated, getBaseContext, getCache, getCacheAccessCount, getCacheAccessTime, getColumnName, getContextId, getContextUserId, getDefaultScopes, getDomainContext, getDomainDelegate, getEagerJoinedSelect, getEagerJoins, getEditedBy, getEditedExpiry, getEditedSince, getEffectiveClass, getEffectiveSuperClasses, getNormText, getPdo, getPdoClass, getPdoMethodCache, getPersistenceClass, getSecurityResult, getSnapshots, getSqlClassIdCondition, getSqlContextCondition, getTableAlias, getTableName, getTokenLockObject, getTokenLockTimeout, getTopSuperTableAlias, getTopSuperTableName, getTransientData, getValidClassId, initModification, insertObject, insertPlainWithComponents, insertPlainWithComponents, isAbstract, isCacheable, isCached, isClassIdRequiredInWhereClause, isComposite, isCopy, 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, persist, persistImpl, persistTokenLocked, readFromResultSetWrapper, readJoinedRow, releaseTokenLock, reload, reloadForUpdate, removeReferencingClass, requestTokenLock, resultAll, resultAllCursor, resultAllWithExpiredTableSerials, resultByNormText, resultByNormTextCursor, revertAttributesToSnapshot, revertComponentsToSnapshot, revertToSnapshot, save, save, save, saveImpl, select, select, selectAll, selectAllAsCursor, selectAllCached, selectAllForCache, selectAllWithExpiredTableSerials, selectByNormText, selectByNormTextAsCursor, selectByTemplate, selectCached, selectCachedOnly, selectForCache, selectForUpdate, setClassIdsInStatement, setCopy, setDomainContextImmutable, setEditedBy, setEditedExpiry, setEditedSince, setExpired, setModified, setNormText, setPdo, setPersistable, setRenewTokenLockRequested, setRootClassId, setRootId, setTokenLockObject, setTransientData, transferTokenLock, updateNormText, updateObject, updateRootContext, updateTokenLock, updateTokenLock, updateTokenLockOnly, validate, validate
      • Methods inherited from class org.tentackle.dbms.AbstractDbObject

        acceptPersistenceVisitor, addPropertyListener, addPropertyListener, alignComponents, assertNew, assertNotNew, assertNotOverloaded, assertNotRemote, assertNumberOfRowsAffected, assertRemote, assertThisRowAffected, attributesModified, clearOnRemoteSave, compareTo, createAttributesInSnapshot, createDeleteAllSql, createDeleteSql, createPreparedStatement, createPreparedStatement, createSelectObjectsWithExpiredTableSerialsSql, createSelectSql, createSqlUpdate, createUpdateAndSetSerialSql, deleteImpl, deletePlain, deleteReferencedRelations, deleteReferencingRelations, differsPersisted, dummyUpdate, equals, firePropertyChange, getBackend, getClassBaseName, getClassId, getColumnCount, getExpirationBacklog, getExpiredTableSerials, getId, getIdSource, getImmutableLoggingLevel, getModificationCount, getModificationLog, getPreparedStatement, getPreparedStatement, getPropertySupport, getSerial, getSession, getSessionHolder, getTableSerial, hashCode, insertImpl, insertPlain, isCountingModification, isDeleted, isEntity, isFinallyImmutable, isForcedModified, isFromThisJVM, isIdValid, isImmutable, isLoggingModification, isModified, isNew, isOverloadable, isRemovable, isSessionImmutable, isStatementAlwaysPrepared, isTableSerialProvided, isVirgin, loadLazyReferences, logModification, markDeleted, newInstance, newInstance, newInstance, persistObject, prepareDelete, prepareSave, prepareSetFields, reloadObject, reloadObjectForUpdate, removeAllPropertyListeners, removePropertyListener, removePropertyListener, reserveId, reserveId, resultAllIdSerial, resultAllObjects, resultObjectsWithExpiredTableSerials, revertAttributesToSnapshot, saveObject, saveReferencedRelations, saveReferencingRelations, selectAllIdSerial, selectAllObjects, selectExpiredTableSerials, selectExpiredTableSerials, selectMaxId, selectMaxTableSerial, selectNextObject, selectObject, selectObjectForUpdate, selectObjectsWithExpiredTableSerials, selectSerial, setClassId, setFinallyImmutable, setId, setImmutable, setImmutableLoggingLevel, setModificationLog, setOverloadable, setSerial, setSessionHolder, setSessionImmutable, setStatementAlwaysPrepared, setTableSerial, toGenericString, toIdString, toString, unmarkDeleted, updateImpl, updatePlain, updateSerial, updateSerial, updateSerialAndTableSerial
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.tentackle.pdo.DomainContextDependable

        createValidContext, determineContextId, getBaseContext, getContextId, isDomainContextImmutable, setDomainContextImmutable
      • Methods inherited from interface org.tentackle.pdo.DomainContextProvider

        getDomainContext, on, op
      • Methods inherited from interface org.tentackle.misc.Identifiable

        toGenericString
      • Methods inherited from interface org.tentackle.misc.Immutable

        getImmutableLoggingLevel, isFinallyImmutable, isImmutable, setFinallyImmutable, setImmutable, setImmutableLoggingLevel
      • Methods inherited from interface org.tentackle.misc.Modifiable

        isModified
      • Methods inherited from interface org.tentackle.dbms.ModificationLoggable

        createModificationLog
      • Methods inherited from interface org.tentackle.pdo.PdoProvider

        getPdo, on
      • Methods inherited from interface org.tentackle.pdo.PersistenceDelegate

        getDomainDelegate
      • Methods inherited from interface org.tentackle.pdo.PersistentObject

        attributesModified, containsPattern, delete, differsPersisted, findDuplicate, getCache, getCacheAccessCount, getCacheAccessTime, getClassBaseName, getClassId, getEditedBy, getEditedExpiry, getEditedSince, getExpiredTableSerials, getId, getModificationCount, getNormText, getSecurityResult, getSerial, getTableName, getTableSerial, getTokenLockObject, getTokenLockTimeout, isAbstract, isCacheable, isCached, isComposite, isDeleted, isEditAllowed, isExpired, isNew, isNormTextProvided, isPermissionAccepted, isPersistable, isReferenced, isRemovable, isRootClassIdProvided, isRootEntity, isRootEntityOf, isRootIdProvided, isTableSerialProvided, isTokenLockableByMe, isTokenLocked, isTokenLockedBy, isTokenLockedByMe, isTokenLockProvided, isValidated, isViewAllowed, isWriteAllowed, loadComponents, markCacheAccess, persist, persistTokenLocked, releaseTokenLock, reload, reloadForUpdate, requestTokenLock, reserveId, reserveId, save, select, selectAll, selectAllAsCursor, selectAllCached, selectAllForCache, selectAllIdSerial, selectAllWithExpiredTableSerials, selectByNormText, selectByNormTextAsCursor, selectCached, selectCachedOnly, selectExpiredTableSerials, selectExpiredTableSerials, selectForCache, selectForUpdate, selectMaxId, selectMaxTableSerial, selectSerial, setExpired, toIdString, transferTokenLock, validate
      • Methods inherited from interface org.tentackle.pdo.ProxyDelegate

        me
      • Methods inherited from interface org.tentackle.validate.ScopeConfigurator

        getDefaultScopes
      • Methods inherited from interface org.tentackle.misc.SerialNumbered

        isVirgin
      • Methods inherited from interface org.tentackle.session.SessionDependable

        isSessionImmutable, setSessionImmutable
      • Methods inherited from interface org.tentackle.session.SessionProvider

        getSession
      • Methods inherited from interface org.tentackle.misc.Snapshotable

        copy, createSnapshot, discardSnapshot, discardSnapshots, getSnapshots, isCopy, isSnapshot, revertToSnapshot, setCopy
      • Methods inherited from interface org.tentackle.validate.Validateable

        validate
    • Field Detail

      • CLASSVARIABLES

        public static final org.tentackle.persist.PersistentObjectClassVariables<StoredBundleKey,​StoredBundleKeyPersistenceImpl> CLASSVARIABLES
        Variables common to all instances of StoredBundleKeyPersistenceImpl.
      • CN_BUNDLEID

        public static final java.lang.String CN_BUNDLEID
        database column name for 'bundleId'.
        See Also:
        Constant Field Values
      • CN_KEY

        public static final java.lang.String CN_KEY
        database column name for 'key'.
        See Also:
        Constant Field Values
      • CN_VALUE

        public static final java.lang.String CN_VALUE
        database column name for 'value'.
        See Also:
        Constant Field Values
    • Constructor Detail

      • StoredBundleKeyPersistenceImpl

        public StoredBundleKeyPersistenceImpl​(StoredBundleKey pdo,
                                              org.tentackle.pdo.DomainContext context)
        Creates a number space.
        Parameters:
        pdo - the number space PDO
        context - the domain context
      • StoredBundleKeyPersistenceImpl

        public StoredBundleKeyPersistenceImpl​(StoredBundleKey pdo,
                                              org.tentackle.session.Session session)
        Creates a number space with a session only.
        Parameters:
        pdo - the number space PDO
        session - the session
      • StoredBundleKeyPersistenceImpl

        public StoredBundleKeyPersistenceImpl​(StoredBundleKey pdo)
        Creates a number space without domain context or session.
        Parameters:
        pdo - the number space PDO
      • StoredBundleKeyPersistenceImpl

        public StoredBundleKeyPersistenceImpl()
        Creates a number space without domain context or session.