Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractPersistentObject<T,
P> - Class in org.tentackle.persist -
Base persistence implementation of a PDO.
- AbstractPersistentObject() - Constructor for class org.tentackle.persist.AbstractPersistentObject
-
Creates a persistent object without PDO and domain context.
Note: the application must set the PDO and the context. - AbstractPersistentObject(T) - Constructor for class org.tentackle.persist.AbstractPersistentObject
-
Creates a persistent object for the given PDO without a domain context.
- AbstractPersistentObject(T, DomainContext) - Constructor for class org.tentackle.persist.AbstractPersistentObject
-
Creates a persistent object for the given PDO.
- AbstractPersistentObject(T, Session) - Constructor for class org.tentackle.persist.AbstractPersistentObject
-
Creates a persistent object for the given PDO without a domain context for a given session.
- AbstractPersistentObjectRemoteDelegate<T,
P> - Interface in org.tentackle.persist.trip -
Remote delegate for
AbstractPersistentObject.
The methods are invoked by the persistence delegate of a PDO in a remote session and executed on the server. - AbstractPersistentObjectRemoteDelegateImpl<T,
P> - Class in org.tentackle.persist.trip -
Implementation of the remote delegate for
AbstractPersistentObject.
Executes the persistence methods on the server. - AbstractPersistentObjectRemoteDelegateImpl(RemoteDbSessionImpl, Class, Class) - Constructor for class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
-
Creates a delegate for the given TRIP session.
- AbstractPersistentOperation<T,
P> - Class in org.tentackle.persist -
Base persistence implementation of an
Operation. - AbstractPersistentOperation() - Constructor for class org.tentackle.persist.AbstractPersistentOperation
-
Creates an operation object without a domain context.
Note: the application must set the operation and the context. - AbstractPersistentOperation(T) - Constructor for class org.tentackle.persist.AbstractPersistentOperation
-
Creates an operation object without a domain context.
- AbstractPersistentOperation(T, DomainContext) - Constructor for class org.tentackle.persist.AbstractPersistentOperation
-
Creates an operation object.
- AbstractPersistentOperation(T, Session) - Constructor for class org.tentackle.persist.AbstractPersistentOperation
-
Creates an operation object without a domain context for a given session.
Notice: the application must set the domain context. - AbstractPersistentOperationRemoteDelegate<T,
P> - Interface in org.tentackle.persist.trip -
Remote delegate for
AbstractPersistentOperation. - AbstractPersistentOperationRemoteDelegateImpl<T,
P> - Class in org.tentackle.persist.trip -
Implementation of the remote delegate for
AbstractPersistentOperation. - AbstractPersistentOperationRemoteDelegateImpl(RemoteDbSessionImpl, Class, Class) - Constructor for class org.tentackle.persist.trip.AbstractPersistentOperationRemoteDelegateImpl
-
Creates a delegate for the given TRIP session.
- AbstractServerApplication - Class in org.tentackle.persist.app
-
Base class for server applications.
- AbstractServerApplication(String, String) - Constructor for class org.tentackle.persist.app.AbstractServerApplication
-
Creates a server.
- accept(Object, TripComponent) - Method in class org.tentackle.persist.trip.PdoComponentTripFilter
- activateStatistics() - Method in class org.tentackle.persist.app.AbstractServerApplication
- addComponents(IdentifiableMap, boolean) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Adds the components of this object to a map.
- addComponents(IdentifiableMap, boolean) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- addComponents(IdentifiableMap, Collection, boolean) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Adds the components of a collection to a map.
- addJoin(Join) - Method in class org.tentackle.persist.JoinedSelect
-
Adds a join.
- addJoin(Join) - Method in class org.tentackle.persist.Join
-
Adds a cascaded join.
- addReferencingClass(int, String) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Adds a PDO class referencing this PDO class.
- addReferencingClass(Class, String) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Adds a PDO class referencing this PDO class.
- addSnapshot(T) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Adds a snapshot to the list of snapshots.
- AdminExtensionAdapter - Class in org.tentackle.persist
-
Client-side adapter for the admin session extension.
Delegates all methods to theAdminExtensionAdapterRemoteDelegateon the server. - AdminExtensionAdapter() - Constructor for class org.tentackle.persist.AdminExtensionAdapter
-
Creates the adapter.
- AdminExtensionAdapterRemoteDelegate - Interface in org.tentackle.persist.trip
-
Remote delegate for the
AdminExtensionAdapter. - AdminExtensionAdapterRemoteDelegateImpl - Class in org.tentackle.persist.trip
-
Remote delegate implementation for the
AdminExtensionAdapter.
Runs on the server and provides the session administration services to the clients (listing, logging out and killing client sessions). - AdminExtensionAdapterRemoteDelegateImpl(RemoteDbSessionImpl, Class) - Constructor for class org.tentackle.persist.trip.AdminExtensionAdapterRemoteDelegateImpl
-
Creates the remote delegate for the admin extension.
- afterLast() - Method in class org.tentackle.persist.ResultSetCursor
-
Positions the cursor after the last row.
Works even for empty cursors. - afterLast() - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Positions the cursor after the last row.
Works even for empty cursors. - afterLast() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- AN_EDITEDBY - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
name of the editedBy attribute.
- AN_EDITEDEXPIRY - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
name of the editedExpiry attribute.
- AN_EDITEDSINCE - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
name of the editedSince attribute.
- AN_NORMTEXT - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
name of the normText attribute.
- AN_ROOTCLASSID - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
name of root class-ID attribute.
- AN_ROOTID - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
name of root-ID attribute.
- applyTokenLockInfo(TokenLockInfo) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Applies the given token lock info to this PDO.
- assertDomainContextMutable() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Asserts that the domain context is mutable.
- assertDomainContextMutable() - Method in class org.tentackle.persist.AbstractPersistentOperation
-
Asserts that the domain context is mutable.
- assertEmbedded() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Asserts that this is an embedded PDO.
- assertMutable() - Method in class org.tentackle.persist.AbstractPersistentObject
- assertNoJoins() - Method in class org.tentackle.persist.ResultSetCursor
-
Asserts that there are no joins in the query.
- assertNormTextProvided() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Asserts that the entity provides a normtext.
- assertNotAbstract() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Asserts that this is not an abstract entity class.
- assertNotCached() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Asserts that the PDO is not cached.
- assertPersistable() - Method in class org.tentackle.persist.AbstractPersistentObject
- assertReadPermission() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Checks read permission for this object.
- assertRemoteSecurityManagerInitialized() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- assertRemoteSecurityManagerInitialized(DomainContext) - Method in interface org.tentackle.persist.security.trip.SecurityRemoteDelegate
-
Makes sure that the security manager is initialized in the server.
- assertRemoteSecurityManagerInitialized(DomainContext) - Method in class org.tentackle.persist.security.trip.SecurityRemoteDelegateImpl
- assertRootContext() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Asserts that the PO's context is a root context.
- assertRootContextIsAccepted() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Checks the root context against the security rules.
Non-root contexts are always accepted. - assertRootContextIsAccepted() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- assertRootEntity() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Asserts that the PO is a root entity.
- assertSessionIsLocal() - Method in class org.tentackle.persist.ResultSetCursor
-
Asserts that session is local.
- assertSessionIsRemote() - Method in class org.tentackle.persist.ResultSetCursor
-
Asserts that session is remote.
- assertTokenLockProvided() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Asserts that the entity provides the token lock columns.
- assertValidSnapshot(T) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Asserts that the given snapshot is valid for this object.
- assertWritePermission() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Checks write permission for this object.
- attributesModified() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- attributesModified() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
B
- beforeFirst() - Method in class org.tentackle.persist.ResultSetCursor
-
Positions the cursor before the first row.
Works even for empty cursors. - beforeFirst() - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Positions the cursor before the first row.
Works even for empty cursors. - beforeFirst() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
C
- checkClassPermission(DomainContext, Permission) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Checks the security for this class.
If the evaluation fails (e.g., no domain context set), the permission is denied. - CLASSVARIABLES - Static variable in class org.tentackle.persist.lock.DbTokenLock
-
Variables common to all instances of
DbTokenLock. - CLASSVARIABLES - Static variable in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
Variables common to all instances of NumberPoolPersistenceImpl.
- CLASSVARIABLES - Static variable in class org.tentackle.persist.ns.NumberRangePersistenceImpl
-
Variables common to all instances of NumberRangePersistenceImpl.
- CLASSVARIABLES - Static variable in class org.tentackle.persist.security.SecurityPersistenceImpl
-
Variables common to all instances of SecurityPersistenceImpl.
- cleanup() - Method in class org.tentackle.persist.app.AbstractServerApplication
- cleanup() - Method in class org.tentackle.persist.app.ServerApplication
- cleanupRemoteSession(RemoteDbSessionImpl) - Method in class org.tentackle.persist.PersistenceUtilities
- cleanupUserTokens(Db, long) - Method in class org.tentackle.persist.lock.DefaultLockManager
-
Removes all tokens for a given user.
The method is invoked when a user logs out or its session crashed. - cleanupUserTokens(Db, long) - Method in interface org.tentackle.persist.LockManager
-
Removes all tokens for a given user.
The method is invoked when a user logs out or its session crashed. - clear() - Method in class org.tentackle.persist.JoinState
-
Forgets all PDOs joined so far.
Invoked whenever the joined select is initialized, i.e., once per query. - clearTokenLock() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Clears or renews the token lock.
- clone() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Clones this persistent object.
The method is final to prevent applications from overriding it and spoiling the contract withAbstractPersistentObject.createSnapshot(). - close() - Method in class org.tentackle.persist.ResultSetCursor
-
Closes the cursor.
The cursor is opened in its constructor. - close() - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Closes the cursor.
Closing an already closed cursor is allowed. - close() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- CN_ALLOWED - Static variable in class org.tentackle.persist.security.SecurityPersistenceImpl
-
database column name for 'allowed'.
- CN_BEGIN - Static variable in class org.tentackle.persist.ns.NumberRangePersistenceImpl
-
database column name for 'begin'.
- CN_DESCRIPTION - Static variable in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
database column name for 'description'.
- CN_DOMAINCONTEXTCLASSID - Static variable in class org.tentackle.persist.security.SecurityPersistenceImpl
-
database column name for 'domainContextClassId'.
- CN_DOMAINCONTEXTID - Static variable in class org.tentackle.persist.security.SecurityPersistenceImpl
-
database column name for 'domainContextId'.
- CN_EDITEDBY - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
name of the editedBy column.
- CN_EDITEDEXPIRY - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
name of the editedExpiry column.
- CN_EDITEDSINCE - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
name of the editedSince column.
- CN_END - Static variable in class org.tentackle.persist.ns.NumberRangePersistenceImpl
-
database column name for 'end'.
- CN_GRANTEECLASSID - Static variable in class org.tentackle.persist.security.SecurityPersistenceImpl
-
database column name for 'granteeClassId'.
- CN_GRANTEEID - Static variable in class org.tentackle.persist.security.SecurityPersistenceImpl
-
database column name for 'granteeId'.
- CN_LOCKEDBY - Static variable in class org.tentackle.persist.lock.DbTokenLock
-
database column name for 'lockedBy'.
- CN_LOCKEDSINCE - Static variable in class org.tentackle.persist.lock.DbTokenLock
-
database column name for 'lockedSince'.
- CN_LOCKEXPIRY - Static variable in class org.tentackle.persist.lock.DbTokenLock
-
database column name for 'lockExpiry'.
- CN_LOWWATERMARK - Static variable in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
database column name for 'lowWaterMark'.
- CN_MESSAGE - Static variable in class org.tentackle.persist.security.SecurityPersistenceImpl
-
database column name for 'message'.
- CN_NAME - Static variable in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
database column name for 'name'.
- CN_NORMTEXT - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
name of the normText column.
- CN_NUMBERPOOLID - Static variable in class org.tentackle.persist.ns.NumberRangePersistenceImpl
-
database column name for 'numberPoolId'.
- CN_OBJECTCLASSID - Static variable in class org.tentackle.persist.security.SecurityPersistenceImpl
-
database column name for 'objectClassId'.
- CN_OBJECTCLASSNAME - Static variable in class org.tentackle.persist.security.SecurityPersistenceImpl
-
database column name for 'objectClassName'.
- CN_OBJECTID - Static variable in class org.tentackle.persist.security.SecurityPersistenceImpl
-
database column name for 'objectId'.
- CN_ONLINE - Static variable in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
database column name for 'online'.
- CN_PDOCLASSID - Static variable in class org.tentackle.persist.lock.DbTokenLock
-
database column name for 'pdoClassId'.
- CN_PERMISSIONS - Static variable in class org.tentackle.persist.security.SecurityPersistenceImpl
-
database column name for 'permissions'.
- CN_PRIORITY - Static variable in class org.tentackle.persist.security.SecurityPersistenceImpl
-
database column name for 'priority'.
- CN_REALM - Static variable in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
database column name for 'realm'.
- CN_REQUESTSIZE - Static variable in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
database column name for 'requestSize'.
- CN_ROOTCLASSID - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
name of root class-ID column.
- CN_ROOTID - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
name of root-ID column.
- CN_UPLINK - Static variable in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
database column name for 'uplink'.
- commit(Db) - Method in class org.tentackle.persist.trip.TripModificationLogSerializer
- commit(Db, long) - Method in class org.tentackle.persist.lock.DefaultLockManager
- commit(Db, long) - Method in interface org.tentackle.persist.LockManager
-
Notifies the lock manager that a transaction has been committed.
- configureDelegate(Object...) - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
-
Configures the delegate.
Invoked fromRemoteDbSessionImpl.createRemoteDelegateInstance(Class, Class, Class, Class, Object...)by reflection. - configureEmbeddedColumns(ResultSetWrapper) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Configures the columns of an embedded PDO.
Must be overridden by embedded PDOs (usually generated). - configureModificationTracker() - Method in class org.tentackle.persist.app.AbstractServerApplication
- configurePreferences() - Method in class org.tentackle.persist.app.AbstractServerApplication
- configureRemoteObject(DomainContext, PersistentDomainObject) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Configures the remotely retrieved object.
Root entities get their own root context. - configureRemoteObject(DomainContext, X) - Method in class org.tentackle.persist.AbstractPersistentOperation
-
Configures a PDO retrieved remotely within an operation.
- configureRemoteObject(T) - Method in class org.tentackle.persist.ResultSetCursor
-
Configures a remotely retrieved PDO.
Attaches the PDO to the local domain context and session. - configureRemoteObjects(DomainContext, Collection) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Configures the remotely retrieved objects.
- configureRemoteObjects(DomainContext, Collection) - Method in class org.tentackle.persist.AbstractPersistentOperation
-
Configures a collection of PDOs retrieved remotely within an operation.
- configureSessionInfo(SessionInfo) - Method in class org.tentackle.persist.app.AbstractServerApplication
-
Configures the session info of the server's main session.
Loads the session properties and merges the application properties into them. - containsPattern(String) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Searches for a "pattern" in this object.
The default implementation looks for the pattern in the normtext. - copy() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates a deep copy of this PDO.
The copied PDO and its components, if any, are new (id=0). - countModification() - Method in class org.tentackle.persist.AbstractPersistentObject
- create(Class, Class) - Static method in class org.tentackle.persist.PersistentOperationClassVariables
-
Creates operation class variables.
Delegates to thePersistentClassVariablesFactory. - create(Class, Class, String) - Static method in class org.tentackle.persist.PersistentObjectClassVariables
-
Creates PDO class variables.
Delegates to thePersistentClassVariablesFactory. - create(Class, Class, String, PersistentObjectClassVariables, List) - Static method in class org.tentackle.persist.PersistentObjectClassVariables
-
Creates PDO class variables.
Delegates to thePersistentClassVariablesFactory. - create(RemoteDbSession) - Method in class org.tentackle.persist.PdoRemoteSessionFactory
- createAttributesNormText() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the normalized text of all attributes with the NORMTEXT-option.
The method is usually generated by the MethodsImpl wurblet. - createComponentsInSnapshot(AbstractPersistentObject) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the components in the snapshot object.
The snapshot object is assumed to be a clone of this object. - createComponentsInSnapshot(NumberPoolPersistenceImpl) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
Updates the components in the snapshot object.
The snapshot object is assumed to be a clone of this object. - createConnectionManager() - Method in class org.tentackle.persist.app.AbstractServerApplication
-
Creates the connection manager for the client sessions.
The default creates anMpxConnectionManagerwith session IDs following those of the server's own connection manager. - createDeleteSql(Backend) - Method in class org.tentackle.persist.lock.DbTokenLock
- createDummyUpdateSql() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the SQL code for the fake update statement.
Useful to get an exclusive lock within a transaction. - createInsertSql(Backend) - Method in class org.tentackle.persist.lock.DbTokenLock
- createInsertSql(Backend) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- createInsertSql(Backend) - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- createInsertSql(Backend) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- createJoinedPdo(T) - Method in class org.tentackle.persist.Join
-
Creates a new PDO to join to the given PDO.
The new PDO is created in the domain context of the given PDO. - createJoinedSql(T, StringBuilder) - Method in class org.tentackle.persist.JoinedSelect
-
Appends the joins to the SQL code of the select.
- createModificationLog(T, ModificationType) - Method in class org.tentackle.persist.PdoModificationLogFactory
- createObject(Class) - Method in class org.tentackle.persist.PersistenceUtilities
- createPropertySupport() - Method in class org.tentackle.persist.AbstractPersistentObject
- createQuery() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates a
Queryto retrieve a list of this entity type. - createQuery(JoinedSelect) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates a
Queryto retrieve a list of this entity type. - createRelationsNormText() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the normalized text of all relations with the NORMTEXT-option.
The method is usually generated by the PdoRelations wurblet. - createRemoteResultSetCursorDelegate(ScrollableResource) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
-
Creates and exports a remote cursor delegate for a local cursor.
- createRemoteSessionPool() - Method in class org.tentackle.persist.app.AbstractServerApplication
-
Creates the remote session pool to serve the client sessions.
If the server's main session does not belong to a session group yet, a new group is created with the main session, so that all pooled sessions are closed if the main session dies. - createSelectAllByIdInnerSql(Backend) - Method in class org.tentackle.persist.AbstractPersistentObject
- createSelectAllIdSerialInnerSql() - Method in class org.tentackle.persist.AbstractPersistentObject
- createSelectAllInnerSql(Backend) - Method in class org.tentackle.persist.AbstractPersistentObject
- createSelectAllSql(Backend) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates SQL code for select all.
Appends context condition and order by clause if configured. - createSelectAllWithExpiredTableSerialsSql(Backend) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates SQL code for
AbstractPersistentObject.selectAllWithExpiredTableSerials(long).
Appends context condition and order by clause if configured.
By default, the result is sorted by table serial + ID. - createSelectAllWithExpiredTableSerialsSql2(Backend) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates SQL code for
AbstractPersistentObject.selectAllWithExpiredTableSerials(long, long).
Appends context condition and order by clause if configured.
By default, the result is sorted by table serial + ID. - createSelectAnySql(Backend) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates SQL code for select any.
Appends context condition and order by clause if configured. - createSelectByNormTextSql(Backend, boolean) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the SQL code for select by normtext.
- createSelectExpiredTableSerials1Sql() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the SQL code for the first statement to select expired table serials.
- createSelectExpiredTableSerials2Sql() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the SQL code for the second statement to select expired table serials.
- createSelectIdInnerSql() - Method in class org.tentackle.persist.AbstractPersistentObject
- createSelectIdInnerSql(boolean) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the inner SQL text to select the ID field.
- createSelectIdInnerSql(PersistentObjectClassVariables, boolean) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the inner SQL text to select the ID field.
- createSelectMaxIdSql() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the SQL code for the selectMaxId statement.
- createSelectMaxTableSerialSql() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the SQL code for the selectMaxTableSerial statement.
- createSelectSerialSql() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the SQL code for the selectSerial statement.
- createSelectTokenLockSql() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the SQL code for the select in
AbstractPersistentObject.updateTokenLock(Timestamp, long, Timestamp)statement. - createSessionPool() - Method in class org.tentackle.persist.app.AbstractServerApplication
-
Creates the session pool to serve the client sessions.
- createSnapshot() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates a snapshot of this object.
- createSqlClassIdCondition(List, boolean) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Creates the SQL string used in WHERE clauses for inherited entities.
- createStatementKey(StatementId) - Method in class org.tentackle.persist.AbstractPersistentObject
- createTokenLock(Db) - Method in class org.tentackle.persist.lock.DefaultLockManager
-
Creates a token lock persistent object.
- createTransferTokenLockSql() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the SQL code for the
AbstractPersistentObject.transferTokenLock(long)statement without table serial. - createTripServer(Class) - Method in class org.tentackle.persist.app.ServerApplication
-
Creates the TRIP server instance (but does not start it).
The default implementation creates aTripServer. - createUpdateSerialAndTableSerialSql() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the SQL code for the serial + tableSerial update statement.
- createUpdateSerialSql() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the SQL code for the serial update statement.
- createUpdateSql(Backend) - Method in class org.tentackle.persist.lock.DbTokenLock
- createUpdateSql(Backend) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- createUpdateSql(Backend) - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- createUpdateSql(Backend) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- createUpdateTokenLockOnlySql() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the SQL code for the
AbstractPersistentObject.updateTokenLockOnly()statement. - createUpdateTokenLockSql() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates the SQL code for the
AbstractPersistentObject.updateTokenLock(Timestamp, long, Timestamp)statement. - createValidContext() - Method in class org.tentackle.persist.AbstractPersistentObject
- createValidContext() - Method in class org.tentackle.persist.AbstractPersistentOperation
- createValidContext() - Method in class org.tentackle.persist.AdminExtensionAdapter
- currentPdo() - Method in class org.tentackle.persist.JoinedSelect
-
Gets the currently retrieved PDO.
- currentTimeMillis() - Method in class org.tentackle.persist.trip.TripModificationLogSerializer
-
Gets the current time.
Overridable for testing purposes.
D
- DbTokenLock - Class in org.tentackle.persist.lock
-
Table holding the token locks.
- DbTokenLock() - Constructor for class org.tentackle.persist.lock.DbTokenLock
-
Creates an empty token lock.
- DbTokenLock(Db) - Constructor for class org.tentackle.persist.lock.DbTokenLock
-
Creates an empty token lock.
- DEFAULT_MAX_AGE - Static variable in class org.tentackle.persist.trip.TripModificationLogSerializer
-
the default maximum time span until the dictionary is reset.
- DEFAULT_MAX_EPOCHS - Static variable in class org.tentackle.persist.trip.TripModificationLogSerializer
-
the default maximum number of epochs kept by the receiver.
- DEFAULT_MAX_OBJECTS - Static variable in class org.tentackle.persist.trip.TripModificationLogSerializer
-
the default maximum number of serialized objects until the dictionary is reset.
- DefaultLockManager - Class in org.tentackle.persist.lock
-
Default implementation of
LockManager. - DefaultLockManager() - Constructor for class org.tentackle.persist.lock.DefaultLockManager
-
Creates the lock manager.
Enabled only if running within a server application connected directly to the database. - DefaultPersistenceDelegateLinker - Class in org.tentackle.persist
-
Default implementation of
PersistenceDelegateLinker.
Links PDO and operation proxies to their persistence delegates, which must extendAbstractPersistentObjectorAbstractPersistentOperation, respectively. - DefaultPersistenceDelegateLinker() - Constructor for class org.tentackle.persist.DefaultPersistenceDelegateLinker
-
Creates the persistence delegate linker.
- delete() - Method in class org.tentackle.persist.AbstractPersistentObject
- delete(Collection) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Deletes a collection of objects.
This method is provided to delete components in PDOs only. - delete(PersistentDomainObject) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Deletes a PDO.
This method is provided to delete components in PDOs only. - deleteByDomainContext(int, long) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- deleteByDomainContext(DomainContext, int, long) - Method in interface org.tentackle.persist.security.trip.SecurityRemoteDelegate
- deleteByDomainContext(DomainContext, int, long) - Method in class org.tentackle.persist.security.trip.SecurityRemoteDelegateImpl
- deleteByGrantee(int, long) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- deleteByGrantee(DomainContext, int, long) - Method in interface org.tentackle.persist.security.trip.SecurityRemoteDelegate
- deleteByGrantee(DomainContext, int, long) - Method in class org.tentackle.persist.security.trip.SecurityRemoteDelegateImpl
- deleteByObject(int, long) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- deleteByObject(DomainContext, int, long) - Method in interface org.tentackle.persist.security.trip.SecurityRemoteDelegate
- deleteByObject(DomainContext, int, long) - Method in class org.tentackle.persist.security.trip.SecurityRemoteDelegateImpl
- deleteByObjectClass(String) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- deleteByObjectClass(DomainContext, String) - Method in interface org.tentackle.persist.security.trip.SecurityRemoteDelegate
- deleteByObjectClass(DomainContext, String) - Method in class org.tentackle.persist.security.trip.SecurityRemoteDelegateImpl
- deleteImpl() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Implementation of delete bypassing the invocation handler.
For remote sessions, the object cannot be used anymore after deletion. - deleteImpl(DbObjectClassVariables, SqlSupplier) - Method in class org.tentackle.persist.lock.DbTokenLock
- deleteImpl(DbObjectClassVariables, SqlSupplier) - Method in class org.tentackle.persist.AbstractPersistentObject
- deleteImpl(T) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Deletes a PDO.
- deleteImpl(T) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- deleteMissingInCollection(Collection, Collection) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Deletes all objects in the oldCollection that are not in the newCollection.
This method is provided to save components in PDOs only. - deleteObject() - Method in class org.tentackle.persist.AbstractPersistentObject
- deleteObject(P) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- deletePlain(long, long) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- deletePlainWithComponents() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Deletes this object and all its components without any further processing.
Same asAbstractDbObject.deletePlain()but with components. - deletePlainWithComponents() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- deletePlainWithComponents(Collection) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Deletes all objects of a collection, including their components, without any further processing.
All objects must belong to the same session. - deleteReferencingRelations() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- deregisterJdbcDrivers(ClassLoader) - Method in class org.tentackle.persist.app.AbstractServerApplication
-
Deregisters all JDBC drivers loaded by the app's classloader.
Necessary in containers only (in case connected directly via JDBC and not via JNDI). - derivePdoFromPo(T, P) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Derives the concrete PDO from a given PO.
Applies the security checks and makes PDOs loaded outside their root context immutable. - deserialize(byte[]) - Method in class org.tentackle.persist.trip.TripModificationLogSerializer
- detectContainer() - Method in class org.tentackle.persist.app.AbstractServerApplication
-
Detects whether this application is running within a container.
The result can be retrieved byAbstractServerApplication.isRunningInContainer(). - determineContextId() - Method in class org.tentackle.persist.AbstractPersistentObject
- determineContextId() - Method in class org.tentackle.persist.AbstractPersistentOperation
- determineContextId() - Method in class org.tentackle.persist.AdminExtensionAdapter
- determineImplementingClassOfReturnType(Class) - Method in class org.tentackle.persist.PersistentObjectClassVariables
- determineReferencePriority(Class) - Method in class org.tentackle.persist.PersistentObjectClassVariables
- determineSkippedComponents(AbstractPersistentObject) - Method in class org.tentackle.persist.trip.PdoComponentTripFilter
-
Determines the names of the components to skip for the given persistent object.
- determineTableSerialTableName(DbObjectClassVariables) - Method in class org.tentackle.persist.PersistenceUtilities
- differsPersisted() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- differsPersisted() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- discardSnapshot(T) - Method in class org.tentackle.persist.AbstractPersistentObject
- discardSnapshots() - Method in class org.tentackle.persist.AbstractPersistentObject
- dummyUpdate(P) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
E
- eagerJoins - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
The optional eager joins as defined in the model, null or empty if none.
- executeFirstPdoQuery(PreparedStatementWrapper) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Executes a query for a prepared statement and returns the first PDO.
- executeFirstPdoQuery(PreparedStatementWrapper, JoinedSelect) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Executes a query for a prepared statement and returns the first PDO.
- executeListQuery(PreparedStatementWrapper) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Executes the query for a prepared statement and returns the results in a list.
- executeListQuery(PreparedStatementWrapper, JoinedSelect) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Executes the query for a prepared statement and returns the results in a list.
- executeQuery(Query) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Executes a
Querybuilt to retrieve PDOs of this entity type and returns them in a tracked list. - executeQuery(Query, JoinedSelect) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Executes a
Querybuilt to retrieve PDOs of this entity type and returns them in a tracked list. - executeQueryToList(PreparedStatementWrapper, JoinedSelect, List) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Executes the query for a prepared statement and adds the results to a list.
- executeQueryToList(ResultSetWrapper, JoinedSelect, List) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Reads all rows of an already executed query and adds the PDOs to a list.
- executeScrollableQuery(Query) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Executes a
Querybuilt to retrieve PDOs of this entity type and returns them as a scrollable cursor. - executeScrollableQuery(Query, JoinedSelect) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Executes a
Querybuilt to retrieve PDOs of this entity type and returns them as a scrollable cursor. - executeTrackedListQuery(PreparedStatementWrapper) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Executes the query for a prepared statement and returns the results in a tracked list.
- executeTrackedListQuery(PreparedStatementWrapper, JoinedSelect) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Executes the query for a prepared statement and returns the results in a tracked list.
- expireCache(long) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Expires the cache according to the table serial numbers.
- expireCache(long) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
F
- fetch() - Method in class org.tentackle.persist.ResultSetCursor
-
Fetches the next PDOs up to the fetch size.
This method is provided to minimize the number of round trips, especially for remote cursors. - fetch() - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Fetches the next PDOs up to the fetch size.
This method is provided to minimize the number of round trips. - fetch() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- FetchList() - Constructor for class org.tentackle.persist.ResultSetCursor.FetchList
-
Creates an empty non-closed fetch list.
- findDuplicate() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Checks whether this object (if saved) would violate any unique constraints.
- findEffectiveClass(Class) - Method in class org.tentackle.persist.trip.PdoRemoteDelegateLocator
- findSnapshotMethod(String, Class) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Finds a snapshot method.
Snapshot methodsAbstractPersistentObject.createComponentsInSnapshot(AbstractPersistentObject),AbstractPersistentObject.revertAttributesToSnapshot(AbstractPersistentObject)andAbstractPersistentObject.revertComponentsToSnapshot(AbstractPersistentObject)take the snapshot object with the correct implementation type and are implemented in some implementation class. - finishModification(ModificationType) - Method in class org.tentackle.persist.AbstractPersistentObject
- finishNotUpdated(ModificationType) - Method in class org.tentackle.persist.AbstractPersistentObject
- finishStartup() - Method in class org.tentackle.persist.app.AbstractServerApplication
- finishStartup() - Method in class org.tentackle.persist.app.ServerApplication
- first() - Method in class org.tentackle.persist.ResultSetCursor
-
Rewinds the cursor to the first row.
- first() - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Rewinds the cursor to the first row.
- first() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
G
- get() - Method in class org.tentackle.persist.ResultSetCursor
-
Gets the PDO of the current row.
- get() - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Gets the PDO of the current row.
- get() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- getBaseContext() - Method in class org.tentackle.persist.AbstractPersistentObject
- getBaseContext() - Method in class org.tentackle.persist.AbstractPersistentOperation
- getBaseContext() - Method in class org.tentackle.persist.AdminExtensionAdapter
- getBatchablePreparedStatement(ModificationType, StatementId, SqlSupplier) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets a prepared statement and marks it as batchable.
If there is a transaction running in batched mode, the statement will be executed via JDBC batching. - getBegin() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- getBeginPersisted() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- getCache() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the cache.
- getCache() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getCacheAccessCount() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the cache access count.
- getCacheAccessTime() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the last cache access time.
- getClassVariables() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the application-oriented class variables for this object.
Class variables for classes derived from AbstractPersistentObject are kept in an instance ofPersistentObjectClassVariables. - getClassVariables() - Method in class org.tentackle.persist.AbstractPersistentOperation
- getClassVariables() - Method in class org.tentackle.persist.lock.DbTokenLock
- getClassVariables() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getClassVariables() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- getClassVariables() - Method in class org.tentackle.persist.PdoCacheOperationPersistenceImpl
- getClassVariables() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getColumnName() - Method in class org.tentackle.persist.Join
-
Gets the column name of the PDO.
- getColumnName(String) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the full column name with table alias.
- getColumnName(String) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Gets the full column name with the optional table alias.
- getColumnName(String, String) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Gets the full column name with optional table alias and prefix.
- getColumnNames(String, List) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Gets the comma-separated list of column names with table alias.
The result is computed on the first invocation and cached. - getColumnNames(Supplier) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the comma-separated list of column names with table alias.
- getColumnNames(List) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the comma-separated list of column names with table alias.
- getColumnNames(List) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Gets the comma-separated list of column names with table alias.
- getColumnPrefix() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the column prefix for this embedded PDO.
- getConnectionManager() - Method in class org.tentackle.persist.app.AbstractServerApplication
- getContextId() - Method in class org.tentackle.persist.AbstractPersistentObject
- getContextId() - Method in class org.tentackle.persist.AbstractPersistentOperation
- getContextId() - Method in class org.tentackle.persist.AdminExtensionAdapter
- getContextUserId() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the user ID from the current domain context.
The ID is derived from the session info of the session associated with the domain context. - getCreateComponentsInSnapshotMethod() - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Gets the method createComponentsInSnapshot of the persistence object.
- getCurrentEpoch() - Method in class org.tentackle.persist.trip.TripModificationLogSerializer
-
Gets the current epoch of the writer.
- getCursor() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
-
Gets the local cursor.
- getDefaultConnectionManager() - Method in class org.tentackle.persist.PersistenceUtilities
- getDefaultScopes() - Method in class org.tentackle.persist.AbstractPersistentObject
- getDescription() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getDescriptionPersisted() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getDomainContext() - Method in class org.tentackle.persist.AbstractPersistentObject
- getDomainContext() - Method in class org.tentackle.persist.AbstractPersistentOperation
-
Gets the domain context.
- getDomainContext() - Method in class org.tentackle.persist.AdminExtensionAdapter
- getDomainContext() - Method in class org.tentackle.persist.ResultSetCursor
-
Gets the domain context.
- getDomainContextClassId() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getDomainContextId() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getDomainContextObject() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
-
Gets the domain context object this rule is restricted to.
The object is loaded from the cache in the domain context of this rule. - getDomainDelegate() - Method in class org.tentackle.persist.AbstractPersistentObject
- getDomainDelegate() - Method in class org.tentackle.persist.AbstractPersistentOperation
- getEagerJoinedSelect() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Creates a joined select for the eager joins of this PDO.
- getEagerJoins() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Returns the eager joins for this PDO.
- getEagerJoins() - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Gets the effective eager joins.
These are the eager joins of this class and all its superclasses. - getEditedBy() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the ID of the user currently editing this object.
- getEditedExpiry() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the time when the token lock expires.
- getEditedSince() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the time since when this object is being edited.
- getEffectiveClass() - Method in class org.tentackle.persist.AbstractPersistentObject
- getEffectiveClass() - Method in class org.tentackle.persist.AbstractPersistentOperation
- getEffectiveSuperClasses() - Method in class org.tentackle.persist.AbstractPersistentObject
- getEffectiveSuperClasses() - Method in class org.tentackle.persist.AbstractPersistentOperation
- getEmbeddingParent() - Method in class org.tentackle.persist.AbstractPersistentObject
- getEnd() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- getEndPersisted() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- getEpoch() - Method in exception class org.tentackle.persist.trip.RebuildEpochException
-
Gets the epoch to rebuild.
- getEpoch(byte[]) - Static method in class org.tentackle.persist.trip.TripModificationLogSerializer
-
Gets the epoch of serialized data.
- getExtension(DomainContext, Class) - Method in class org.tentackle.persist.PdoRemoteSessionAdapter
- getExtraSql() - Method in class org.tentackle.persist.Join
-
Gets optional SQL code.
- getFetchDirection() - Method in class org.tentackle.persist.ResultSetCursor
-
Gets the fetch direction.
- getFetchDirection() - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Gets the fetch direction.
- getFetchDirection() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- getFetchSize() - Method in class org.tentackle.persist.ResultSetCursor
-
Gets the fetch size.
- getFetchSize() - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Gets the fetch size.
- getFetchSize() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- getFields(ResultSetWrapper) - Method in class org.tentackle.persist.lock.DbTokenLock
- getFields(ResultSetWrapper) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getFields(ResultSetWrapper) - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- getFields(ResultSetWrapper) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getGrantee() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
-
Gets the grantee.
- getGranteeClassId() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getGranteeId() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getIdSerialForClass(Class) - Method in class org.tentackle.persist.PdoModificationTracker
- getInstance() - Static method in interface org.tentackle.persist.LockManager
-
The singleton.
- getInstance() - Static method in class org.tentackle.persist.PersistentClassVariablesFactory
-
The singleton.
- getInstance() - Static method in class org.tentackle.persist.trip.PdoComponentTripFilter
-
The singleton.
- getJoinAlias() - Method in class org.tentackle.persist.Join
-
Gets the alias of the joined PDO.
- getJoinedClass() - Method in class org.tentackle.persist.Join
-
Gets the joined PDO class.
- getJoinedColumnName() - Method in class org.tentackle.persist.Join
-
Gets the joined column name.
- getJoinedPdos(Join, T) - Method in class org.tentackle.persist.JoinState
-
Gets the PDOs already joined to the given PDO by the given join.
- getJoinedSelect() - Method in class org.tentackle.persist.ResultSetCursor
-
Gets the join configuration.
- getJoiner() - Method in class org.tentackle.persist.Join
-
Gets the joiner.
- getJoins() - Method in class org.tentackle.persist.Join
-
Gets the cascaded joins.
- getJoins() - Method in class org.tentackle.persist.JoinedSelect
-
Gets the joins.
- getJoinState() - Method in class org.tentackle.persist.JoinedSelect
-
Gets the state of the joins for this select.
- getLastPdo() - Method in class org.tentackle.persist.JoinedSelect
-
Gets the PDO retrieved before the current PDO.
- getLock(T) - Method in class org.tentackle.persist.lock.DefaultLockManager
- getLock(T) - Method in interface org.tentackle.persist.LockManager
-
Gets the token lock for a PDO.
- getLockedBy() - Method in class org.tentackle.persist.lock.DbTokenLock
-
Gets the attribute lockedBy.
- getLockedBy() - Method in interface org.tentackle.persist.TokenLock
-
Gets the object ID of the user holding the token.
- getLockedSince() - Method in class org.tentackle.persist.lock.DbTokenLock
-
Gets the attribute lockedSince.
- getLockedSince() - Method in interface org.tentackle.persist.TokenLock
-
Gets the timestamp when editing started.
- getLockExpiry() - Method in class org.tentackle.persist.lock.DbTokenLock
-
Gets the attribute lockExpiry.
- getLockExpiry() - Method in interface org.tentackle.persist.TokenLock
-
Gets the timestamp when the token will expire.
- getLocks() - Method in class org.tentackle.persist.lock.DefaultLockManager
- getLocks() - Method in interface org.tentackle.persist.LockManager
-
Gets all token locks.
- getLocks(long) - Method in class org.tentackle.persist.lock.DefaultLockManager
- getLocks(long) - Method in interface org.tentackle.persist.LockManager
-
Gets the token locks for a user.
- getLowWaterMark() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getLowWaterMarkPersisted() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getMaxAge() - Method in class org.tentackle.persist.trip.TripModificationLogSerializer
-
Gets the maximum time span until the dictionary is reset.
- getMaxEpochs() - Method in class org.tentackle.persist.trip.TripModificationLogSerializer
-
Gets the maximum number of epochs whose dictionaries are kept by the receiver.
- getMaxObjects() - Method in class org.tentackle.persist.trip.TripModificationLogSerializer
-
Gets the maximum number of serialized objects until the dictionary is reset.
- getMessage() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getName() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getNamePersisted() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getNormText() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the normtext.
- getNumberPool() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- getNumberPoolBlunt() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
-
Gets the relation numberPool without performing a database query if not loaded.
- getNumberPoolId() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- getNumberPoolIdPersisted() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- getNumberRangeList() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getNumberRangeListBlunt() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
Gets the relation numberRangeList without performing a database query if not loaded.
- getObject() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
-
Gets the PDO this rule applies to.
The PDO is selected in the domain context of this rule. - getObjectClass() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getObjectClassId() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getObjectClassName() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getObjectId() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getOperation() - Method in class org.tentackle.persist.AbstractPersistentOperation
- getOperationMethodCache() - Method in class org.tentackle.persist.AbstractPersistentOperation
- getPattern() - Method in class org.tentackle.persist.NormText
-
Gets the search pattern ready to be used in a LIKE expression.
- getPdo() - Method in class org.tentackle.persist.AbstractPersistentObject
- getPdoClass() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the PDO class.
- getPdoClassId() - Method in class org.tentackle.persist.lock.DbTokenLock
-
Gets the attribute pdoClassId.
- getPdoClassId() - Method in interface org.tentackle.persist.TokenLock
-
Gets the class ID of the locked PDO.
- getPdoId() - Method in class org.tentackle.persist.lock.DbTokenLock
-
Gets the object ID of the locked PDO.
- getPdoId() - Method in interface org.tentackle.persist.TokenLock
-
Gets the object ID of the locked PDO.
- getPdoMethodCache() - Method in class org.tentackle.persist.AbstractPersistentObject
- getPermissions() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getPersistenceClass(Class) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the persistence class from a PDO class.
- getPersistenceDelegate(T) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
-
Gets the persistence delegate from a PDO.
- getPreloadCacheClassNames() - Method in class org.tentackle.persist.PersistenceUtilities
-
Gets the names of the classes to preload the caches for.
By default, these are the classes annotated withPreloadCache, collected at build time and looked up via the service API. - getPreloadingCaches() - Method in class org.tentackle.persist.PdoCacheOperationPersistenceImpl
-
Gets the preloading caches.
The default implementation delegates toPersistenceUtilities.getPreloadingCaches(). - getPreloadingCaches() - Method in class org.tentackle.persist.PersistenceUtilities
-
Gets the caches to preload the PDOs for.
Instantiates the persistence classes returned byPersistenceUtilities.getPreloadCacheClassNames()and collects their caches. - getPreloadingCachesContent(DomainContext) - Method in interface org.tentackle.persist.trip.PdoCacheOperationRemoteDelegate
-
Gets the content of all caches to preload.
The content includes the modification serials of the tables, which are needed to keep the client's modification tracker in sync with the cache data. - getPreloadingCachesContent(DomainContext) - Method in class org.tentackle.persist.trip.PdoCacheOperationRemoteDelegateImpl
- getPriority() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getRealm() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getRealmPersisted() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getRemoteCursor() - Method in class org.tentackle.persist.ResultSetCursor
-
Gets the remote cursor.
- getRemoteDelegate() - Method in class org.tentackle.persist.AbstractPersistentObject
- getRemoteDelegate() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getRemoteDelegate() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- getRemoteDelegate() - Method in class org.tentackle.persist.PdoCacheOperationPersistenceImpl
- getRemoteDelegate() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- getRemoteSessionPool() - Method in class org.tentackle.persist.app.AbstractServerApplication
- getRequestSize() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getRequestSizePersisted() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getResultSet() - Method in class org.tentackle.persist.ResultSetCursor
-
Gets the result set.
- getRevertAttributesToSnapshotMethod() - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Gets the method revertAttributesToSnapshot of the persistence object.
- getRevertComponentsToSnapshotMethod() - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Gets the method revertComponentsToSnapshot of the persistence object.
- getRootClassId() - Method in class org.tentackle.persist.AbstractPersistentObject
- getRootClassId() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- getRootId() - Method in class org.tentackle.persist.AbstractPersistentObject
- getRootId() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- getRow() - Method in class org.tentackle.persist.ResultSetCursor
-
Gets the current row.
Row numbers start at 1. - getSecurityResult(Permission) - Method in class org.tentackle.persist.AbstractPersistentObject
- getServicedClass(Class) - Method in class org.tentackle.persist.PersistenceUtilities
- getSession() - Method in class org.tentackle.persist.app.AbstractServerApplication
- getSession() - Method in class org.tentackle.persist.ResultSetCursor
-
Gets the session.
- getSessionPool() - Method in class org.tentackle.persist.app.AbstractServerApplication
- getSessionPoolProvider() - Method in class org.tentackle.persist.PersistenceUtilities
- getSessions() - Method in class org.tentackle.persist.AdminExtensionAdapter
- getSessions(DomainContext) - Method in interface org.tentackle.persist.trip.AdminExtensionAdapterRemoteDelegate
-
Gets the session data of all sessions currently logged into the middle tier.
- getSessions(DomainContext) - Method in class org.tentackle.persist.trip.AdminExtensionAdapterRemoteDelegateImpl
- getSnapshots() - Method in class org.tentackle.persist.AbstractPersistentObject
- getSqlClassIdCondition() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the SQL string used in WHERE clauses for single table inheritance entities.
- getSqlClassIdCondition(List) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Gets the SQL string used in WHERE clauses for single table inheritance entities.
The result is computed on the first invocation and cached. - getSqlContextCondition() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the SQL code for the context condition.
- getTableAlias() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the table alias.
- getTableAlias() - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Gets the table alias.
- getTableName() - Method in class org.tentackle.persist.AbstractPersistentObject
- getTableName() - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Returns the table name for these class variables.
- getTokenLockTimeout() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the expiration in milliseconds of a token lock.
IfAbstractPersistentObject.isTokenLockProvided(), the default is 1 hour, else 0. - getTopSuperClassVariables() - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Returns the topmost class variables.
Useful for multi-table inheritance. - getTopSuperTableAlias() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the alias for the topmost super class.
- getTopSuperTableName() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the table name for the topmost super class.
- getTransientData() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the optional transient data object.
When objects need to be reloaded from storage, all non-persistent data attached to the object would be lost. - getTripServer() - Method in class org.tentackle.persist.app.ServerApplication
-
Gets the TRIP server.
- getType() - Method in class org.tentackle.persist.Join
-
Gets the join type.
- getUplink() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getUplinkPersisted() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- getValidClassIds() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the valid class IDs for the concrete types of this type.
Applies only to entities of single- or multi-table inheritance hierarchies, except the topmost entity.
I
- initialize() - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- initialize() - Method in class org.tentackle.persist.trip.AbstractPersistentOperationRemoteDelegateImpl
-
Instantiates a single object and connects it to the domain context.
- initialize(List) - Method in class org.tentackle.persist.JoinedSelect
-
Initializes the joined select.
Must be invoked before each query. - initialize(Db) - Method in class org.tentackle.persist.lock.DefaultLockManager
-
Initializes the lock manager.
Called once at server startup to remove all stale locks. - initialize(Db) - Method in interface org.tentackle.persist.LockManager
-
Initializes the lock manager.
Called once at server startup to remove all stale locks. - initializeScripting() - Method in class org.tentackle.persist.app.AbstractServerApplication
- initModification(ModificationType) - Method in class org.tentackle.persist.AbstractPersistentObject
- insertImpl(DbObjectClassVariables, SqlSupplier) - Method in class org.tentackle.persist.AbstractPersistentObject
- insertObject() - Method in class org.tentackle.persist.AbstractPersistentObject
- insertObject(P) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- insertPlain(P) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- insertPlainWithComponents() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Inserts this object and all its components without any further processing.
Same asAbstractDbObject.insertPlain()but with components. - insertPlainWithComponents() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- insertPlainWithComponents(Collection) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Inserts all objects of a collection, including their components, without any further processing.
All objects must belong to the same session. - isAbstract() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Returns whether this is an abstract PDO.
Abstract PDOs are real objects but cannot be persisted. - isAbstract() - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Returns whether the PDO class is abstract.
- isAfterLast() - Method in class org.tentackle.persist.ResultSetCursor
-
Checks whether the cursor is after the last row.
- isAfterLast() - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Checks whether the cursor is after the last row.
- isAfterLast() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- isAllowed() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- isBeforeFirst() - Method in class org.tentackle.persist.ResultSetCursor
-
Checks whether the cursor is before the first row.
- isBeginModified() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- isCacheable() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Determines whether the object is cacheable or not.
The default implementation always returns true, but apps can use this as a filter. - isCached() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Returns whether the object is located in a cache.
- isClosed() - Method in class org.tentackle.persist.ResultSetCursor.FetchList
-
Returns whether the list is closed.
A closed list is the last block of the cursor, and the cursor has been closed. - isClosed() - Method in class org.tentackle.persist.ResultSetCursor
-
Returns whether the cursor is closed.
- isComposite() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Tells whether this object is composite (i.e., has composite relations).
The method is overridden by the PdoRelations wurblet if at least one relation is flagged as "composite". - isComposite() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isCopy() - Method in class org.tentackle.persist.AbstractPersistentObject
- isCountingModification(ModificationType) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- isDescriptionModified() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isDomainContextImmutable() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Returns whether the domain context is immutable.
- isDomainContextImmutable() - Method in class org.tentackle.persist.AbstractPersistentOperation
-
Returns whether the domain context is immutable.
- isDomainContextImmutable() - Method in class org.tentackle.persist.AdminExtensionAdapter
- isEditAllowed() - Method in class org.tentackle.persist.AbstractPersistentObject
- isEditAllowed(AbstractPersistentObject) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Checks the edit permission for a PDO.
- isEmbedded() - Method in class org.tentackle.persist.AbstractPersistentObject
- isEnabled() - Method in class org.tentackle.persist.lock.DefaultLockManager
- isEnabled() - Method in interface org.tentackle.persist.LockManager
-
Returns whether the lock manager is enabled.
- isEndModified() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- isExpired() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Checks whether the object has been marked expired.
When an expired object is retrieved from the cache, it is reloaded from the database. - isExplicitIdAliasRequired() - Method in class org.tentackle.persist.Join
-
Returns whether an extra ID alias must be added to the joined select statement.
- isExplicitIdAliasRequiredInJoins() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Returns whether an explicit ID alias is necessary in joins.
This applies to MULTI-table inherited PDOs only (abstracts and leaves). - isInverted() - Method in class org.tentackle.persist.NormText
-
Returns whether the pattern should be interpreted as "NOT LIKE".
- isListJoin() - Method in class org.tentackle.persist.Join
-
Returns whether joined to a list or an object.
- isLowWaterMarkModified() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isMatchingAll() - Method in class org.tentackle.persist.NormText
-
Returns whether the pattern matches all.
- isModified() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isModified(Collection) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Checks whether some objects in a collection are modified.
ATrackedListis also modified if elements were added, replaced or removed. - isNameModified() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isNormTextProvided() - Method in class org.tentackle.persist.AbstractPersistentObject
- isNumberPoolIdModified() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- isNumberRangeListLoaded() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isOnline() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isOnlineModified() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isOnlinePersisted() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isOperation(Class) - Method in class org.tentackle.persist.trip.PdoRemoteDelegateLocator
- isPermissionAccepted(Permission) - Method in class org.tentackle.persist.AbstractPersistentObject
- isPersistable() - Method in class org.tentackle.persist.AbstractPersistentObject
- isReadAllowed() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Determines whether the application is allowed to read this PDO.
Makes no sense to publish in PersistentObject because PDOs without read permissions are not read from the database at all. - isReadAllowed() - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Checks the read security for this class in all contexts.
- isReadAllowed() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- isReadAllowed(DomainContext) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Checks the read security for this class.
- isReadAllowed(AbstractPersistentObject) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Checks the read permission for a PDO.
- isRealmModified() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isReferenced() - Method in class org.tentackle.persist.AbstractPersistentObject
- isReferenced(long) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- isReferenced(Db, long) - Method in class org.tentackle.persist.PersistentObjectClassVariables
- isReferenced(DomainContext, long) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Checks whether a PDO is referenced by other PDOs.
- isReferenced(DomainContext, long) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- isRenewTokenLockRequested() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Determines whether to renew the token lock on insert or update.
- isRequestSizeModified() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isResetPending() - Method in class org.tentackle.persist.trip.TripModificationLogSerializer
-
Returns whether the next serialization will start a new epoch first.
- isRootClassIdProvided() - Method in class org.tentackle.persist.AbstractPersistentObject
- isRootEntity() - Method in class org.tentackle.persist.AbstractPersistentObject
- isRootEntity() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isRootEntity() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- isRootEntityOf(C) - Method in class org.tentackle.persist.AbstractPersistentObject
- isRootIdProvided() - Method in class org.tentackle.persist.AbstractPersistentObject
- isRunningInContainer() - Method in class org.tentackle.persist.app.AbstractServerApplication
-
Indicates whether this application is running within a container.
- isSecurityEnabled() - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Returns whether security checks are enabled for this class.
Security checks are enabled unless the property "checksecurity"<T extends PersistentDomainObject<T>, P extends AbstractPersistentObject<T,P>> is set to no,off,false,disabledor0. - isServer() - Method in class org.tentackle.persist.app.AbstractServerApplication
- isSnapshot() - Method in class org.tentackle.persist.AbstractPersistentObject
- isSystemExitNecessaryToStop() - Method in class org.tentackle.persist.app.AbstractServerApplication
- isTokenLockableByMe() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Checks whether this object can be token-locked by the current user.
- isTokenLocked() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Checks whether this object is token locked (editedBy !
- isTokenLockedBy(long) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Checks whether this object is token-locked by the given user.
- isTokenLockedByMe() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Checks whether this object is token-locked by the current user.
- isTokenLockProvided() - Method in class org.tentackle.persist.AbstractPersistentObject
-
By default, objects don't need to include the editedBy/Since/Expiry columns in the database table.
Override this method if the object contains such columns, i.e., global model option [TOKENLOCK] set. - isTokenLockToKeep(DbTokenLock, DomainContext) - Method in class org.tentackle.persist.lock.DefaultLockManager
-
Returns whether a token lock should be kept on session cleanup or after server start.
The default implementation returns false. - isTracked() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isTracked() - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- isTracked() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- isUpdateNecessary() - Method in class org.tentackle.persist.AbstractPersistentObject
- isUpdatingSerialEvenIfNotModified() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Determines whether in updates of composite objects unmodified objects in the update path get at least the serial updated or are not touched at all.
- isUpdatingSerialEvenIfNotModified() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isUplinkModified() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- isValidated() - Method in class org.tentackle.persist.AbstractPersistentObject
- isViewAllowed() - Method in class org.tentackle.persist.AbstractPersistentObject
- isViewAllowed(AbstractPersistentObject) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Checks the view permission for a PDO.
- isWriteAllowed() - Method in class org.tentackle.persist.AbstractPersistentObject
- isWriteAllowed() - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Checks the write security for this class in all contexts.
- isWriteAllowed(DomainContext) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Checks the write security for this class.
- isWriteAllowed(AbstractPersistentObject) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Checks the write permission for a PDO.
J
- join(JoinState, T, J) - Method in class org.tentackle.persist.Join
-
Joins a PDO with another PDO.
The PDOs joined so far are tracked in the given per-query state; hence the same join can be used by concurrently running selects. - Join<T,
J> - Class in org.tentackle.persist -
PDO join.
- Join(JoinType, String, String, Class, String, String, BiConsumer) - Constructor for class org.tentackle.persist.Join
-
Creates a join.
- Join(JoinType, String, String, Class, String, BiConsumer) - Constructor for class org.tentackle.persist.Join
-
Creates a join.
- JoinedSelect<T> - Class in org.tentackle.persist
-
A joined
SELECT. - JoinedSelect() - Constructor for class org.tentackle.persist.JoinedSelect
-
Creates a joined
SELECT. - JoinedSelect(List) - Constructor for class org.tentackle.persist.JoinedSelect
-
Creates a joined
SELECTfrom a list of joins. - JoinState - Class in org.tentackle.persist
-
The mutable state of a running
JoinedSelect. - JoinState() - Constructor for class org.tentackle.persist.JoinState
-
Creates an empty join state.
K
- kill(long, long, String, long) - Method in class org.tentackle.persist.AdminExtensionAdapter
- kill(DomainContext, long, long, String, long) - Method in interface org.tentackle.persist.trip.AdminExtensionAdapterRemoteDelegate
-
Kills all sessions for a given user id.
- kill(DomainContext, long, long, String, long) - Method in class org.tentackle.persist.trip.AdminExtensionAdapterRemoteDelegateImpl
- kill(DomainContext, long, long, String, long, boolean) - Method in class org.tentackle.persist.trip.AdminExtensionAdapterRemoteDelegateImpl
-
Kills or logs out the matching sessions.
Logout requests are only sent to the modification tracker sessions, which forward aLogoutEventto the client application.
L
- last() - Method in class org.tentackle.persist.ResultSetCursor
-
Positions the cursor on the last row.
- last() - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Positions the cursor on the last row.
- last() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- linkPersistentObject(T, PersistentObject) - Method in class org.tentackle.persist.DefaultPersistenceDelegateLinker
- linkPersistentOperation(T, PersistentOperation) - Method in class org.tentackle.persist.DefaultPersistenceDelegateLinker
- loadComponents(boolean) - Method in class org.tentackle.persist.AbstractPersistentObject
- loadComponents(boolean) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- LockManager - Interface in org.tentackle.persist
-
Manager for token locks.
- login() - Method in class org.tentackle.persist.app.AbstractServerApplication
-
Connects the server to the database backend or another remote server.
Creates the server's main session, makes it the current session and sets the application's session info and domain context. - logout(long, long, String, long) - Method in class org.tentackle.persist.AdminExtensionAdapter
- logout(DomainContext, long, long, String, long) - Method in interface org.tentackle.persist.trip.AdminExtensionAdapterRemoteDelegate
-
Submits a logout request to the modification tracker sessions of a given user.
- logout(DomainContext, long, long, String, long) - Method in class org.tentackle.persist.trip.AdminExtensionAdapterRemoteDelegateImpl
- logStatistics() - Method in class org.tentackle.persist.app.AbstractServerApplication
-
Logs and clears the statistics.
Overridden to log the statement and transaction statistics as well.
M
- markCacheAccess() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Marks a cache access (increments the count and sets the current system time).
Clears the token lock holder, since token locks do not apply to cached objects. - markDeleted() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- markDeleted(Collection) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Marks all objects in a list to be deleted.
This method is provided to mark components in PDOs only. - markDeleted(PersistentDomainObject) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Marks an object to be deleted.
This method is provided to mark components in PDOs only. - me() - Method in class org.tentackle.persist.AbstractPersistentObject
- me() - Method in class org.tentackle.persist.AbstractPersistentOperation
- methodCache - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
The PDO method invocation cache.
- methodCache - Variable in class org.tentackle.persist.PersistentOperationClassVariables
-
The operation's method invocation cache.
N
- newId() - Method in class org.tentackle.persist.AbstractPersistentObject
- newInstance(DomainContext) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
-
Creates a new PDO instance of the required class for methods that return a new object.
- newInstance(DomainContext) - Method in class org.tentackle.persist.trip.AbstractPersistentOperationRemoteDelegateImpl
-
Creates a new instance of the required class in the given context for methods that return a new operation.
- newInstance(DomainContext, long) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
-
Selects by ID into a new instance.
- next() - Method in class org.tentackle.persist.ResultSetCursor
-
Moves the cursor to the next row.
If there are no more rows the current row remains unchanged. - next() - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Moves the cursor to the next row.
If there are no more rows the current row remains unchanged. - next() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- nextPdo(T) - Method in class org.tentackle.persist.JoinedSelect
-
Finishes the current PDO and switches to the next.
When selecting into a list, a PDO already in the list is reused. - NormText - Class in org.tentackle.persist
-
A helper class to create a normtext-like string from a user's input.
It is intended to search in normtext columns of PDOs with LIKE or NOT LIKE. - NormText(String) - Constructor for class org.tentackle.persist.NormText
-
Creates a normtext from a search string.
This is usually a user input.
The input will be normalized viaStringNormalizer.normalize(java.lang.String). - notifyCommit(Db, long) - Method in class org.tentackle.persist.PersistenceUtilities
- notifyRollback(Db, long) - Method in class org.tentackle.persist.PersistenceUtilities
- NumberPoolPersistenceImpl - Class in org.tentackle.persist.ns
-
Number pool persistence implementation.
- NumberPoolPersistenceImpl() - Constructor for class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
Creates a number pool without PDO, domain context or session.
- NumberPoolPersistenceImpl(NumberPool) - Constructor for class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
Creates a number pool without domain context or session.
- NumberPoolPersistenceImpl(NumberPool, DomainContext) - Constructor for class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
Creates a number pool.
- NumberPoolPersistenceImpl(NumberPool, Session) - Constructor for class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
Creates a number pool with a session only.
- NumberPoolRemoteDelegate - Interface in org.tentackle.persist.ns.trip
-
Remote delegate for
NumberPoolPersistenceImpl. - NumberPoolRemoteDelegateImpl - Class in org.tentackle.persist.ns.trip
-
Remote delegate implementation for
NumberPoolPersistenceImpl. - NumberPoolRemoteDelegateImpl(RemoteDbSessionImpl, Class, Class) - Constructor for class org.tentackle.persist.ns.trip.NumberPoolRemoteDelegateImpl
-
Creates the remote delegate for
NumberPoolPersistenceImpl. - NumberRangePersistenceImpl - Class in org.tentackle.persist.ns
-
Number range persistence implementation.
- NumberRangePersistenceImpl() - Constructor for class org.tentackle.persist.ns.NumberRangePersistenceImpl
-
Creates a number range without PDO, domain context or session.
- NumberRangePersistenceImpl(NumberRange) - Constructor for class org.tentackle.persist.ns.NumberRangePersistenceImpl
-
Creates a number range without domain context or session.
- NumberRangePersistenceImpl(NumberRange, DomainContext) - Constructor for class org.tentackle.persist.ns.NumberRangePersistenceImpl
-
Creates a number range.
- NumberRangePersistenceImpl(NumberRange, Session) - Constructor for class org.tentackle.persist.ns.NumberRangePersistenceImpl
-
Creates a number range with a session only.
- NumberRangeRemoteDelegate - Interface in org.tentackle.persist.ns.trip
-
Remote delegate for
NumberRangePersistenceImpl. - NumberRangeRemoteDelegateImpl - Class in org.tentackle.persist.ns.trip
-
Remote delegate implementation for
NumberRangePersistenceImpl. - NumberRangeRemoteDelegateImpl(RemoteDbSessionImpl, Class, Class) - Constructor for class org.tentackle.persist.ns.trip.NumberRangeRemoteDelegateImpl
-
Creates the remote delegate for
NumberRangePersistenceImpl.
O
- opClass - Variable in class org.tentackle.persist.trip.AbstractPersistentOperationRemoteDelegateImpl
-
The operation interface class.
- opCv(Class, Class) - Method in class org.tentackle.persist.PersistentClassVariablesFactory
-
Creates operation class variables.
- operation - Variable in class org.tentackle.persist.trip.AbstractPersistentOperationRemoteDelegateImpl
-
Operation with a default domain context associated with the delegate's session.
- operationClass - Variable in class org.tentackle.persist.PersistentOperationClassVariables
-
The associated operation class (i.e., the interface).
- orderBy() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the natural ordering to be appended to a SELECT after "ORDER BY".
- orderBy() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- org.tentackle.persist - package org.tentackle.persist
-
The PDO-aware persistence layer: the base classes of the persistence implementations of PDOs and operations, joins, cursors, token locks and the PDO-aware replacements of the database layer's services.
- org.tentackle.persist.app - package org.tentackle.persist.app
-
Server applications: the base classes for application servers connected directly to the database or to another server.
- org.tentackle.persist.lock - package org.tentackle.persist.lock
-
The default
LockManagerand its persistedDbTokenLocks. - org.tentackle.persist.ns - package org.tentackle.persist.ns
-
Persistence implementations for the number source PDOs (number pools and ranges).
- org.tentackle.persist.ns.trip - package org.tentackle.persist.ns.trip
-
TRIP remote delegates for the number source PDOs.
- org.tentackle.persist.security - package org.tentackle.persist.security
-
Persistence implementation for the security rule PDO.
- org.tentackle.persist.security.trip - package org.tentackle.persist.security.trip
-
TRIP remote delegates for the security rule PDO.
- org.tentackle.persist.trip - package org.tentackle.persist.trip
-
PDO-aware persistence remoting: the TRIP remote delegates for PDOs, operations, cursors and the session administration.
- org.tentackle.persistence - module org.tentackle.persistence
-
The PDO-aware persistence layer.
Implements the persistence side of the PDOs and operations defined inorg.tentackle.pdoon top oforg.tentackle.database, both locally via JDBC and remotely via TRIP.
P
- pdo - Variable in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
-
PDO with a default domain context associated with the delegate's session.
- PdoCacheOperationPersistenceImpl - Class in org.tentackle.persist
-
Persistence delegate for
PdoCacheOperation.
Preloads the PDO caches whose persistence classes are annotated withPreloadCache, either from the database or, for remote sessions, from the server in a single round trip. - PdoCacheOperationPersistenceImpl() - Constructor for class org.tentackle.persist.PdoCacheOperationPersistenceImpl
-
Creates an operation object without a domain context.
- PdoCacheOperationPersistenceImpl(PdoCacheOperation) - Constructor for class org.tentackle.persist.PdoCacheOperationPersistenceImpl
-
Creates an operation object without a domain context.
- PdoCacheOperationPersistenceImpl(PdoCacheOperation, DomainContext) - Constructor for class org.tentackle.persist.PdoCacheOperationPersistenceImpl
-
Creates an operation object.
- PdoCacheOperationPersistenceImpl(PdoCacheOperation, Session) - Constructor for class org.tentackle.persist.PdoCacheOperationPersistenceImpl
-
Creates an operation object without a domain context for a given session.
- PdoCacheOperationRemoteDelegate - Interface in org.tentackle.persist.trip
-
Remote delegate interface for
PdoCacheOperationPersistenceImpl. - PdoCacheOperationRemoteDelegateImpl - Class in org.tentackle.persist.trip
-
Remote delegate implementation for
PdoCacheOperationPersistenceImpl. - PdoCacheOperationRemoteDelegateImpl(RemoteDbSessionImpl, Class, Class) - Constructor for class org.tentackle.persist.trip.PdoCacheOperationRemoteDelegateImpl
-
Creates the remote delegate for
PdoCacheOperationPersistenceImpl. - pdoClass - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
The associated PDO class (i.e., the interface).
- pdoClass - Variable in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
-
The PDO interface class.
- pdoClassBaseName - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
The simple class name of the PDO interface.
- PdoComponentTripFilter - Class in org.tentackle.persist.trip
-
A
TripFilterto serialize PDOs without their related objects. - PdoComponentTripFilter() - Constructor for class org.tentackle.persist.trip.PdoComponentTripFilter
-
Creates the filter.
Usually, the singletonPdoComponentTripFilter.getInstance()is used. - pdoCv(Class, Class, String) - Method in class org.tentackle.persist.PersistentClassVariablesFactory
-
Creates PDO class variables.
- pdoCv(Class, Class, String, PersistentObjectClassVariables, List) - Method in class org.tentackle.persist.PersistentClassVariablesFactory
-
Creates PDO class variables.
- PdoModificationLogFactory - Class in org.tentackle.persist
-
Replaces the default modification log factory to make it PDO compatible.
- PdoModificationLogFactory() - Constructor for class org.tentackle.persist.PdoModificationLogFactory
-
Creates the factory.
- PdoModificationTracker - Class in org.tentackle.persist
-
The modification tracker for the PDO persistence layer.
Replaces theDbModificationTrackerof the database layer to make it PDO-aware. - PdoModificationTracker() - Constructor for class org.tentackle.persist.PdoModificationTracker
-
Creates the PDO tracker.
- PdoModificationTrackerRemoteDelegate - Interface in org.tentackle.persist.trip
-
Remote delegate interface for
PdoModificationTracker. - PdoModificationTrackerRemoteDelegateImpl<T> - Class in org.tentackle.persist.trip
-
Remote delegate implementation for
PdoModificationTracker. - PdoModificationTrackerRemoteDelegateImpl(RemoteDbSessionImpl, Class) - Constructor for class org.tentackle.persist.trip.PdoModificationTrackerRemoteDelegateImpl
-
Creates the remote delegate for the modification tracker.
- PdoRemoteDelegateLocator - Class in org.tentackle.persist.trip
-
PDO-aware implementation of a
RemoteDbDelegateLocator.
Replaces theDbRemoteDelegateLocatorof the database layer to determine the serviced class viaPdoUtilitiesand to treatOperations as operations. - PdoRemoteDelegateLocator() - Constructor for class org.tentackle.persist.trip.PdoRemoteDelegateLocator
-
Creates the remote delegate locator.
- PdoRemoteSessionAdapter - Class in org.tentackle.persist
-
Extended remote session adapter providing PDO-related services.
- PdoRemoteSessionAdapter(RemoteDbSession) - Constructor for class org.tentackle.persist.PdoRemoteSessionAdapter
-
Creates the remote session adapter.
- PdoRemoteSessionFactory - Class in org.tentackle.persist
-
PDO-aware implementation of a remote session factory.
CreatesPdoRemoteSessionAdapters. - PdoRemoteSessionFactory() - Constructor for class org.tentackle.persist.PdoRemoteSessionFactory
-
Creates the remote session factory.
- persist() - Method in class org.tentackle.persist.AbstractPersistentObject
- PersistenceUtilities - Class in org.tentackle.persist
-
Persistence utility methods.
This singleton replacesDbUtilitiesfrom the tentackle-database module to make it PDO-aware. - PersistenceUtilities() - Constructor for class org.tentackle.persist.PersistenceUtilities
-
Creates the persistence utilities.
- PersistentClassVariablesFactory - Class in org.tentackle.persist
-
Factory for class variables.
Replaces and extends theDbClassVariablesFactoryof the database layer to create the class variables for PDOs and operations as well. - PersistentClassVariablesFactory() - Constructor for class org.tentackle.persist.PersistentClassVariablesFactory
-
Creates the class variables factory.
- PersistentObjectClassVariables<T,
P> - Class in org.tentackle.persist -
Extends
DbObjectClassVariablesforAbstractPersistentObjects. - PersistentObjectClassVariables(Class, Class, String) - Constructor for class org.tentackle.persist.PersistentObjectClassVariables
-
Constructs PDO class variables.
- PersistentObjectClassVariables(Class, Class, String, PersistentObjectClassVariables, List) - Constructor for class org.tentackle.persist.PersistentObjectClassVariables
-
Constructs PDO class variables.
- PersistentOperationClassVariables<T,
P> - Class in org.tentackle.persist -
Extends
DbOperationClassVariablesforAbstractPersistentOperations. - PersistentOperationClassVariables(Class, Class) - Constructor for class org.tentackle.persist.PersistentOperationClassVariables
-
Constructs operation class variables.
- persistImpl() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Implementation of persist() bypassing the invocation handler.
Locally, the object is validated before, if not already validated. - persistImpl(T) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Persists a PDO.
- persistImpl(T) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- persistObject(P) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- persistTokenLocked() - Method in class org.tentackle.persist.AbstractPersistentObject
- PreloadCache - Annotation Interface in org.tentackle.persist
-
Annotation for PDO persistence classes containing a preloading, read-only cache.
- preloadCachesFromDatabase(DomainContext) - Method in class org.tentackle.persist.PdoCacheOperationPersistenceImpl
-
Preloads the PDO caches from the database.
- preloadCachesFromRemote(DomainContext) - Method in class org.tentackle.persist.PdoCacheOperationPersistenceImpl
-
Preloads the PDO caches from the remote server.
- preloadInClonedSession(DomainContext, Consumer) - Method in class org.tentackle.persist.PdoCacheOperationPersistenceImpl
-
Preloads the PDO caches in a separate thread on a temporary cloned session.
- preloadPdoCaches() - Method in class org.tentackle.persist.PdoCacheOperationPersistenceImpl
- presetVirgin() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Presets the attributes with initial values if the PDO is persisted the first time.
The method is invoked before the PDO is validated. - previous() - Method in class org.tentackle.persist.ResultSetCursor
-
Moves the cursor to the previous row.
If there is no previous row, the cursor is positioned before the first row. - previous() - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Moves the cursor to the previous row.
If there is no previous row, the cursor is positioned before the first row. - previous() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- PROPERTY_CHECKSECURITY - Static variable in class org.tentackle.persist.PersistentObjectClassVariables
-
Property key to enable or disable the security checks.
R
- readFromResultSetWrapper(ResultSetWrapper) - Method in class org.tentackle.persist.AbstractPersistentObject
- readJoinedRow(ResultSetWrapper, JoinedSelect) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Reads the next row from a result set within a "joined select".
The results may come in any order. - rebuildEpoch(long, Iterable) - Method in class org.tentackle.persist.trip.TripModificationLogSerializer
-
Rebuilds the receiver's dictionary of an epoch.
- RebuildEpochException - Exception Class in org.tentackle.persist.trip
-
Thrown by the receiving
TripModificationLogSerializerif the dictionary of an epoch must be rebuilt. - RebuildEpochException(long, String) - Constructor for exception class org.tentackle.persist.trip.RebuildEpochException
-
Creates a rebuild epoch exception.
- releaseTokenLock() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Releases the token lock.
Use this method if a PDO needs to be unlocked without being persisted. - reload() - Method in class org.tentackle.persist.AbstractPersistentObject
- reload(boolean) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Reloads the object.
- reloadForUpdate() - Method in class org.tentackle.persist.AbstractPersistentObject
- reloadLocks(Db) - Method in class org.tentackle.persist.lock.DefaultLockManager
-
Reloads locks from the database into the internal map.
Invoked to rebuild the map after an unexpected error inDefaultLockManager.update(PersistentDomainObject). - reloadObject() - Method in class org.tentackle.persist.lock.DbTokenLock
- reloadRanges() - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- reloadTokenLocked() - Method in class org.tentackle.persist.AbstractPersistentObject
- RemoteResultSetCursor<T> - Interface in org.tentackle.persist.trip
-
Remote delegate interface for
ResultSetCursor.
The server-side implementation wraps a local cursor, which is created along with the delegate. - RemoteResultSetCursorImpl<T> - Class in org.tentackle.persist.trip
-
Remote delegate implementation for
ResultSetCursor. - RemoteResultSetCursorImpl(RemoteDbSessionImpl, Class) - Constructor for class org.tentackle.persist.trip.RemoteResultSetCursorImpl
-
Creates a remote cursor delegate.
- removeReferencingClass(int, String) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Removes a PDO class referencing this PDO class.
- removeReferencingClass(Class, String) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Removes a PDO class referencing this PDO class.
- requestTokenLock() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Requests a token lock for the current user.
- reset() - Method in class org.tentackle.persist.trip.TripModificationLogSerializer
- resultAll(JoinedSelect) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the result set for all objects in the current context for use in lists.
- resultAllCursor(JoinedSelect) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the result set for all objects in the current context for use in cursors.
Cursors differ from lists because they needResultSet.TYPE_SCROLL_INSENSITIVEset. - resultAllWithExpiredTableSerials(JoinedSelect, long) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the result set for all objects in the current context with a table serial greater than the given serial.
- resultAllWithExpiredTableSerials(JoinedSelect, long, long) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the result set for all objects in the current context with a table serial within a given range.
- resultAny(JoinedSelect, Collection) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the result set for any objects in the current context for given IDs.
Requires a backend supporting theANYarray operator. - resultByNormText(String, JoinedSelect) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the result set for the normtext query.
- resultByNormTextCursor(String, JoinedSelect) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Gets the result set for the normtext query as a cursor.
The result set is scrollable and, if joined, sorted by ID. - ResultSetCursor<T> - Class in org.tentackle.persist
-
A cursor streaming PDOs from a query result.
- ResultSetCursor(DomainContext, RemoteResultSetCursor) - Constructor for class org.tentackle.persist.ResultSetCursor
-
Creates a cursor for a remote session.
- ResultSetCursor(T, ResultSetWrapper) - Constructor for class org.tentackle.persist.ResultSetCursor
-
Creates a cursor for a local session.
- ResultSetCursor(T, ResultSetWrapper, JoinedSelect) - Constructor for class org.tentackle.persist.ResultSetCursor
-
Creates a cursor for a local session.
- ResultSetCursor.FetchList<T> - Class in org.tentackle.persist
-
A list of fetched PDOs.
Adds a closed flag to save a round trip in remote sessions. - revertAttributesToSnapshot(AbstractPersistentObject) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Copies all attributes from a snapshot object back to this object.
- revertAttributesToSnapshot(NumberPoolPersistenceImpl) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
Copies all attributes from a snapshot back to this object.
- revertAttributesToSnapshot(NumberRangePersistenceImpl) - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
-
Copies all attributes from a snapshot back to this object.
- revertAttributesToSnapshot(SecurityPersistenceImpl) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
-
Copies all attributes from a snapshot back to this object.
- revertComponentsToSnapshot(AbstractPersistentObject) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Reverts all components of this object to a given snapshot.
- revertComponentsToSnapshot(NumberPoolPersistenceImpl) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
-
Reverts all components of this object to a given snapshot.
- revertToSnapshot(T) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Reverts the state of this object to the given snapshot.
- rollback(Db) - Method in class org.tentackle.persist.trip.TripModificationLogSerializer
- rollback(Db, long) - Method in class org.tentackle.persist.lock.DefaultLockManager
-
Notifies the lock manager that a transaction has been rolled back.
- rollback(Db, long) - Method in interface org.tentackle.persist.LockManager
-
Notifies the lock manager that a transaction has been rolled back.
S
- save() - Method in class org.tentackle.persist.AbstractPersistentObject
- save(Collection, boolean) - Static method in class org.tentackle.persist.AbstractPersistentObject
-
Saves a collection of PDOs.
This method is provided to save components in PDOs only. - save(PersistentDomainObject) - Static method in class org.tentackle.persist.AbstractPersistentObject
-
Saves a PDO.
This method is provided to save components in PDOs only. - saveImpl() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Implementation of save bypassing the invocation handler.
For remote sessions, the object cannot be used anymore after saving. - saveImpl(T) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Saves a PDO.
- saveImpl(T) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- saveObject(P) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- saveReferencingRelations(boolean) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- scroll(int) - Method in class org.tentackle.persist.ResultSetCursor
-
Moves the cursor a given number of rows.
- scroll(int) - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Moves the cursor a given number of rows.
- scroll(int) - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- SecurityPersistenceImpl - Class in org.tentackle.persist.security
-
Security rule persistence implementation.
- SecurityPersistenceImpl() - Constructor for class org.tentackle.persist.security.SecurityPersistenceImpl
-
Creates a security rule without PDO, domain context or session.
- SecurityPersistenceImpl(Security) - Constructor for class org.tentackle.persist.security.SecurityPersistenceImpl
-
Creates a security rule without domain context or session.
- SecurityPersistenceImpl(Security, DomainContext) - Constructor for class org.tentackle.persist.security.SecurityPersistenceImpl
-
Creates a security rule.
- SecurityPersistenceImpl(Security, Session) - Constructor for class org.tentackle.persist.security.SecurityPersistenceImpl
-
Creates a security rule with a session only.
- SecurityRemoteDelegate - Interface in org.tentackle.persist.security.trip
-
Remote delegate for
SecurityPersistenceImpl. - SecurityRemoteDelegateImpl - Class in org.tentackle.persist.security.trip
-
Remote delegate implementation for
SecurityPersistenceImpl. - SecurityRemoteDelegateImpl(RemoteDbSessionImpl, Class, Class) - Constructor for class org.tentackle.persist.security.trip.SecurityRemoteDelegateImpl
-
Creates the remote delegate for
SecurityPersistenceImpl. - select(long) - Method in class org.tentackle.persist.AbstractPersistentObject
- select(long, boolean, boolean) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Loads a PDO from the database by its unique ID.
IftokenLockedis true, the token lock is requested after the PDO has been loaded. - select(DomainContext, long, boolean, boolean) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Selects a PDO by its ID.
- select(DomainContext, long, boolean, boolean) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectAll() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Selects all records in the current context as a list.
- selectAll(DomainContext) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Selects all PDOs.
- selectAll(DomainContext) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectAllAsCursor() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Selects all records in the current context as a cursor.
- selectAllAsCursor(DomainContext) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Selects all PDOs as a cursor.
- selectAllAsCursor(DomainContext) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectAllCached() - Method in class org.tentackle.persist.AbstractPersistentObject
- selectAllCached() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- selectAllCursorStatementId - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
prepared statement ID for
AbstractPersistentObject.selectAllAsCursor(). - selectAllForCache() - Method in class org.tentackle.persist.AbstractPersistentObject
- selectAllForCache(DomainContext) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Selects all PDOs via the server's cache, if any.
- selectAllForCache(DomainContext) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectAllIdSerial() - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectAllObjects() - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectAllStatementId - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
prepared statement ID for
AbstractPersistentObject.selectAll(). - selectAllWithExpiredTableSerials(long) - Method in class org.tentackle.persist.AbstractPersistentObject
- selectAllWithExpiredTableSerials(long, long) - Method in class org.tentackle.persist.AbstractPersistentObject
- selectAllWithExpiredTableSerials(DomainContext, long) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Selects all PDOs with a table serial greater than the given serial.
- selectAllWithExpiredTableSerials(DomainContext, long) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectAllWithExpiredTableSerials(DomainContext, long, long) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Selects all PDOs with a table serial within a given range.
- selectAllWithExpiredTableSerials(DomainContext, long, long) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectAllWithExpiredTableSerialsStatement2Id - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
prepared statement ID for
AbstractPersistentObject.selectAllWithExpiredTableSerials(long, long). - selectAllWithExpiredTableSerialsStatementId - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
prepared statement ID for
AbstractPersistentObject.selectAllWithExpiredTableSerials(long). - selectAny(Collection) - Method in class org.tentackle.persist.AbstractPersistentObject
- selectAny(DomainContext, Collection) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Selects all PDOs with the given IDs.
- selectAny(DomainContext, Collection) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectAnyCached(Collection) - Method in class org.tentackle.persist.AbstractPersistentObject
- selectAnyCached(Collection) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- selectAnyForCache(Collection) - Method in class org.tentackle.persist.AbstractPersistentObject
- selectAnyForCache(DomainContext, Collection) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Selects all PDOs with the given IDs via the server's cache, if any.
- selectAnyForCache(DomainContext, Collection) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectAnyStatementId - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
prepared statement ID for
AbstractPersistentObject.selectAny(Collection). - selectByDomainContext(int, long) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- selectByDomainContext(DomainContext, int, long) - Method in interface org.tentackle.persist.security.trip.SecurityRemoteDelegate
- selectByDomainContext(DomainContext, int, long) - Method in class org.tentackle.persist.security.trip.SecurityRemoteDelegateImpl
- selectByGrantee(int, long) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- selectByGrantee(DomainContext, int, long) - Method in interface org.tentackle.persist.security.trip.SecurityRemoteDelegate
- selectByGrantee(DomainContext, int, long) - Method in class org.tentackle.persist.security.trip.SecurityRemoteDelegateImpl
- selectByInvertedNormTextCursorStatementId - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
prepared statement ID for
AbstractPersistentObject.selectByNormTextAsCursor(String). - selectByInvertedNormTextStatementId - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
prepared statement ID for
AbstractPersistentObject.selectByNormText(String). - selectByNameRealm(String, String) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- selectByNameRealm(DomainContext, String, String) - Method in interface org.tentackle.persist.ns.trip.NumberPoolRemoteDelegate
- selectByNameRealm(DomainContext, String, String) - Method in class org.tentackle.persist.ns.trip.NumberPoolRemoteDelegateImpl
- selectByNormText(String) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Selects all objects with a given normtext as a list.
- selectByNormText(DomainContext, String) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Selects all PDOs matching a normtext.
- selectByNormText(DomainContext, String) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectByNormTextAsCursor(String) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Selects all objects with a given normtext as a cursor.
- selectByNormTextAsCursor(DomainContext, String) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Selects all PDOs matching a normtext as a cursor.
- selectByNormTextAsCursor(DomainContext, String) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectByNormTextCursorStatementId - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
prepared statement ID for
AbstractPersistentObject.selectByNormTextAsCursor(String). - selectByNormTextStatementId - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
prepared statement ID for
AbstractPersistentObject.selectByNormText(String). - selectByNumberPoolId(long) - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- selectByNumberPoolId(DomainContext, long) - Method in interface org.tentackle.persist.ns.trip.NumberRangeRemoteDelegate
- selectByNumberPoolId(DomainContext, long) - Method in class org.tentackle.persist.ns.trip.NumberRangeRemoteDelegateImpl
- selectByObject(int, long) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- selectByObject(DomainContext, int, long) - Method in interface org.tentackle.persist.security.trip.SecurityRemoteDelegate
- selectByObject(DomainContext, int, long) - Method in class org.tentackle.persist.security.trip.SecurityRemoteDelegateImpl
- selectByObjectClass(String) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- selectByObjectClass(DomainContext, String) - Method in interface org.tentackle.persist.security.trip.SecurityRemoteDelegate
- selectByObjectClass(DomainContext, String) - Method in class org.tentackle.persist.security.trip.SecurityRemoteDelegateImpl
- selectByPdoClassIdAndId(int, long) - Method in class org.tentackle.persist.lock.DbTokenLock
-
Selects by pdoClassId and ID to implement
DbTokenLock.reloadObject()correctly, if IDs are not unique among all PDO classes (which is NOT the default, but applications could use different IdSources / Sequences for PDO classes). - selectByTemplate(AbstractPersistentObject) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Selects an object according to a template object.
- selectByUniqueDomainKey(String) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- selectByUniqueDomainKey(DomainContext, String) - Method in interface org.tentackle.persist.ns.trip.NumberPoolRemoteDelegate
- selectByUniqueDomainKey(DomainContext, String) - Method in class org.tentackle.persist.ns.trip.NumberPoolRemoteDelegateImpl
- selectCached(long) - Method in class org.tentackle.persist.AbstractPersistentObject
- selectCached(long) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- selectCachedOnly(long) - Method in class org.tentackle.persist.AbstractPersistentObject
- selectCachedOnly(long) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- selectForCache(long) - Method in class org.tentackle.persist.AbstractPersistentObject
- selectForCache(DomainContext, long) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Selects a PDO via the server's cache, if any.
- selectForCache(DomainContext, long) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectForUpdate(long) - Method in class org.tentackle.persist.AbstractPersistentObject
- selectLatest(long, int) - Method in class org.tentackle.persist.AbstractPersistentObject
- selectLatest(DomainContext, long, int) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Selects the latest PDOs.
- selectLatest(DomainContext, long, int) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectLatestStatementId - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
prepared statement ID for
AbstractPersistentObject.selectLatest(long, int). - selectObject(long) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectObject(Session, Class, long, boolean) - Method in class org.tentackle.persist.PersistenceUtilities
- selectObjectForUpdate(long) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectTokenLocked(long) - Method in class org.tentackle.persist.AbstractPersistentObject
- selectTokenLocked(DomainContext, long) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Selects a PDO by its ID and requests a token lock.
- selectTokenLocked(DomainContext, long) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- selectTokenLockStatementId - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
prepared statement ID for select in
AbstractPersistentObject.updateTokenLock(Timestamp, long, Timestamp). - serialize(T) - Method in class org.tentackle.persist.trip.TripModificationLogSerializer
- ServerApplication - Class in org.tentackle.persist.app
-
Base class for TRIP application servers.
- ServerApplication(String, String, Class) - Constructor for class org.tentackle.persist.app.ServerApplication
-
Creates an instance of an application server.
- setAllowed(boolean) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- setBegin(long) - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- setClosed(boolean) - Method in class org.tentackle.persist.ResultSetCursor.FetchList
-
Sets the list to be closed.
- setCopy(boolean) - Method in class org.tentackle.persist.AbstractPersistentObject
- setCursor(ResultSetCursor) - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
-
Sets the local cursor.
- setDescription(String) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- setDomainContext(DomainContext) - Method in class org.tentackle.persist.AbstractPersistentObject
- setDomainContext(DomainContext) - Method in class org.tentackle.persist.AbstractPersistentOperation
-
Sets the domain context.
- setDomainContext(DomainContext) - Method in class org.tentackle.persist.AdminExtensionAdapter
- setDomainContext(DomainContext) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- setDomainContext(DomainContext) - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- setDomainContext(DomainContext) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
-
Sets the domain context in the default object.
- setDomainContext(DomainContext) - Method in class org.tentackle.persist.trip.AbstractPersistentOperationRemoteDelegateImpl
-
Sets the domain context in the default operation object.
- setDomainContextClassId(int) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- setDomainContextId(long) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- setDomainContextImmutable(boolean) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets the immutable flag of the domain context.
- setDomainContextImmutable(boolean) - Method in class org.tentackle.persist.AbstractPersistentOperation
-
Sets the immutable flag of the domain context.
- setDomainContextImmutable(boolean) - Method in class org.tentackle.persist.AdminExtensionAdapter
- setDomainContextObject(PersistentDomainObject) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
-
Sets the domain context object this rule is restricted to.
- setEditedBy(long) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets the user editing this object.
Does *NOT* alter isModified() and does not require the object to be mutable. - setEditedExpiry(Timestamp) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets the time when the token should expire.
Does *NOT* alter isModified() and does not require the object to be mutable. - setEditedSince(Timestamp) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets the time since when this object is being edited.
Does *NOT* alter isModified() and does not require the object to be mutable. - setEmbeddedFields(int, PreparedStatementWrapper) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets the fields of an embedded PDO.
Must be overridden by embedded PDOs (usually generated). - setEmbeddingPersistentObject(AbstractPersistentObject, String) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets the embedding PO for this embedded PDO.
- setEnd(long) - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- setExpired(boolean) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets this object's expiration flag.
- setFetchDirection(int) - Method in class org.tentackle.persist.ResultSetCursor
-
Sets the fetch direction.
This is only a hint to the JDBC driver. - setFetchDirection(int) - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Sets the fetch direction.
- setFetchDirection(int) - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- setFetchSize(int) - Method in class org.tentackle.persist.ResultSetCursor
-
Sets the fetch size.
This is the number of rows the cursor will fetch from the server in one batch. - setFetchSize(int) - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Sets the fetch size.
This is the number of rows the cursor will fetch from the server in one batch. - setFetchSize(int) - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- setFields(PreparedStatementWrapper) - Method in class org.tentackle.persist.lock.DbTokenLock
- setFields(PreparedStatementWrapper) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- setFields(PreparedStatementWrapper) - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- setFields(PreparedStatementWrapper) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- setForeignReferencesInitializer(Runnable) - Method in class org.tentackle.persist.PersistentObjectClassVariables
-
Sets the initializer for the foreign references.
The initializer is a runnable that invokesDbObjectClassVariables.addReferencingClass(Class, String)for each foreign reference. - setGrantee(PersistentDomainObject) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
-
Sets the grantee.
- setGranteeClassId(int) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- setGranteeId(long) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- setImmutable(boolean) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- setLockedBy(long) - Method in class org.tentackle.persist.lock.DbTokenLock
-
Sets the attribute lockedBy.
- setLockedSince(Timestamp) - Method in class org.tentackle.persist.lock.DbTokenLock
-
Sets the attribute lockedSince.
- setLockExpiry(Timestamp) - Method in class org.tentackle.persist.lock.DbTokenLock
-
Sets the attribute lockExpiry.
- setLowWaterMark(long) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- setMaxEpochs(int) - Method in class org.tentackle.persist.trip.TripModificationLogSerializer
-
Sets the maximum number of epochs whose dictionaries are kept by the receiver.
- setMessage(String) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- setModified(boolean) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets the modified flag.
- setModified(boolean) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- setModified(boolean) - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- setName(String) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- setNormText(String) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets the normtext.
- setNumberPool(NumberPool) - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- setNumberPoolBlunt(NumberPool) - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
-
Sets the relation numberPool without updating any further attributes.
- setObject(PersistentDomainObject) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
-
Sets the PDO this rule applies to.
Sets the object ID and class ID and clears the object class name, since entity rules are identified by their class ID.
Setting the null object clears the object ID and class ID, leaving the rule without a protected class (and thus invalid) until a class name or class ID is set. - setObjectClassId(int) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- setObjectClassName(String) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- setObjectId(long) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- setOnline(boolean) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- setOperation(T) - Method in class org.tentackle.persist.AbstractPersistentOperation
-
Sets the operation.
- setPdo(T) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets the PDO.
- setPdoClassId(int) - Method in class org.tentackle.persist.lock.DbTokenLock
-
Sets the attribute pdoClassId.
- setPermissions(String) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- setPersistable(boolean) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets the local persistable flag.
- setPriority(int) - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
- setRealm(String) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- setRenewTokenLockRequested(boolean) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets whether to apply or renew the token lock on insert or update.
- setRequestSize(long) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- setRootClassId(int) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets the class ID of the root entity this component belongs to.
- setRootId(long) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets the ID of the root entity this component belongs to.
- setRow(int) - Method in class org.tentackle.persist.ResultSetCursor
-
Sets the cursor to a given row.
Row numbers start at 1. - setRow(int) - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Sets the cursor to a given row.
Row numbers start at 1. - setRow(int) - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- setSession(Session) - Method in class org.tentackle.persist.AbstractPersistentOperation
- setSession(Session) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- setSession(Session) - Method in class org.tentackle.persist.ns.NumberRangePersistenceImpl
- setSession(Session) - Method in class org.tentackle.persist.PdoModificationTracker
- setSessionInfo(SessionInfo) - Method in class org.tentackle.persist.app.AbstractServerApplication
- setTransientData(Object) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Sets the optional transient data object.
The default implementation does nothing. - setUplink(String) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- startTripServer() - Method in class org.tentackle.persist.app.ServerApplication
-
Starts the TRIP server.
The default implementation just doestripServer.start(). - startup() - Method in class org.tentackle.persist.app.AbstractServerApplication
- startup() - Method in class org.tentackle.persist.app.ServerApplication
- superClassVariables - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
The class variables of the parent class.
null if not inherited.
T
- tableAlias - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
The table alias to be used in joined select statements.
- toDiagnosticString() - Method in class org.tentackle.persist.lock.DbTokenLock
-
Creates a diagnostic string for logging.
- toGenericString() - Method in class org.tentackle.persist.AbstractPersistentObject
- TokenLock - Interface in org.tentackle.persist
-
A token lock as maintained by the
LockManager.
Mirrors the token lock attributes (editedBy, editedSince and editedExpiry) of a PDO. - toList() - Method in class org.tentackle.persist.ResultSetCursor
-
Returns the PDOs of this cursor as a list.
The cursor is rewound to the first row before. - toList() - Method in interface org.tentackle.persist.trip.RemoteResultSetCursor
-
Returns the PDOs of this cursor as a list.
The cursor is rewound to the first row before. - toList() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- toList(List) - Method in class org.tentackle.persist.ResultSetCursor
-
Rewinds the cursor and adds all PDOs to a list.
- toListAndClose() - Method in class org.tentackle.persist.ResultSetCursor
-
Returns the PDOs of this cursor as a list and closes this cursor.
- toString() - Method in class org.tentackle.persist.PersistentObjectClassVariables
- toString() - Method in class org.tentackle.persist.security.SecurityPersistenceImpl
-
Returns a string representation of this rule for debugging purposes.
- toString() - Method in class org.tentackle.persist.trip.RemoteResultSetCursorImpl
- transferTokenLock(long) - Method in class org.tentackle.persist.AbstractPersistentObject
- transferTokenLock(T, long) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Transfers a token lock to another user.
- transferTokenLock(T, long) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- transferTokenLockStatementId - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
prepared statement ID for
AbstractPersistentObject.transferTokenLock(long). - TripModificationLogSerializer - Class in org.tentackle.persist.trip
-
A
ModificationLogSerializerbased on TRIP. - TripModificationLogSerializer() - Constructor for class org.tentackle.persist.trip.TripModificationLogSerializer
-
Creates a serializer with the default limits.
- TripModificationLogSerializer(int, Duration) - Constructor for class org.tentackle.persist.trip.TripModificationLogSerializer
-
Creates a serializer.
- TX_DELETE_ALL_IN_CONTEXT - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
delete all in context.
- TX_DELETE_TOKENLOCKED - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
delete a token-locked object.
- TX_INSERT_TOKENLOCKED - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
insert a token-locked object.
- TX_SAVE_COPY_IN_CONTEXT - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
save copy in context.
- TX_SELECT_TOKENLOCKED - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
select token-locked.
- TX_TRANSFER_TOKENLOCK - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
transfer token lock.
- TX_UPDATE_TOKENLOCK - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
update token lock.
- TX_UPDATE_TOKENLOCK_ONLY - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
update token lock only.
- TX_UPDATE_TOKENLOCKED - Static variable in class org.tentackle.persist.AbstractPersistentObject
-
update a token-locked object.
U
- update(T) - Method in class org.tentackle.persist.lock.DefaultLockManager
-
Updates the token lock.
The method is invoked from within a transaction after the PDO has been persisted successfully. - update(T) - Method in interface org.tentackle.persist.LockManager
-
Updates the token lock.
The method is invoked from within a transaction after the PDO has been persisted successfully. - updateAndSetSerial(long, long) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- updateImpl(DbObjectClassVariables, SqlSupplier) - Method in class org.tentackle.persist.AbstractPersistentObject
- updateNormText() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Updates the normtext attribute if normtext is provided by this PDO.
- updateObject() - Method in class org.tentackle.persist.AbstractPersistentObject
- updateObject(P) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- updatePlain(P) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- updateRootContext() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Updates the root context.
Method is used after deserialization. - updateSerial(long, long) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- updateSerialAndTableSerial(long, long, long) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- updateTokenLock(Timestamp) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Updates the token lock columns in the database for the current user.
Same asAbstractPersistentObject.updateTokenLock(Timestamp, long, Timestamp)with the user ID of the domain context's session info and the current time. - updateTokenLock(Timestamp, long, Timestamp) - Method in class org.tentackle.persist.AbstractPersistentObject
-
Updates the token lock columns in the database.
This method will not log modification and not update the serial counter. - updateTokenLock(DomainContext, long, Timestamp, long, Timestamp) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Requests or releases a token lock.
- updateTokenLock(DomainContext, long, Timestamp, long, Timestamp) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- updateTokenLockOnly() - Method in class org.tentackle.persist.AbstractPersistentObject
-
Updates the token lock attributes to persistent storage.
No check is done whether locked or not, and there is no serial update and no modification log. - updateTokenLockOnly(DomainContext, long, long, Timestamp, Timestamp) - Method in interface org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegate
-
Updates the token lock columns only.
- updateTokenLockOnly(DomainContext, long, long, Timestamp, Timestamp) - Method in class org.tentackle.persist.trip.AbstractPersistentObjectRemoteDelegateImpl
- updateTokenLockOnlyStatementId - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
prepared statement ID for
AbstractPersistentObject.updateTokenLockOnly(). - updateTokenLockStatementId - Variable in class org.tentackle.persist.PersistentObjectClassVariables
-
prepared statement ID for
AbstractPersistentObject.updateTokenLock(Timestamp, long, Timestamp).
V
- validate() - Method in class org.tentackle.persist.AbstractPersistentObject
- validate(String, ValidationScope) - Method in class org.tentackle.persist.AbstractPersistentObject
- validate(String, ValidationScope) - Method in class org.tentackle.persist.ns.NumberPoolPersistenceImpl
- validateValidators() - Method in class org.tentackle.persist.app.AbstractServerApplication
-
Validates the validators.
The default implementation loads all field- and object-Validators of all PDO classes and invokesValidator.validate().
W
- writeResetModificationLog(Db) - Method in class org.tentackle.persist.trip.TripModificationLogSerializer
-
Writes the
DbModificationType.RESETmodlog.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form