Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractApplication - Class in org.tentackle.app
-
Base class for all kinds of Tentackle applications.
- AbstractApplication(String, String) - Constructor for class org.tentackle.app.AbstractApplication
-
Super constructor for all derived classes.
Detects whether application is running within a container or deployed by JNLP (webstart). - AbstractClientApplication - Class in org.tentackle.app
-
Base class for client applications.
- AbstractClientApplication(String, String) - Constructor for class org.tentackle.app.AbstractClientApplication
-
Creates a client application.
- AbstractDomainServiceAnnotationProcessor - Class in org.tentackle.apt.pdo
-
Base class for DomainObjectServiceAnnotationProcessor and DomainOperationServiceAnnotationProcessor.
- AbstractDomainServiceAnnotationProcessor() - Constructor for class org.tentackle.apt.pdo.AbstractDomainServiceAnnotationProcessor
-
Creates the processor.
- AbstractNonPdoPermission - Class in org.tentackle.security.permissions
-
Abstract permission applicable to non-PDOs.
- AbstractNonPdoPermission() - Constructor for class org.tentackle.security.permissions.AbstractNonPdoPermission
-
Parent constructor.
- AbstractOperationFactory - Class in org.tentackle.pdo
-
Base implementation of a
OperationFactory
. - AbstractOperationFactory() - Constructor for class org.tentackle.pdo.AbstractOperationFactory
-
Parent constructor.
- AbstractPdoFactory - Class in org.tentackle.pdo
-
Base implementation of a
PdoFactory
. - AbstractPdoFactory() - Constructor for class org.tentackle.pdo.AbstractPdoFactory
-
Parent constructor.
- AbstractPdoPermission - Class in org.tentackle.security.permissions
-
Abstract permission applicable to PDOs.
- AbstractPdoPermission() - Constructor for class org.tentackle.security.permissions.AbstractPdoPermission
-
Parent constructor.
- AbstractPermission - Class in org.tentackle.security.permissions
-
Abstract permission.
- AbstractPermission() - Constructor for class org.tentackle.security.permissions.AbstractPermission
-
Parent constructor.
- accept(LogoutEvent) - Method in class org.tentackle.app.LogoutEventHandler
- activateStatistics() - Method in class org.tentackle.app.AbstractApplication
-
Activate statistics.
Recommended during development. - add(T) - Method in class org.tentackle.pdo.PdoCache
-
Adds an object to the cache.
- add(T) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Adds an object to the index.
Does not throw an exception if it is already in cache. - addIndex(PdoCacheIndex<T, ?>) - Method in class org.tentackle.pdo.PdoCache
-
Add an index to cache.
The application need not invoke addIndex explicitly. - addIndexIfNotAssigned(PdoCacheIndex<T, ?>) - Method in class org.tentackle.pdo.PdoCache
-
Adds an index if not already added.
- addToMissing(PdoCacheIndex.CacheKey) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Adds the key to the set of missing PDOs.
- addUnique(T) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Adds a unique object to the index.
Unique violations usually indicate an error in comparing contexts or that the context of a cached object was changed accidentally. - AdminExtension - Interface in org.tentackle.pdo
-
Remote session extension providing admin services for the middle tier.
- AdminExtension.SessionData - Interface in org.tentackle.pdo
-
Provides information about a logged in client session.
- AllPermission - Interface in org.tentackle.security.permissions
-
Permission that represents all other permissions.
- AllPermissionImpl - Class in org.tentackle.security.permissions
-
Permission that represents all other permissions.
- AllPermissionImpl() - Constructor for class org.tentackle.security.permissions.AllPermissionImpl
-
Creates the "all" permission.
- AN_ALLOWED - Static variable in interface org.tentackle.security.pdo.SecurityPersistence
-
attribute name for database column 'allowed'.
- AN_BEGIN - Static variable in interface org.tentackle.ns.pdo.NumberRangePersistence
-
attribute name for database column 'rbegin'.
- AN_DESCRIPTION - Static variable in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
attribute name for database column 'description'.
- AN_DOMAINCONTEXTCLASSID - Static variable in interface org.tentackle.security.pdo.SecurityPersistence
-
attribute name for database column 'contextclassid'.
- AN_DOMAINCONTEXTID - Static variable in interface org.tentackle.security.pdo.SecurityPersistence
-
attribute name for database column 'contextid'.
- AN_END - Static variable in interface org.tentackle.ns.pdo.NumberRangePersistence
-
attribute name for database column 'rend'.
- AN_GRANTEECLASSID - Static variable in interface org.tentackle.security.pdo.SecurityPersistence
-
attribute name for database column 'granteeclassid'.
- AN_GRANTEEID - Static variable in interface org.tentackle.security.pdo.SecurityPersistence
-
attribute name for database column 'granteeid'.
- AN_LOWWATERMARK - Static variable in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
attribute name for database column 'lowmark'.
- AN_MESSAGE - Static variable in interface org.tentackle.security.pdo.SecurityPersistence
-
attribute name for database column 'message'.
- AN_NAME - Static variable in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
attribute name for database column 'name'.
- AN_NUMBERPOOLID - Static variable in interface org.tentackle.ns.pdo.NumberRangePersistence
-
attribute name for database column 'poolid'.
- AN_OBJECTCLASSID - Static variable in interface org.tentackle.security.pdo.SecurityPersistence
-
attribute name for database column 'objectclassid'.
- AN_OBJECTCLASSNAME - Static variable in interface org.tentackle.security.pdo.SecurityPersistence
-
attribute name for database column 'objectclass'.
- AN_OBJECTID - Static variable in interface org.tentackle.security.pdo.SecurityPersistence
-
attribute name for database column 'objectid'.
- AN_ONLINE - Static variable in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
attribute name for database column 'poolonline'.
- AN_PERMISSIONS - Static variable in interface org.tentackle.security.pdo.SecurityPersistence
-
attribute name for database column 'permissions'.
- AN_PRIORITY - Static variable in interface org.tentackle.security.pdo.SecurityPersistence
-
attribute name for database column 'secprio'.
- AN_REALM - Static variable in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
attribute name for database column 'realm'.
- AN_REQUESTSIZE - Static variable in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
attribute name for database column 'reqsize'.
- AN_UPLINK - Static variable in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
attribute name for database column 'uplink'.
- Application - Interface in org.tentackle.app
-
Tentackle application.
- appliesTo(Class<?>) - Method in interface org.tentackle.security.Permission
-
Determines whether this permission applies to given class or instances of it.
- appliesTo(Class<?>) - Method in class org.tentackle.security.permissions.AbstractNonPdoPermission
- appliesTo(Class<?>) - Method in class org.tentackle.security.permissions.AbstractPdoPermission
- appliesTo(Class<?>) - Method in class org.tentackle.security.permissions.AllPermissionImpl
- applyProperties(Properties) - Method in class org.tentackle.app.AbstractApplication
-
Applies the given properties.
If the given properties are different from the application properties, they will be copied to the application properties. - applyProperties(Properties) - Method in interface org.tentackle.app.Application
-
Applies further application properties.
If the given properties are different from the application properties, they will be copied to the application properties. - applyTo(Collection<? extends DomainContextDependable>) - Method in interface org.tentackle.pdo.DomainContext
-
Sets the context in a list of
DomainContextDependable
s. - applyTo(DomainContextDependable) - Method in interface org.tentackle.pdo.DomainContext
-
Sets the context in a
DomainContextDependable
.
The method invokesobj.setDomainContext()
only if the context really differs. - assertDomainContextMutable() - Method in class org.tentackle.pdo.DummyPersistentOperation
-
Asserts that the domain context is mutable.
- assertPermissions() - Method in class org.tentackle.pdo.DefaultDomainContext
- assertPermissions() - Method in interface org.tentackle.pdo.DomainContext
-
Asserts that this context is allowed to be used by the current user.
Only invoked when session is updated after deserialization (objects traveling between JVMs). - assertRemoteSecurityManagerInitialized() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Makes sure that the remote security manager is up-to-date.
- assignCache(PdoCache<T>) - Method in class org.tentackle.pdo.PdoCacheIndex
-
maintain the link to the cache (package scope because implementation detail that cannot be changed)
- ATTRIBUTE - Enum constant in enum class org.tentackle.pdo.PdoMember.Type
-
member is an attribute.
- attributesModified() - Method in interface org.tentackle.pdo.PersistentObject
-
Determines whether this object got some of its attributes modified.
It does not check whether some of its components are modified!
B
- begin() - Method in record class org.tentackle.ns.NumberSource.Range
-
Returns the value of the
begin
record component.
C
- cachedOnly() - Element in annotation interface org.tentackle.pdo.NoTransaction
-
Transactions must be avoided only if the PDO is cached.
- CL_NAME - Static variable in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
maximum number of characters for 'name'.
- CL_OBJECTCLASSNAME - Static variable in interface org.tentackle.security.pdo.SecurityPersistence
-
maximum number of characters for 'objectClassName'.
- CL_PERMISSIONS - Static variable in interface org.tentackle.security.pdo.SecurityPersistence
-
maximum number of characters for 'permissions'.
- CL_REALM - Static variable in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
maximum number of characters for 'realm'.
- cleanup() - Method in class org.tentackle.app.AbstractApplication
-
Cleans up resources.
Invoked fromstop(int, java.lang.Throwable)
- clear() - Method in class org.tentackle.pdo.PdoCacheIndex
-
Clears the contents of the cache index.
- clearMissing() - Method in class org.tentackle.pdo.PdoCacheIndex
-
Clears all keys for missing PDOs.
- clearStatistics() - Method in class org.tentackle.pdo.PdoCache
-
Clears the cache statistics.
- clearStatistics() - Method in class org.tentackle.pdo.PdoCacheIndex
-
Clears the cache statistics.
- clearThreadLocalSessionContext() - Method in class org.tentackle.pdo.DefaultDomainContext
- clearThreadLocalSessionContext() - Method in interface org.tentackle.pdo.DomainContext
-
Clears the cached clone of this context.
Forces cloning on nextDomainContext.getThreadLocalSessionContext()
. - clone() - Method in class org.tentackle.pdo.DefaultDomainContext
- clone() - Method in interface org.tentackle.pdo.DomainContext
-
Clones this context.
- clone(String) - Method in class org.tentackle.pdo.DefaultDomainContext
- clone(String) - Method in interface org.tentackle.pdo.DomainContext
-
Clones this context with another context name.
- cloneKeepRoot() - Method in class org.tentackle.pdo.DefaultDomainContext
- cloneKeepRoot() - Method in interface org.tentackle.pdo.DomainContext
-
Clones this context.
Same asDomainContext.clone()
, but keeps the root entity, if any is set. - cloneKeepRoot(String) - Method in class org.tentackle.pdo.DefaultDomainContext
- cloneKeepRoot(String) - Method in interface org.tentackle.pdo.DomainContext
-
Clones this context with another context name.
Same asDomainContext.clone(String)
, but keeps the root entity, if any is set. - compareTo(DomainContext) - Method in class org.tentackle.pdo.DefaultDomainContext
-
Compares this domain context with another domain context.
The default implementation just compares the class, the contextId and the session.
Checking against the null context returns 1. - compareTo(PdoCacheIndex.CacheKey) - Method in class org.tentackle.pdo.PdoCacheIndex.CacheKey
- compareTo(Permission) - Method in class org.tentackle.security.permissions.AbstractPermission
- configure() - Method in class org.tentackle.app.AbstractApplication
-
Do anything what's necessary after the connection has been established.
The default creates the modification tracker (but does not start it), and configures the preferences and security manager. - configureModificationTracker() - Method in class org.tentackle.app.AbstractApplication
-
Configures the modification tracker singleton.
- configurePreferences() - Method in class org.tentackle.app.AbstractApplication
-
Configures the preferences.
- configureSecurityManager() - Method in class org.tentackle.app.AbstractApplication
-
Configures the security manager.
- configureSessionInfo(SessionInfo) - Method in class org.tentackle.app.ConsoleApplication
-
Configures the session info.
- ConsoleApplication - Class in org.tentackle.app
-
Abstract class to handle the application's lifecycle for a console application (no gui).
- ConsoleApplication(String, String) - Constructor for class org.tentackle.app.ConsoleApplication
-
Creates the console application.
- containsPattern(String) - Method in interface org.tentackle.pdo.PersistentObject
-
Searches for a "pattern" in this object.
The default implementation looks for the pattern in the normtext. - contextToString() - Method in interface org.tentackle.security.pdo.SecurityDomain
-
Gets the domain context as a string.
- create(Class<T>) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(Class<T>) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(Class<T>) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation without any domain context or session.
- create(Class<T>) - Static method in class org.tentackle.pdo.Pdo
-
Creates a PDO.
- create(Class<T>) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO without any domain context or session.
- create(Class<T>, DomainContext) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(Class<T>, DomainContext) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(Class<T>, DomainContext) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation.
- create(Class<T>, DomainContext) - Static method in class org.tentackle.pdo.Pdo
-
Creates a PDO.
- create(Class<T>, DomainContext) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO.
- create(Class<T>, DomainContext, DomainObject<T>) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(Class<T>, DomainContext, DomainObject<T>) - Static method in class org.tentackle.pdo.Pdo
-
Creates a PDO for a given domain delegate.
- create(Class<T>, DomainContext, DomainObject<T>) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO for a given domain delegate.
- create(Class<T>, DomainContext, DomainOperation<T>) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(Class<T>, DomainContext, DomainOperation<T>) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation for a given domain delegate.
- create(Class<T>, PersistentObject<T>) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(Class<T>, PersistentObject<T>) - Static method in class org.tentackle.pdo.Pdo
-
Creates a PDO for a given persistence delegate.
- create(Class<T>, PersistentObject<T>) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO for a given persistence delegate.
- create(Class<T>, PersistentObject<T>, DomainObject<T>) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(Class<T>, PersistentObject<T>, DomainObject<T>) - Static method in class org.tentackle.pdo.Pdo
-
Creates a PDO for given delegates.
- create(Class<T>, PersistentObject<T>, DomainObject<T>) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO for given delegates.
- create(Class<T>, PersistentOperation<T>) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(Class<T>, PersistentOperation<T>) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation for a given persistence delegate.
- create(Class<T>, PersistentOperation<T>, DomainOperation<T>) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(Class<T>, PersistentOperation<T>, DomainOperation<T>) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation for given delegates.
- create(Class<T>, Session) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(Class<T>, Session) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(Class<T>, Session) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation.
- create(Class<T>, Session) - Static method in class org.tentackle.pdo.Pdo
-
Creates a PDO.
- create(Class<T>, Session) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO.
- create(Class<T>, Session, DomainObject<T>) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(Class<T>, Session, DomainObject<T>) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO for a given domain delegate.
- create(Class<T>, Session, DomainOperation<T>) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(Class<T>, Session, DomainOperation<T>) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation for a given domain delegate.
- create(String) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(String) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(String) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation without any domain context or session.
- create(String) - Static method in class org.tentackle.pdo.Pdo
-
Creates a PDO.
- create(String) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO without any domain context or session.
- create(String, DomainContext) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(String, DomainContext) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(String, DomainContext) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation.
- create(String, DomainContext) - Static method in class org.tentackle.pdo.Pdo
-
Creates a PDO.
- create(String, DomainContext) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO.
- create(String, DomainContext, DomainObject<T>) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(String, DomainContext, DomainObject<T>) - Static method in class org.tentackle.pdo.Pdo
-
Creates a PDO for a given domain delegate.
- create(String, DomainContext, DomainObject<T>) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO for a given domain delegate.
- create(String, DomainContext, DomainOperation<T>) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(String, DomainContext, DomainOperation<T>) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation for a given domain delegate.
- create(String, PersistentObject<T>) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(String, PersistentObject<T>) - Static method in class org.tentackle.pdo.Pdo
-
Creates a PDO for a given persistence delegate.
- create(String, PersistentObject<T>) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO for a given persistence delegate.
- create(String, PersistentObject<T>, DomainObject<T>) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(String, PersistentObject<T>, DomainObject<T>) - Static method in class org.tentackle.pdo.Pdo
-
Creates a PDO for given delegates.
- create(String, PersistentObject<T>, DomainObject<T>) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO for given delegates.
- create(String, PersistentOperation<T>) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(String, PersistentOperation<T>) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation for a given persistence delegate.
- create(String, PersistentOperation<T>, DomainOperation<T>) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(String, PersistentOperation<T>, DomainOperation<T>) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation for given delegates.
- create(String, Session) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(String, Session) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(String, Session) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation for a session only.
- create(String, Session) - Static method in class org.tentackle.pdo.Pdo
-
Creates a PDO.
- create(String, Session) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO for a session only.
- create(String, Session, DomainObject<T>) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(String, Session, DomainObject<T>) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO for a given domain delegate.
- create(String, Session, DomainOperation<T>) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(String, Session, DomainOperation<T>) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation for a given domain delegate.
- create(Session) - Method in class org.tentackle.pdo.DefaultDomainContextFactory
- create(Session) - Method in interface org.tentackle.pdo.DomainContextFactory
-
Creates a mutable domain context.
- create(Session, boolean) - Method in class org.tentackle.pdo.DefaultDomainContextFactory
- create(Session, boolean) - Method in interface org.tentackle.pdo.DomainContextFactory
-
Creates a domain context.
- create(T) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(T) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(T) - Method in class org.tentackle.pdo.DefaultDomainContextFactory
- create(T) - Method in interface org.tentackle.pdo.DomainContextFactory
-
Creates a domain context for a given context root PDO.
- create(T) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation.
- create(T) - Static method in class org.tentackle.pdo.Pdo
-
Creates a PDO.
- create(T) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO.
- create(T, String) - Method in class org.tentackle.pdo.AbstractOperationFactory
- create(T, String) - Method in class org.tentackle.pdo.AbstractPdoFactory
- create(T, String) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates an operation within a sub context.
If the current context is already within the given context name, the result is equivalent toOperationFactory.create(Operation)
. - create(T, String) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates a PDO within a sub context.
If the current context is already within the given context name, the result is equivalent toPdoFactory.create(PersistentDomainObject)
. - createAcceptedSecurityResult(String, boolean) - Method in class org.tentackle.security.DefaultSecurityManager
-
Creates an accepting security result.
- createCache(Class<T>, boolean, boolean, boolean) - Method in class org.tentackle.pdo.DefaultPdoCacheFactory
- createCache(Class<T>, boolean, boolean, boolean) - Static method in class org.tentackle.pdo.Pdo
-
Creates a PDO-cache.
Multiple calls on this method return the same object reference, since PDO-caches are singletons per PDO-type. - createCache(Class<T>, boolean, boolean, boolean) - Method in interface org.tentackle.pdo.PdoCacheFactory
-
Creates a PDO-cache.
Multiple calls on this method return the same object reference, since PDO-caches are singletons per PDO-type. - createCacheIndex(String, BiFunction<DomainContext, C, T>, Function<T, C>) - Method in class org.tentackle.pdo.DefaultPdoCacheFactory
- createCacheIndex(String, BiFunction<DomainContext, C, T>, Function<T, C>) - Static method in class org.tentackle.pdo.Pdo
-
Creates an index for a PDO-cache.
- createCacheIndex(String, BiFunction<DomainContext, C, T>, Function<T, C>) - Method in interface org.tentackle.pdo.PdoCacheFactory
-
Creates an index for a PDO-cache.
- createCloseHandler() - Method in class org.tentackle.pdo.DefaultPdoCacheFactory
-
Creates the session close handler.
- createDeniedSecurityResult(String, boolean) - Method in class org.tentackle.security.DefaultSecurityManager
-
Creates a denying security result.
- createDomainContext() - Static method in class org.tentackle.pdo.Pdo
-
Creates a domain context with thread-local session.
- createDomainContext(Session) - Method in class org.tentackle.app.AbstractApplication
-
Creates the domain context.
Override this method if the application uses a subclass of DomainContext. - createDomainContext(Session) - Static method in class org.tentackle.pdo.Pdo
-
Creates a domain context.
- createDomainContext(Session, boolean) - Static method in class org.tentackle.pdo.Pdo
-
Creates a domain context.
- createDomainDelegate(String) - Method in class org.tentackle.pdo.AbstractOperationFactory
- createDomainDelegate(String) - Method in class org.tentackle.pdo.AbstractPdoFactory
- createDomainDelegate(String) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates the delegate implementing the domain layer.
- createDomainDelegate(String) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates the delegate implementing the domain layer.
- createIdIndex() - Method in class org.tentackle.pdo.PdoCache
-
Creates the ID index.
- createInvocationHandler(Class<T>) - Method in class org.tentackle.pdo.AbstractOperationFactory
-
Creates an operation invocation handler for given class.
Override this method if you need an application-specific invocation handler. - createInvocationHandler(Class<T>) - Method in class org.tentackle.pdo.AbstractPdoFactory
-
Creates a PDO invocation handler for given class.
Override this method if you need an application-specific invocation handler. - createModificationListener() - Method in class org.tentackle.security.DefaultSecurityManager
-
Creates the modification listener.
- createOperation(Class<T>) - Static method in class org.tentackle.pdo.Pdo
-
Creates an operation.
- createOperation(Class<T>, DomainContext) - Static method in class org.tentackle.pdo.Pdo
-
Creates an operation.
- createOperation(Class<T>, DomainContext, DomainOperation<T>) - Static method in class org.tentackle.pdo.Pdo
-
Creates an operation for a given domain delegate.
- createOperation(Class<T>, PersistentOperation<T>) - Static method in class org.tentackle.pdo.Pdo
-
Creates an operation for a given persistence delegate.
- createOperation(Class<T>, PersistentOperation<T>, DomainOperation<T>) - Static method in class org.tentackle.pdo.Pdo
-
Creates an operation for given delegates.
- createOperation(Class<T>, Session) - Static method in class org.tentackle.pdo.Pdo
-
Creates an operation.
- createOperation(String, DomainContext) - Static method in class org.tentackle.pdo.Pdo
-
Creates an operation.
- createOperation(String, DomainContext, DomainOperation<T>) - Static method in class org.tentackle.pdo.Pdo
-
Creates an operation for a given domain delegate.
- createOperation(String, PersistentOperation<T>) - Static method in class org.tentackle.pdo.Pdo
-
Creates an operation for a given persistence delegate.
- createOperation(String, PersistentOperation<T>, DomainOperation<T>) - Static method in class org.tentackle.pdo.Pdo
-
Creates an operation for given delegates.
- createOperation(String, Session) - Static method in class org.tentackle.pdo.Pdo
-
Creates an operation.
- createOperation(T) - Static method in class org.tentackle.pdo.Pdo
-
Creates an operation.
- createPersistenceDelegate(String) - Method in class org.tentackle.pdo.AbstractOperationFactory
- createPersistenceDelegate(String) - Method in class org.tentackle.pdo.AbstractPdoFactory
- createPersistenceDelegate(String) - Method in interface org.tentackle.pdo.OperationFactory
-
Creates the delegate implementing the persistence layer.
- createPersistenceDelegate(String) - Method in interface org.tentackle.pdo.PdoFactory
-
Creates the delegate implementing the persistence layer.
- createSecurityInstance(DomainContext) - Method in class org.tentackle.security.DefaultSecurityManager
-
Creates a security instance.
- createSecurityManager() - Method in class org.tentackle.security.DefaultSecurityFactory
-
Creates the security manager.
- createSession() - Static method in class org.tentackle.pdo.Pdo
-
Creates a session with a default session info
"backend"
. - createSession(SessionInfo) - Method in class org.tentackle.app.AbstractApplication
-
Creates a session.
- createSession(SessionInfo) - Static method in class org.tentackle.pdo.Pdo
-
Creates a session.
- createSessionInfo() - Static method in class org.tentackle.pdo.Pdo
-
Creates a session info from the default property file
"backend"
holding the connection parameters. - createSessionInfo(String) - Static method in class org.tentackle.pdo.Pdo
-
Creates a session info from a property file holding the connection parameters.
- createSessionInfo(String, char[], String) - Method in class org.tentackle.app.AbstractApplication
-
Creates the sessionInfo.
Presets the attributes like locale, timezone, vm-, os- and host-info. - createSessionInfo(String, char[], String) - Static method in class org.tentackle.pdo.Pdo
-
Creates a session info from a username, password and property file holding the connection parameters.
- createSessionInfo(EncryptedProperties) - Static method in class org.tentackle.pdo.Pdo
-
Creates a session info from a properties object.
- createSnapshot(T) - Static method in class org.tentackle.pdo.Pdo
-
Creates a snapshot from a pdo.
- createValidContext() - Method in interface org.tentackle.pdo.DomainContextDependable
-
Creates a valid context for this object.
Useful if the object has been loaded without a context or to make the least significant context the object can live in.
The returned context is always a new context. - createValidContext() - Method in class org.tentackle.pdo.DummyPersistentOperation
-
Creates a valid context for this object.
Useful if the object has been loaded without a context or to make the least significant context the object can live in.
The returned context is always a new context.
D
- DefaultDomainContext - Class in org.tentackle.pdo
-
The default application's domain context.
- DefaultDomainContext(Session) - Constructor for class org.tentackle.pdo.DefaultDomainContext
-
Creates a mutable default context.
- DefaultDomainContext(Session, boolean) - Constructor for class org.tentackle.pdo.DefaultDomainContext
-
Creates a default context.
- DefaultDomainContextFactory - Class in org.tentackle.pdo
-
Default domain context factory.
- DefaultDomainContextFactory() - Constructor for class org.tentackle.pdo.DefaultDomainContextFactory
-
Creates the domain context factory.
- DefaultNumberSource - Class in org.tentackle.ns
-
The default implementation of a number source.
Based onNumberPool
andNumberRange
.
This number source does not implement any logic to access an uplink source, and thus needs to be extended if an uplink is required. - DefaultNumberSource(NumberPool) - Constructor for class org.tentackle.ns.DefaultNumberSource
-
Creates a number source from a given pool.
- DefaultNumberSourceFactory - Class in org.tentackle.ns
-
The default number source factory based on
DefaultNumberSource
. - DefaultNumberSourceFactory() - Constructor for class org.tentackle.ns.DefaultNumberSourceFactory
-
Creates the number source factory.
- DefaultOperationFactory - Class in org.tentackle.pdo
-
The default operation factory.
- DefaultOperationFactory() - Constructor for class org.tentackle.pdo.DefaultOperationFactory
-
Creates an operation factory.
- DefaultPdoCacheFactory - Class in org.tentackle.pdo
-
The default Pdo-Cache factory.
- DefaultPdoCacheFactory() - Constructor for class org.tentackle.pdo.DefaultPdoCacheFactory
-
Creates a cache factory.
- DefaultPdoFactory - Class in org.tentackle.pdo
-
The default PDO factory.
- DefaultPdoFactory() - Constructor for class org.tentackle.pdo.DefaultPdoFactory
-
Creates a pdo factory.
- DefaultSecurityFactory - Class in org.tentackle.security
-
Default implementation of a security manager factory.
- DefaultSecurityFactory() - Constructor for class org.tentackle.security.DefaultSecurityFactory
-
Creates the factory.
- DefaultSecurityManager - Class in org.tentackle.security
-
An ACL-based SecurityManager.
- DefaultSecurityManager() - Constructor for class org.tentackle.security.DefaultSecurityManager
-
Creates a security manager.
The manager is disabled by default and must be enabled when the application is started up. - DefaultSecurityResult - Class in org.tentackle.security
-
Default implementation of a security result.
- DefaultSecurityResult(String, boolean, boolean) - Constructor for class org.tentackle.security.DefaultSecurityResult
-
Creates a security result.
- DefaultTransactionRetryPolicy - Class in org.tentackle.pdo
-
The default transaction retry policy.
- DefaultTransactionRetryPolicy() - Constructor for class org.tentackle.pdo.DefaultTransactionRetryPolicy
-
Creates the retry policy.
- delegateClass() - Method in record class org.tentackle.pdo.OperationMethodCacheInfo
-
Returns the value of the
delegateClass
record component. - delegateClass() - Method in record class org.tentackle.pdo.PdoMethodCacheInfo
-
Returns the value of the
delegateClass
record component. - delete() - Method in interface org.tentackle.pdo.PersistentObject
-
Removes this object from the database.
- deleteByDomainContext(int, long) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Delete all rules for given DomainContext.
- deleteByGrantee(int, long) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Delete all rules for given grantee.
- deleteByObject(int, long) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Deletes all pdo-rules for given objectId and objectClassId.
- deleteByObjectClass(String) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Delete all non-PDO rules for given objectClassName.
- deleteCollection(Collection<? extends PersistentDomainObject<?>>) - Method in class org.tentackle.pdo.PdoUtilities
-
Deletes a List of objects.
- deleteMissingInCollection(Collection<? extends PersistentDomainObject<?>>, Collection<? extends PersistentDomainObject<?>>) - Method in class org.tentackle.pdo.PdoUtilities
-
Deletes all objects in oldList that are not in newList.
The method is handy for deleting cascaded composite lists. - determineContextId() - Method in interface org.tentackle.pdo.DomainContextDependable
-
Determines the ID of the domain entity for this context.
Sets the attributes of the persistent object accordingly. - determineContextId() - Method in class org.tentackle.pdo.DummyPersistentOperation
-
Determines the ID of the domain entity for this context.
Sets the attributes of the persistent object accordingly. - determineGrantee(DomainContext) - Method in class org.tentackle.security.DefaultSecurityManager
-
Determines the session grantee.
- determineGranteesToCheck(DomainContext, GranteeDescriptor) - Method in class org.tentackle.security.DefaultSecurityManager
-
Determines the grantees to check.
- determineInvocation(Method) - Method in class org.tentackle.pdo.OperationInvocationHandler
-
Determines the invocation method to be cached by the
OperationMethodCache
. - determineInvocation(Method) - Method in class org.tentackle.pdo.PdoInvocationHandler
-
Determines the invocation method to be cached by the
PdoMethodCache
. - determineServicedClass(Class<?>) - Method in class org.tentackle.pdo.PdoUtilities
-
Determines the serviced class according to the annotation.
- differsPersisted() - Method in interface org.tentackle.pdo.PersistentObject
-
Returns whether any of the attributes differs from the values persisted in the database.
This method is only applicable to fulltracked entities and returns false if not fulltracked. - DISABLE_MODIFICATION_TRACKER - Static variable in class org.tentackle.app.AbstractApplication
-
Property to disable the modification tracker.
- DISABLE_SECURITY_MANAGER - Static variable in class org.tentackle.app.AbstractApplication
-
Property to disable the tentackle security manager.
- DomainContext - Interface in org.tentackle.pdo
-
The domain context.
- DomainContextDependable - Interface in org.tentackle.pdo
-
Interface all persistent objects must implement.
In multi-tenant applications the interface must be subclassed. - DomainContextFactory - Interface in org.tentackle.pdo
-
Factory for
DomainContext
. - DomainContextProvider - Interface in org.tentackle.pdo
-
DomainContext provider.
- DomainDelegate<T> - Interface in org.tentackle.pdo
-
Interface for all delegates implementing the domain model.
- DomainDelegateLinker - Interface in org.tentackle.pdo
-
Links the domain delegate with its dynamic proxy.
Provided to exclude the methodssetPdo
andsetOperation
from the interfacesPdoProvider
andOperationProvider
. - DomainException - Exception Class in org.tentackle.pdo
-
Domain logic runtime exception.
- DomainException() - Constructor for exception class org.tentackle.pdo.DomainException
-
Constructs a new domain runtime exception without a session and with
null
as its detail message. - DomainException(String) - Constructor for exception class org.tentackle.pdo.DomainException
-
Constructs a new domain runtime exception without a session with the specified detail message.
- DomainException(String, Throwable) - Constructor for exception class org.tentackle.pdo.DomainException
-
Constructs a new domain runtime exception without a session with the specified detail message and cause.
- DomainException(Throwable) - Constructor for exception class org.tentackle.pdo.DomainException
-
Constructs a new domain runtime exception without a session with the specified cause and a detail message of
(cause==null ?
- DomainException(Identifiable) - Constructor for exception class org.tentackle.pdo.DomainException
-
Constructs a new domain runtime exception for a given db object with
null
as its detail message. - DomainException(Identifiable, String) - Constructor for exception class org.tentackle.pdo.DomainException
-
Constructs a new domain runtime exception for a given session with the specified detail message.
- DomainException(Identifiable, String, Throwable) - Constructor for exception class org.tentackle.pdo.DomainException
-
Constructs a new domain runtime exception for a given session with the specified detail message and cause.
- DomainException(Identifiable, Throwable) - Constructor for exception class org.tentackle.pdo.DomainException
-
Constructs a new domain runtime exception for a given session with the specified cause and a detail message of
(cause==null ?
- DomainException(Session) - Constructor for exception class org.tentackle.pdo.DomainException
-
Constructs a new domain runtime exception for a given session with
null
as its detail message. - DomainException(Session, String) - Constructor for exception class org.tentackle.pdo.DomainException
-
Constructs a new domain runtime exception for a given session with the specified detail message.
- DomainException(Session, String, Throwable) - Constructor for exception class org.tentackle.pdo.DomainException
-
Constructs a new domain runtime exception for a given session with the specified detail message and cause.
- DomainException(Session, Throwable) - Constructor for exception class org.tentackle.pdo.DomainException
-
Constructs a new domain runtime exception for a given session with the specified cause and a detail message of
(cause==null ?
- DomainKey - Annotation Interface in org.tentackle.pdo
-
Annotation for flag a member as a domain key.
If the (unique) domain key consists of more than one member, each member is annotated to@DomainKey
. - DomainObject<T> - Interface in org.tentackle.pdo
-
The domain interface.
- DomainObjectService - Annotation Interface in org.tentackle.pdo
-
Annotation to express that the annotated class is an implementation of the domain logic for a given PDO type.
- DomainObjectServiceAnnotationProcessor - Class in org.tentackle.apt.pdo
-
Annotation processor for the
@DomainObjectService
annotation.
Enforces the implementation of the following constructors: (PersistentDomainObject
) () - DomainObjectServiceAnnotationProcessor() - Constructor for class org.tentackle.apt.pdo.DomainObjectServiceAnnotationProcessor
-
Creates the processor.
- DomainOperation<T> - Interface in org.tentackle.pdo
-
Interface for the domain part of an operation.
- DomainOperationService - Annotation Interface in org.tentackle.pdo
-
Annotation to express that the annotated class is an implementation of the domain logic for a given operation type.
- DomainOperationServiceAnnotationProcessor - Class in org.tentackle.apt.pdo
-
Annotation processor for the
@DomainOperationService
annotation.
Enforces the implementation of the following constructors: (Operation
) () - DomainOperationServiceAnnotationProcessor() - Constructor for class org.tentackle.apt.pdo.DomainOperationServiceAnnotationProcessor
-
Creates the processor.
- DummyPersistentOperation<T> - Class in org.tentackle.pdo
-
Dummy persistent delegate if operation provides only the domain part.
- DummyPersistentOperation() - Constructor for class org.tentackle.pdo.DummyPersistentOperation
-
Creates an operation object without a database context.
- DummyPersistentOperation(T) - Constructor for class org.tentackle.pdo.DummyPersistentOperation
-
Creates an operation object without a database context.
- DummyPersistentOperation(T, DomainContext) - Constructor for class org.tentackle.pdo.DummyPersistentOperation
-
Creates an operation object.
- DummyPersistentOperation(T, Session) - Constructor for class org.tentackle.pdo.DummyPersistentOperation
-
Creates an operation object without a domain context for a given connection.
E
- editedBy() - Method in record class org.tentackle.pdo.TokenLockInfo
-
Returns the value of the
editedBy
record component. - editedExpiry() - Method in record class org.tentackle.pdo.TokenLockInfo
-
Returns the value of the
editedExpiry
record component. - editedSince() - Method in record class org.tentackle.pdo.TokenLockInfo
-
Returns the value of the
editedSince
record component. - EditPermission - Interface in org.tentackle.security.permissions
-
Edit permission interface.
- EditPermissionImpl - Class in org.tentackle.security.permissions
-
Permission to edit a PDO.
- EditPermissionImpl() - Constructor for class org.tentackle.security.permissions.EditPermissionImpl
-
Creates the edit permission.
- emergencyInvalidate(Throwable) - Method in class org.tentackle.pdo.PdoCache
-
Invalidate the cache and log that.
- ENABLE_STATISTICS - Static variable in class org.tentackle.app.AbstractApplication
-
Property to enable statistics.
- end() - Method in record class org.tentackle.ns.NumberSource.Range
-
Returns the value of the
end
record component. - equals(Object) - Method in record class org.tentackle.ns.NumberSource.Range
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.tentackle.pdo.DefaultDomainContext
- equals(Object) - Method in record class org.tentackle.pdo.OperationMethodCacheInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.tentackle.pdo.PdoCacheIndex.CacheKey
- equals(Object) - Method in class org.tentackle.pdo.PdoMember
- equals(Object) - Method in record class org.tentackle.pdo.PdoMethodCacheInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.tentackle.pdo.TokenLockInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.tentackle.security.GranteeDescriptor
- equals(Object) - Method in class org.tentackle.security.permissions.AbstractPermission
- error() - Element in annotation interface org.tentackle.security.pdo.SecurityValidator
-
An optional error code.
Used to identify the error. - evaluate(DomainContext, Permission) - Method in interface org.tentackle.security.pdo.SecurityDomain
-
Evaluates a rule.
- evaluate(DomainContext, Permission, int, long) - Method in class org.tentackle.security.DefaultSecurityManager
- evaluate(DomainContext, Permission, int, long) - Method in interface org.tentackle.security.SecurityManager
-
Checks a permission for a PDO or a PDO class.
- evaluate(DomainContext, Permission, Class<?>) - Method in class org.tentackle.security.DefaultSecurityManager
- evaluate(DomainContext, Permission, Class<?>) - Method in interface org.tentackle.security.SecurityManager
-
Checks a permission for a non-PDO class.
- evaluateImpl(DomainContext, Permission, int, long, Class<?>) - Method in class org.tentackle.security.DefaultSecurityManager
-
Evaluates a permission for a pdo or regular class.
- ExecutePermission - Interface in org.tentackle.security.permissions
-
Read permission interface.
- ExecutePermissionImpl - Class in org.tentackle.security.permissions
-
Execution permission.
- ExecutePermissionImpl() - Constructor for class org.tentackle.security.permissions.ExecutePermissionImpl
-
Creates the execution permission.
- expire(ModificationEvent) - Method in class org.tentackle.pdo.PdoCache
-
Same as expire but delayed until the next select.
- expire(Session, String, long) - Method in class org.tentackle.pdo.PdoCache
-
Expire dirty objects in cache.
If the cache does not provide a tableSerial, or it is preloading, it will be invalidated (i.e. all objects removed). - expireByExpirationInfo(String, List<IdSerialTuple>, long) - Method in class org.tentackle.pdo.PdoCache
-
Expires object in cache with an ID of a given set.
- explain(String) - Method in class org.tentackle.security.DefaultSecurityResult
- explain(String) - Method in interface org.tentackle.security.SecurityResult
-
Formats a string for an explanation of rule that fired.
The default explanation will be returned unchanged if there is no message in the rule. - explicit() - Element in annotation interface org.tentackle.security.Secured
-
Enforces explicit acceptance.
- extract(T) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Extracts the
Comparable
that uniquely identifies the object from that object.
This method needs to be implemented for each index. - extractDomainException(Throwable) - Static method in exception class org.tentackle.pdo.DomainException
-
Extracts the
DomainException
from an exception.
F
- filterName(String) - Method in class org.tentackle.app.AbstractApplication
-
Filters the application name.
- filterPersistentDomainObjects(Collection<?>) - Method in class org.tentackle.pdo.PdoUtilities
-
Filters a collection of Objects, returning only those that are persistent domain objects.
- filterVersion(String) - Method in class org.tentackle.app.AbstractApplication
-
Filters the application version.
- findByUniqueDomainKey(Object) - Method in interface org.tentackle.pdo.DomainObject
-
Finds an object of this class by its unique domain-key.
- findDuplicate() - Method in interface org.tentackle.pdo.PersistentObject
-
Checks whether this object (if saved) would violate any unique constraints.
- finishStartup() - Method in class org.tentackle.app.AbstractApplication
-
Finishes the startup.
The default implementation starts the modification tracker, unless the property "notracker" is given.
The property "statistics" activates the statistics. - FORGET - Enum constant in enum class org.tentackle.pdo.PdoCacheStrategy
-
forget all entries if maxSize reached (default)
G
- get(DomainContext, C) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Gets the PDO from cache by key.
- getAllCaches() - Method in class org.tentackle.pdo.DefaultPdoCacheFactory
- getAllCaches() - Static method in class org.tentackle.pdo.Pdo
-
Gets a list of all registered caches.
- getAllCaches() - Method in interface org.tentackle.pdo.PdoCacheFactory
-
Gets a list of all registered caches.
- getAllPermission() - Method in class org.tentackle.security.DefaultSecurityFactory
- getAllPermission() - Method in interface org.tentackle.security.SecurityFactory
-
Gets the request all permission singleton.
- getAnnotation() - Method in class org.tentackle.security.pdo.SecurityValidatorImpl
- getApplicationId() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Returns the application id.
- getApplicationName() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the name of the application.
- getAttributes(Class<T>, boolean) - Method in class org.tentackle.pdo.PdoUtilities
-
Determines all member attributes of a PDO class.
- getBaseContext() - Method in interface org.tentackle.pdo.DomainContextDependable
-
Gets the minimum context, i.e. the one that is sufficient for this object.
Objects may have a "higher" context they live in.
If the current context is already the base context, the current context is returned. - getBaseContext() - Method in class org.tentackle.pdo.DummyPersistentOperation
- getBegin() - Method in interface org.tentackle.ns.pdo.NumberRangePersistence
-
Gets the attribute begin.
- getBeginPersisted() - Method in interface org.tentackle.ns.pdo.NumberRangePersistence
-
Gets the last persisted value of begin.
- getBundle() - Static method in class org.tentackle.pdo.PdoPdoBundle
-
Gets the bundle.
- getBundle() - Static method in class org.tentackle.security.pdo.ValidationBundle
-
Gets the bundle.
- getCache() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the cache.
- getCache(Class<T>) - Method in class org.tentackle.pdo.DefaultPdoCacheFactory
- getCache(Class<T>) - Static method in class org.tentackle.pdo.OperationMethodCache
-
Gets the cache for given class.
- getCache(Class<T>) - Static method in class org.tentackle.pdo.Pdo
-
Checks whether a PDO-class provides a cache.
- getCache(Class<T>) - Method in interface org.tentackle.pdo.PdoCacheFactory
-
Checks whether a PDO-class provides a cache.
- getCacheAccessCount() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the cache access count.
- getCacheAccessTime() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the last cache access time.
- getCacheKey() - Method in class org.tentackle.pdo.PdoCacheIndex.CacheResult
-
Gets the cache key.
- getClassBaseName() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the basename of the class of this object.
The basename is the class name without the package name. - getClassId() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the unique ID of the class.
Class IDs are provided as a replacement for FQCNs for 2 reasons: refactoring: package- and classnames may be changed. - getClassId(Class<T>) - Method in class org.tentackle.pdo.PdoUtilities
-
Gets the table name of given class.
- getClassNames() - Method in class org.tentackle.pdo.PdoUtilities
-
Gets a list of all class names.
Sorted by name. - getClientHost() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the client host string determined by the middle tier.
- getClientVersion() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the client version.
- getClonedContext() - Method in class org.tentackle.pdo.DefaultDomainContext
- getClonedContext() - Method in interface org.tentackle.pdo.DomainContext
-
Gets the context this context was cloned from.
- getCommandLine() - Method in class org.tentackle.app.AbstractApplication
-
Gets the command line.
- getCommandLine() - Method in interface org.tentackle.app.Application
-
Gets the command line.
- getComment() - Method in class org.tentackle.pdo.PdoMember
-
Gets the optional comment.
- getContext() - Method in class org.tentackle.pdo.PdoCacheIndex.CacheKey
-
Gets the domain context.
- getContextId() - Method in class org.tentackle.pdo.DefaultDomainContext
- getContextId() - Method in interface org.tentackle.pdo.DomainContext
-
Gets the ID of the context object.
The default implementation returns 0. - getContextId() - Method in interface org.tentackle.pdo.DomainContextDependable
-
Gets the ID of the object describing the context of this object.
- getContextId() - Method in class org.tentackle.pdo.DummyPersistentOperation
- getContextName() - Method in exception class org.tentackle.pdo.LockException
-
Gets the name of the domain context.
- getContextPdo() - Method in class org.tentackle.pdo.DefaultDomainContext
- getContextPdo() - Method in interface org.tentackle.pdo.DomainContext
-
Gets the object that spans this context.
The default implementation returns null. - getCount() - Method in class org.tentackle.ns.DefaultNumberSource
- getCount() - Method in interface org.tentackle.ns.NumberSource
-
Returns the count of numbers in the pool.
- getCreationTime() - Method in class org.tentackle.app.AbstractApplication
-
Gets the creation time in epochal milliseconds.
- getCreationTime() - Method in interface org.tentackle.app.Application
-
Gets the creation time in epochal milliseconds.
- getCurrentRange() - Method in interface org.tentackle.ns.pdo.NumberPoolDomain
-
Get the current range.
This is the first non-empty range with the lowest "begin". - getDescription() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the attribute description.
- getDescription() - Method in interface org.tentackle.security.Permission
-
Gets the optional internationalized description.
May consist of more than one line.
Will be displayed in tooltips, for example. - getDescription() - Method in class org.tentackle.security.permissions.AbstractPermission
- getDescriptionPersisted() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the last persisted value of description.
- getDomainClass(String) - Method in class org.tentackle.pdo.AbstractOperationFactory
- getDomainClass(String) - Method in class org.tentackle.pdo.AbstractPdoFactory
- getDomainClass(String) - Method in interface org.tentackle.pdo.OperationFactory
-
Gets the class implementing the domain layer.
- getDomainClass(String) - Method in interface org.tentackle.pdo.PdoFactory
-
Gets the class implementing the domain layer.
- getDomainContext() - Method in class org.tentackle.app.AbstractApplication
-
Gets the domain context.
- getDomainContext() - Method in interface org.tentackle.pdo.DomainContextProvider
-
Gets the domain context.
- getDomainContext() - Method in class org.tentackle.pdo.DummyPersistentOperation
- getDomainContextClassId() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the attribute domainContextClassId.
- getDomainContextId() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the attribute domainContextId.
- getDomainContextObject() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the application context's object.
The object will be loaded in its valid context. - getDomainDelegate() - Method in class org.tentackle.pdo.DummyPersistentOperation
- getDomainDelegate() - Method in interface org.tentackle.pdo.Operation
-
Gets the delegate implementing the domain logic.
- getDomainDelegate() - Method in interface org.tentackle.pdo.PersistenceDelegate
-
Gets the domain delegate.
- getDomainDelegate() - Method in interface org.tentackle.pdo.PersistentDomainObject
-
Gets the delegate implementing the domain logic.
- getDomainMapper() - Method in class org.tentackle.pdo.AbstractOperationFactory
-
Gets the domain class mapper associated to this factory.
The classmapper usually maps interfaces (domain + persistence) to the domain implementation. - getDomainMapper() - Method in class org.tentackle.pdo.DefaultOperationFactory
- getDomainMapper() - Method in class org.tentackle.pdo.DefaultPdoFactory
- getDomainMapper() - Method in interface org.tentackle.pdo.PdoFactory
-
Gets the domain class mapper associated to this factory.
The classmapper maps PDO interfaces to their domain implementation. - getEditedBy() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the id of the user currently editing this object.
- getEditedExpiry() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the time since when this object is being edited.
- getEditedSince() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the time since when this object is being edited.
- getEditPermission() - Method in class org.tentackle.security.DefaultSecurityFactory
- getEditPermission() - Method in interface org.tentackle.security.SecurityFactory
-
Gets the request edit permission singleton.
- getEmbeddingParent() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the parent PDO if this is an embedded PDO.
Throws aPersistenceException
if this is not an embedded PDO. - getEnd() - Method in interface org.tentackle.ns.pdo.NumberRangePersistence
-
Gets the attribute end.
- getEndPersisted() - Method in interface org.tentackle.ns.pdo.NumberRangePersistence
-
Gets the last persisted value of end.
- getErrorCode() - Method in class org.tentackle.security.pdo.SecurityValidatorImpl
- getExecutePermission() - Method in class org.tentackle.security.DefaultSecurityFactory
- getExecutePermission() - Method in interface org.tentackle.security.SecurityFactory
-
Gets the request execute permission singleton.
- getExpiredTableSerials(long, long) - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the expired table serials.
A physical database query is only done if the requested range is not in the backlog. - getExtension(DomainContext, Class<T>) - Method in interface org.tentackle.pdo.PdoRemoteSession
-
Gets an extension object.
Extensions are used to provide additional services. - getGetter() - Method in class org.tentackle.pdo.PdoMember
-
The getter method.
- getGrantee() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the grantee.
- getGranteeClassId() - Method in class org.tentackle.security.GranteeDescriptor
-
Gets the grantee's class id.
- getGranteeClassId() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the attribute granteeClassId.
- getGranteeId() - Method in class org.tentackle.security.GranteeDescriptor
-
Gets the grantee's object id.
- getGranteeId() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the attribute granteeId.
- getHostInfo() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the host info.
- getId() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the unique identification number.
- getIdentifiable() - Method in exception class org.tentackle.pdo.DomainException
-
Gets the identifiable object.
- getIndexes() - Method in class org.tentackle.pdo.PdoCache
-
Gets the indexes registered for this cache.
- getInstance() - Static method in interface org.tentackle.app.Application
-
Gets the application instance currently running.
- getInstance() - Static method in interface org.tentackle.ns.NumberSourceFactory
-
The singleton.
- getInstance() - Static method in interface org.tentackle.pdo.DomainContextFactory
-
The singleton.
- getInstance() - Static method in interface org.tentackle.pdo.DomainDelegateLinker
-
The singleton.
- getInstance() - Static method in interface org.tentackle.pdo.OperationFactory
-
The singleton.
- getInstance() - Static method in interface org.tentackle.pdo.PdoCacheFactory
-
The singleton.
- getInstance() - Static method in interface org.tentackle.pdo.PdoFactory
-
The singleton.
- getInstance() - Static method in class org.tentackle.pdo.PdoUtilities
-
The singleton.
- getInstance() - Static method in interface org.tentackle.pdo.PersistenceDelegateLinker
-
The singleton.
- getInstance() - Static method in interface org.tentackle.security.SecurityFactory
-
The singleton.
- getKeepQuota() - Method in class org.tentackle.pdo.PdoCache
-
Gets the current keep quota.
- getKey() - Method in class org.tentackle.pdo.PdoCacheIndex.CacheKey
-
Gets the PDO's key.
- getLocale() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the session's locale.
- getLogLevel() - Method in exception class org.tentackle.pdo.LockException
- getLogLevel() - Method in exception class org.tentackle.security.SecurityException
- getLowWaterMark() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the attribute lowWaterMark.
- getLowWaterMarkPersisted() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the last persisted value of lowWaterMark.
- getMaxSize() - Method in class org.tentackle.pdo.PdoCache
-
Gets the maximum cache size.
- getMembers(Class<T>) - Method in class org.tentackle.pdo.PdoUtilities
-
Determines all members of a PDO class.
- getMessage() - Method in exception class org.tentackle.pdo.DomainException
- getMessage() - Method in exception class org.tentackle.pdo.LockException
- getMessage() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the attribute message.
- getMessage() - Method in class org.tentackle.security.pdo.SecurityValidatorImpl
- getModificationCount() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the current modification count for the whole class.
The count corresponds to the table serial. - getName() - Method in class org.tentackle.app.AbstractApplication
-
Gets the application name.
- getName() - Method in interface org.tentackle.app.Application
-
Gets the application name.
- getName() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the attribute name.
- getName() - Method in class org.tentackle.pdo.PdoMember
-
Gets the member's name.
- getName() - Method in interface org.tentackle.security.Permission
-
Gets the unique name of the permission.
The name must conform to the rules of a java identifier, must be unique among all permissions and should be reasonably short. - getName() - Method in class org.tentackle.security.permissions.AllPermissionImpl
- getName() - Method in class org.tentackle.security.permissions.EditPermissionImpl
- getName() - Method in class org.tentackle.security.permissions.ExecutePermissionImpl
- getName() - Method in class org.tentackle.security.permissions.ReadPermissionImpl
- getName() - Method in class org.tentackle.security.permissions.ViewPermissionImpl
- getName() - Method in class org.tentackle.security.permissions.WritePermissionImpl
- getNamePersisted() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the last persisted value of name.
- getNames() - Method in class org.tentackle.pdo.DefaultDomainContext
- getNames() - Method in interface org.tentackle.pdo.DomainContext
-
Gets the names of this context.
- getNonRootContext() - Method in class org.tentackle.pdo.DefaultDomainContext
- getNonRootContext() - Method in interface org.tentackle.pdo.DomainContext
-
Gets a domain context which does not belong to a root entity.
This is the original context the root-context has been cloned from. - getNormText() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the normtext.
The normtext holds the normalized text of columns and relations. - getNumberPool() - Method in interface org.tentackle.ns.pdo.NumberRangePersistence
-
Gets NumberPool numberPool via numberPoolId.
- getNumberPoolId() - Method in interface org.tentackle.ns.pdo.NumberRangePersistence
-
Gets the attribute numberPoolId.
- getNumberPoolIdPersisted() - Method in interface org.tentackle.ns.pdo.NumberRangePersistence
-
Gets the last persisted value of numberPoolId.
- getNumberRangeList() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets composite list of NumberRange numberRangeList via NumberRange#numberPoolId.
- getNumberSource(String, String) - Method in class org.tentackle.ns.DefaultNumberSourceFactory
- getNumberSource(String, String) - Method in interface org.tentackle.ns.NumberSourceFactory
-
Gets a local number source.
- getObject() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the pdo this rule applies to.
- getObjectClass() - Method in class org.tentackle.pdo.PdoCache
-
Gets the class handled by this cache.
- getObjectClass() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the object class for this rule.
- getObjectClassId() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the attribute objectClassId.
- getObjectClassName() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the attribute objectClassName.
- getObjectId() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the attribute objectId.
- getObjects() - Method in class org.tentackle.pdo.PdoCache
-
Gets all PDOs in cache.
- getObjects() - Method in class org.tentackle.pdo.PdoCacheIndex
-
Gets all objects maintained by this cache index.
- getObjects(boolean) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Gets all objects maintained by this cache index.
- getObjects(String, boolean) - Method in class org.tentackle.pdo.PdoCache
-
Gets all objects in cache.
Because the objects may live in different domain-contexts (and different sessions, if not readonly!) - getObjects(DomainContext, C, C) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Gets a subset of objects.
- getOperation() - Method in class org.tentackle.pdo.DummyPersistentOperation
- getOperation() - Method in interface org.tentackle.pdo.OperationProvider
-
Gets the operation.
- getOperationMethodCache() - Method in class org.tentackle.pdo.DummyPersistentOperation
- getOperationMethodCache() - Method in interface org.tentackle.pdo.OperationMethodCacheProvider
-
Gets the cache.
- getOptions() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the session options.
- getOrdinal() - Method in class org.tentackle.pdo.PdoMember
-
Gets the model ordinal for sorting.
- getOsInfo() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the operating system info.
- getPdo() - Method in class org.tentackle.pdo.PdoCacheIndex.CacheResult
-
Gets the PDO.
- getPdo() - Method in interface org.tentackle.pdo.PdoProvider
-
Gets the PDO.
- getPdo() - Method in exception class org.tentackle.pdo.PdoRuntimeException
-
Gets the PDO.
- getPdoMethodCache() - Method in interface org.tentackle.pdo.PdoMethodCacheProvider
-
Gets the cache.
- getPermission(Class<T>) - Method in class org.tentackle.security.DefaultSecurityFactory
- getPermission(Class<T>) - Method in interface org.tentackle.security.SecurityFactory
-
Gets a request permission implementation singleton by its interface.
- getPermissionInterface() - Method in interface org.tentackle.security.Permission
-
Gets the permission interface of this implementation.
- getPermissionInterface() - Method in class org.tentackle.security.permissions.AbstractPermission
- getPermissionInterface(String) - Method in class org.tentackle.security.DefaultSecurityFactory
- getPermissionInterface(String) - Method in interface org.tentackle.security.SecurityFactory
-
Gets a permission interface by its name.
- getPermissionInterfaces() - Method in class org.tentackle.security.DefaultSecurityFactory
- getPermissionInterfaces() - Method in interface org.tentackle.security.SecurityFactory
-
Gets all configured permission interfaces.
- getPermissionInterfaces(Class<?>) - Method in class org.tentackle.security.DefaultSecurityFactory
- getPermissionInterfaces(Class<?>) - Method in interface org.tentackle.security.SecurityFactory
-
Gets all configured permission interfaces applicable for a class or instances of it.
- getPermissions() - Method in class org.tentackle.security.DefaultSecurityFactory
- getPermissions() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the attribute permissions.
- getPermissions() - Method in interface org.tentackle.security.SecurityFactory
-
Gets all configured permissions.
- getPermissions(Class<?>) - Method in class org.tentackle.security.DefaultSecurityFactory
- getPermissions(Class<?>) - Method in interface org.tentackle.security.SecurityFactory
-
Gets all configured permission instances applicable for a class or instances of it.
- getPersistenceClass(String) - Method in class org.tentackle.pdo.AbstractOperationFactory
- getPersistenceClass(String) - Method in class org.tentackle.pdo.AbstractPdoFactory
- getPersistenceClass(String) - Method in interface org.tentackle.pdo.OperationFactory
-
Gets the class implementing the persistence layer.
- getPersistenceClass(String) - Method in interface org.tentackle.pdo.PdoFactory
-
Gets the class implementing the persistence layer.
- getPersistenceDelegate() - Method in interface org.tentackle.pdo.DomainDelegate
-
Gets the persistence delegate.
- getPersistenceDelegate() - Method in interface org.tentackle.pdo.Operation
-
Gets the delegate implementing the persistence layer.
- getPersistenceDelegate() - Method in interface org.tentackle.pdo.PersistentDomainObject
-
Gets the delegate implementing the persistence layer.
- getPersistenceMapper() - Method in class org.tentackle.pdo.AbstractOperationFactory
-
Gets the persistence class mapper associated to this factory.
The classmapper usually maps interfaces (domain + persistence) to the persistence implementation. - getPersistenceMapper() - Method in class org.tentackle.pdo.DefaultOperationFactory
- getPersistenceMapper() - Method in class org.tentackle.pdo.DefaultPdoFactory
- getPersistenceMapper() - Method in interface org.tentackle.pdo.PdoFactory
-
Gets the persistence class mapper associated to this factory.
The classmapper maps PDO interfaces to their persistence implementation. - getPlural() - Method in interface org.tentackle.pdo.DomainObject
-
Gets the human-readable name for multiple (> 1) objects of this class.
- getPlural(Class<?>) - Method in class org.tentackle.pdo.PdoUtilities
-
Gets the plural of given class.
- getPriority() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the attribute priority.
- getPriority() - Method in class org.tentackle.security.pdo.SecurityValidatorImpl
- getProperties() - Method in class org.tentackle.app.AbstractApplication
-
Gets the current properties.
- getProperty(String) - Method in class org.tentackle.app.AbstractApplication
- getProperty(String) - Method in interface org.tentackle.app.Application
-
Gets an application property.
- getPropertyAsChars(String) - Method in class org.tentackle.app.AbstractApplication
- getPropertyAsChars(String) - Method in interface org.tentackle.app.Application
-
Gets an application property as a character array.
Useful for passwords and alike. - getPropertyAsCharsIgnoreCase(String) - Method in class org.tentackle.app.AbstractApplication
- getPropertyAsCharsIgnoreCase(String) - Method in interface org.tentackle.app.Application
-
Gets an application property as a character array, case-insensitive.
Useful for passwords and alike. - getPropertyIgnoreCase(String) - Method in class org.tentackle.app.AbstractApplication
- getPropertyIgnoreCase(String) - Method in interface org.tentackle.app.Application
-
Gets an application property case-insensitive.
- getRanges() - Method in class org.tentackle.ns.DefaultNumberSource
- getRanges() - Method in interface org.tentackle.ns.NumberSource
-
Gets the ranges of this source.
Does not consume any numbers. - getReadPermission() - Method in class org.tentackle.security.DefaultSecurityFactory
- getReadPermission() - Method in interface org.tentackle.security.SecurityFactory
-
Gets the request read permission singleton.
- getRealm() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the attribute realm.
- getRealmPersisted() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the last persisted value of realm.
- getRequestSize() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the attribute requestSize.
- getRequestSizePersisted() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the last persisted value of requestSize.
- getRootClassId() - Method in class org.tentackle.pdo.DefaultDomainContext
- getRootClassId() - Method in interface org.tentackle.pdo.DomainContext
-
Gets the class-ID of the root entity.
- getRootClassId() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the class ID of the root entity this component belongs to.
- getRootContext(PersistentDomainObject<?>) - Method in class org.tentackle.pdo.DefaultDomainContext
- getRootContext(PersistentDomainObject<?>) - Method in interface org.tentackle.pdo.DomainContext
-
Creates a root context for a given root entity.
If this context is already a root context for the same root-entity, nothing will be created and this context returned. - getRootEntity() - Method in class org.tentackle.pdo.DefaultDomainContext
- getRootEntity() - Method in interface org.tentackle.pdo.DomainContext
-
Gets the root entity for this context.
- getRootId() - Method in class org.tentackle.pdo.DefaultDomainContext
- getRootId() - Method in interface org.tentackle.pdo.DomainContext
-
Gets the ID of the root entity.
- getRootId() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the ID of the root entity this component belongs to.
- getScope() - Method in class org.tentackle.security.pdo.SecurityValidatorImpl
- getSecurityManager() - Method in class org.tentackle.security.DefaultSecurityFactory
- getSecurityManager() - Method in interface org.tentackle.security.SecurityFactory
-
Gets the security manager singleton.
- getSecurityResult(Permission) - Method in interface org.tentackle.pdo.PersistentObject
-
Creates the
SecurityResult
for a given permission. - getSerial() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the serial number.
Whenever the object is persisted, the serial is incremented by one. - getSession() - Method in class org.tentackle.app.AbstractApplication
- getSession() - Method in class org.tentackle.pdo.DefaultDomainContext
-
If the context's session is null the thread's local session is returned. - getSession() - Method in exception class org.tentackle.pdo.DomainException
-
Gets the session.
- getSession() - Method in class org.tentackle.pdo.DummyPersistentOperation
- getSessionGroup() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the session group.
- getSessionInfo() - Method in class org.tentackle.app.AbstractApplication
-
Gets the session info.
- getSessionInfo() - Method in interface org.tentackle.app.Application
-
Gets the session info.
- getSessionInfo() - Method in class org.tentackle.pdo.DefaultDomainContext
- getSessionInstanceNumber() - Method in class org.tentackle.pdo.DefaultDomainContext
- getSessionInstanceNumber() - Method in class org.tentackle.pdo.PdoCacheIndex.CacheKey
-
Gets the session instance number to assert session was not changed.
- getSessionName() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the optional session name.
- getSessionNumber() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the session number.
- getSessions() - Method in interface org.tentackle.pdo.AdminExtension
-
Gets the session data of all sessions currently logged into the middle tier.
- getSetter() - Method in class org.tentackle.pdo.PdoMember
-
The setter method.
- getSeverity() - Method in class org.tentackle.security.pdo.SecurityValidatorImpl
- getSince() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the epochal time since when logged in.
- getSingular() - Method in interface org.tentackle.pdo.DomainObject
-
Gets the human-readable name for one (1) object of this class.
- getSingular(Class<?>) - Method in class org.tentackle.pdo.PdoUtilities
-
Gets the singular of given class.
- getSize() - Method in class org.tentackle.pdo.PdoCache
-
Get the number of objects stored in cache.
- getStrategy() - Method in class org.tentackle.pdo.PdoCache
- getString(String) - Static method in class org.tentackle.pdo.PdoPdoBundle
-
Gets a string for the given key.
- getString(String) - Static method in class org.tentackle.security.pdo.ValidationBundle
-
Gets a string for the given key.
- getTableName() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the database table name for the class of this object.
- getTableName(Class<T>) - Static method in class org.tentackle.pdo.Pdo
-
Gets the tablename of given class.
- getTableName(Class<T>) - Method in class org.tentackle.pdo.PdoUtilities
-
Gets the table name of given class.
- getTableNames(Class<?>...) - Method in class org.tentackle.pdo.PdoUtilities
-
Gets the table name of given classes.
- getTableSerial() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the table serial.
- getText() - Method in enum class org.tentackle.pdo.PdoMember.Type
-
Gets the member type as a lowercase string.
- getThreadLocalSessionContext() - Method in class org.tentackle.pdo.DefaultDomainContext
- getThreadLocalSessionContext() - Method in interface org.tentackle.pdo.DomainContext
-
Gets a clone of this context with a thread-local session.
- getTimeZone() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the timezone.
- getTokenLockInfo() - Method in exception class org.tentackle.pdo.LockException
-
Gets the token lock information about the locker.
- getTokenLockTimeout() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the expiration in milliseconds of the token lock.
Returns a value greater 0 ifPersistentObject.isTokenLockProvided()
, else 0. - getTransactionRetryPolicy(String) - Method in class org.tentackle.pdo.PdoUtilities
-
Gets the transaction retry policy.
- getType() - Method in class org.tentackle.pdo.PdoMember
-
Gets the member type.
- getUniqueDomainKey() - Method in interface org.tentackle.pdo.DomainObject
-
Gets the unique key of this object.
The unique key is the domain-key, not the technical object id. - getUniqueDomainKeyType() - Method in interface org.tentackle.pdo.DomainObject
-
Gets the type of the unique domain key.
- getUplink() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the attribute uplink.
- getUplinkPersisted() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the last persisted value of uplink.
- getUser(DomainContext) - Method in class org.tentackle.pdo.PdoUtilities
-
Gets the identifiable corresponding to the current user related to the session of a domain context.
- getUser(DomainContext, long) - Method in interface org.tentackle.app.Application
-
Gets the identifiable corresponding to the ID of a user.
- getUser(DomainContext, long) - Method in class org.tentackle.pdo.PdoUtilities
-
Gets the identifiable corresponding to the ID of a user.
- getUserId() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the user id.
- getUserName() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the username.
- getVersion() - Method in class org.tentackle.app.AbstractApplication
-
Gets the application version.
- getVersion() - Method in interface org.tentackle.app.Application
-
Gets the application version.
- getViewPermission() - Method in class org.tentackle.security.DefaultSecurityFactory
- getViewPermission() - Method in interface org.tentackle.security.SecurityFactory
-
Gets the request view permission singleton.
- getVmInfo() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the info string describing the JVM.
- getWritePermission() - Method in class org.tentackle.security.DefaultSecurityFactory
- getWritePermission() - Method in interface org.tentackle.security.SecurityFactory
-
Gets the request write permission singleton.
- GranteeDescriptor - Class in org.tentackle.security
-
Describes a grantee.
- GranteeDescriptor(int, long) - Constructor for class org.tentackle.security.GranteeDescriptor
-
Creates a grantee descriptor.
- GranteeDescriptor(PersistentDomainObject<?>) - Constructor for class org.tentackle.security.GranteeDescriptor
-
Creates a grantee descriptor from a PDO.
The PDO is usually an entity representing a user or a group. - granteeToString() - Method in interface org.tentackle.security.pdo.SecurityDomain
-
Gets the grantee as a string.
H
- hashCode() - Method in record class org.tentackle.ns.NumberSource.Range
-
Returns a hash code value for this object.
- hashCode() - Method in class org.tentackle.pdo.DefaultDomainContext
- hashCode() - Method in record class org.tentackle.pdo.OperationMethodCacheInfo
-
Returns a hash code value for this object.
- hashCode() - Method in class org.tentackle.pdo.PdoCacheIndex.CacheKey
- hashCode() - Method in class org.tentackle.pdo.PdoMember
- hashCode() - Method in record class org.tentackle.pdo.PdoMethodCacheInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.tentackle.pdo.TokenLockInfo
-
Returns a hash code value for this object.
- hashCode() - Method in class org.tentackle.security.GranteeDescriptor
- hashCode() - Method in class org.tentackle.security.permissions.AbstractPermission
I
- idStringToIdentifiableKey(String) - Method in class org.tentackle.pdo.PdoUtilities
-
Determines the identifiable key from a string created by
PersistentObject.toIdString()
. - initialize() - Method in class org.tentackle.app.AbstractApplication
-
Initializes the application.
This is the first step when an application is launched. - initialize(Session) - Method in class org.tentackle.security.DefaultSecurityManager
-
Initializes the security manager.
- initializeScripting() - Method in class org.tentackle.app.AbstractApplication
-
Initializes the scripting.
- intersects(long, long) - Method in interface org.tentackle.ns.pdo.NumberRangeDomain
-
Returns whether requested range intersects with this range.
- invalidate() - Method in class org.tentackle.pdo.PdoCache
-
Forces the cache to be cleared for next access.
- invalidate() - Method in class org.tentackle.security.DefaultSecurityManager
- invalidate() - Method in interface org.tentackle.security.SecurityManager
-
Invalidate the manager.
The next request will re-initialize it. - invocation() - Method in record class org.tentackle.pdo.OperationMethodCacheInfo
-
Returns the value of the
invocation
record component. - invocation() - Method in record class org.tentackle.pdo.PdoMethodCacheInfo
-
Returns the value of the
invocation
record component. - invoke(Object, Method, Object[]) - Method in class org.tentackle.pdo.OperationInvocationHandler
- invoke(Object, Method, Object[]) - Method in class org.tentackle.pdo.PdoInvocationHandler
- invoke(OperationInvocationHandler<T>, Method, Object[]) - Method in class org.tentackle.pdo.OperationMethodCache
-
Invokes a method on a delegate.
- invoke(OperationInvocationHandler, InterceptableMethod, Object[]) - Method in interface org.tentackle.pdo.OperationInvocation
-
Invokes an operation related method.
- invoke(PdoInvocationHandler<T>, Method, Object[]) - Method in class org.tentackle.pdo.PdoMethodCache
-
Invokes a method on a delegate.
- invoke(PdoInvocationHandler, InterceptableMethod, Object[]) - Method in interface org.tentackle.pdo.PdoInvocation
-
Invokes a PDO related method.
- InvokeInBuddyDelegate - Annotation Interface in org.tentackle.pdo
-
Annotation to redirect the method invocation to the buddy delegate.
- InvokeInBuddyDelegateInterceptor - Class in org.tentackle.pdo
-
Implementation for the
InvokeInBuddyDelegate
interception. - InvokeInBuddyDelegateInterceptor() - Constructor for class org.tentackle.pdo.InvokeInBuddyDelegateInterceptor
-
Creates a
InvokeInBuddyDelegate
interceptor. - INVOKER - Static variable in class org.tentackle.pdo.OperationInvocationHandler
-
The method invoker.
Performs the method invocations and provides logging and statistics. - INVOKER - Static variable in class org.tentackle.pdo.PdoInvocationHandler
-
The method invoker.
Performs the method invocations and provides logging and statistics. - isAbstract() - Method in interface org.tentackle.pdo.PersistentObject
-
Returns whether this an abstract PDO.
Abstract PDOs are real objects but cannot be persisted. - isAcceptByDefault() - Method in class org.tentackle.security.DefaultSecurityManager
- isAcceptByDefault() - Method in interface org.tentackle.security.SecurityManager
-
Determines whether this manager accepts by default.
- isAccepted() - Method in class org.tentackle.security.DefaultSecurityResult
- isAccepted() - Method in interface org.tentackle.security.SecurityResult
-
Denotes whether a privilege is accepted.
- isAllEnabled() - Static method in class org.tentackle.pdo.PdoCache
-
Checks whether all caches are enabled at all.
- isAllowed() - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Gets the attribute allowed.
- isAllowedBy(Class<?>...) - Method in interface org.tentackle.security.Permission
-
Checks if this requested permission implements at least one of the given permissions.
- isAllowedBy(Class<?>...) - Method in class org.tentackle.security.permissions.AbstractPermission
- isAllowedBy(Class<?>...) - Method in class org.tentackle.security.permissions.AllPermissionImpl
- isAssignedToCache(PdoCache<T>) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Checks if index is assigned to cache.
- isBeginModified() - Method in interface org.tentackle.ns.pdo.NumberRangePersistence
-
Gets the modification state of begin.
- isCacheable() - Method in interface org.tentackle.pdo.PersistentObject
-
Determines whether object is cacheable or not.
The default implementation always returns true, but apps can use this as a filter. - isCached() - Method in interface org.tentackle.pdo.PersistentObject
-
Returns whether object is cached.
- isCloned() - Method in interface org.tentackle.pdo.AdminExtension.SessionData
-
Gets the clone flag of the session.
- isCollectionModified(Collection<? extends PersistentDomainObject<?>>) - Method in class org.tentackle.pdo.PdoUtilities
-
Checks whether some objects in the list are modified.
Useful for recursive optimizations. - isComponent() - Method in class org.tentackle.pdo.PdoMember
-
Returns whether member is a component of the PDO.
Notice that attributes are always components. - isComposite() - Method in interface org.tentackle.pdo.PersistentObject
-
Returns whether this PDO is a composite.
Composite PDOs consist of other component PDOs, defined via composite relations.
Notice that a composite root entity is synonym to the aggregate root in DDD lingo. - isDefault() - Method in class org.tentackle.security.DefaultSecurityResult
- isDefault() - Method in interface org.tentackle.security.SecurityResult
-
Returns whether the result was created by default.
- isDeleted() - Method in interface org.tentackle.pdo.PersistentObject
-
Checks whether object is deleted.
- isDeniedBy(Class<?>...) - Method in interface org.tentackle.security.Permission
-
Checks at least one of the given permissions implements this requested permission.
- isDeniedBy(Class<?>...) - Method in class org.tentackle.security.permissions.AbstractPermission
- isDeniedBy(Class<?>...) - Method in class org.tentackle.security.permissions.AllPermissionImpl
- isDescriptionModified() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the modification state of description.
- isDomainContextImmutable() - Method in interface org.tentackle.pdo.DomainContextDependable
-
Returns whether the domain context is immutable.
- isDomainContextImmutable() - Method in class org.tentackle.pdo.DummyPersistentOperation
-
Returns whether the domain context is immutable.
- isDomainKey() - Method in class org.tentackle.pdo.PdoMember
-
Returns whether this is a domain key.
- isEditAllowed() - Method in interface org.tentackle.pdo.PersistentObject
-
Determines whether the user is allowed to edit this PDO.
Can be used to determine whether object is editable by the user. - isEmbedded() - Method in interface org.tentackle.pdo.PersistentObject
-
Returns whether this is an embedded PDO.
Embedded PDOs are components with their attributes embedded in the parent object's table. - isEmpty() - Method in class org.tentackle.ns.DefaultNumberSource
- isEmpty() - Method in interface org.tentackle.ns.NumberSource
-
Returns whether pool is empty.
- isEmpty() - Method in interface org.tentackle.ns.pdo.NumberRangeDomain
-
Returns whether range is empty.
- isEnabled() - Method in class org.tentackle.pdo.PdoCache
-
Checks whether cache is enabled at all.
- isEnabled() - Method in class org.tentackle.security.DefaultSecurityManager
- isEnabled() - Method in interface org.tentackle.security.SecurityManager
-
Determines whether this manager is enabled.
- isEndModified() - Method in interface org.tentackle.ns.pdo.NumberRangePersistence
-
Gets the modification state of end.
- isExpired() - Method in interface org.tentackle.pdo.PersistentObject
-
Checks whether object has been marked expired.
Expired objects will be reloaded from the database by the cache when the object is retrieved again. - isInteractive() - Method in class org.tentackle.app.AbstractApplication
-
Returns whether the running application is interactive.
- isInteractive() - Method in interface org.tentackle.app.Application
-
Returns whether the running application is interactive.
- isLockedByAnotherUser() - Method in exception class org.tentackle.pdo.LockException
-
Returns whether locked by another user or in another context.
- isLowWaterMarkModified() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the modification state of lowWaterMark.
- isMaxSizeHardLimit() - Method in class org.tentackle.pdo.PdoCache
-
Returns whether
maxSize
is a hard limit. - isMissing(PdoCacheIndex.CacheKey) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Returns whether key is known to belong to a missing PDO.
- isNameModified() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the modification state of name.
- isNew() - Method in interface org.tentackle.pdo.PersistentObject
-
Checks whether this object is already persistent in the database or only residing in memory.
If an objectisNew()
, it means that it can be persisted (inserted). - isNormTextProvided() - Method in interface org.tentackle.pdo.PersistentObject
-
Indicates whether this entity's model provides at least one normtext column.
- isNumberPoolIdModified() - Method in interface org.tentackle.ns.pdo.NumberRangePersistence
-
Gets the modification state of numberPoolId.
- isNumberRangeListLoaded() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Returns whether NumberRange is loaded.
- isolation() - Element in annotation interface org.tentackle.pdo.Transaction
-
The transaction isolation level.
- isOnline() - Method in class org.tentackle.ns.DefaultNumberSource
- isOnline() - Method in interface org.tentackle.ns.NumberSource
-
Returns whether pool is online.
- isOnline() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the attribute online.
- isOnlineModified() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the modification state of online.
- isOnlinePersisted() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the last persisted value of online.
- isOverridingOlderEvents() - Method in class org.tentackle.app.LogoutEvent
- isParent() - Method in class org.tentackle.pdo.PdoMember
-
Returns whether this is a parent relation.
- isPermissionAccepted(Permission) - Method in interface org.tentackle.pdo.PersistentObject
-
Checks if the permission for a given permission is accepted.
- isPersistable() - Method in interface org.tentackle.pdo.PersistentObject
-
Determines whether this object is allowed to be stored in database.
Notice that once a PDO is persisted, the same object reference is no more persistable and must be reloaded. - isPreloading() - Method in class org.tentackle.pdo.PdoCache
-
Returns whether this cache is a preloading one.
- isReadOnly() - Method in class org.tentackle.pdo.PdoCache
-
Returns whether this is a readonly cache.
Objects in a readonly cache will be set to immutable and get their session set to null which will use the thread-local's session to lazily load related objects. - isReadOnly() - Method in class org.tentackle.pdo.PdoCacheIndex
-
Returns whether the cache is readonly.
- isRealmModified() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the modification state of realm.
- isReferenced() - Method in interface org.tentackle.pdo.PersistentObject
-
Checks whether this object is referenced by other objects.
- isRemovable() - Method in interface org.tentackle.pdo.PersistentObject
-
Checks whether this object can be removed.
- isRequestSizeModified() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the modification state of requestSize.
- isRootClassIdProvided() - Method in interface org.tentackle.pdo.PersistentObject
-
Indicates whether this entity's model provides a root-class-ID column.
The column is added in components that belong to different root entity classes. - isRootContext() - Method in class org.tentackle.pdo.DefaultDomainContext
- isRootContext() - Method in interface org.tentackle.pdo.DomainContext
-
Returns whether this is a root entity context.
- isRootEntity() - Method in interface org.tentackle.pdo.PersistentObject
-
Returns whether this object is a root entity.
All entities that are not a component of another entity, are considered as a root entity. - isRootEntityOf(C) - Method in interface org.tentackle.pdo.PersistentObject
-
Returns whether this is a root entity of given component.
- isRootIdProvided() - Method in interface org.tentackle.pdo.PersistentObject
-
Indicates whether this entity provides a root-ID column.
The column is added in components without a direct parent ID relation to provide the ID of the root entity without accessing the database. - isServer() - Method in class org.tentackle.app.AbstractApplication
-
Returns whether the application is a server.
- isServer() - Method in interface org.tentackle.app.Application
-
Returns whether the running application is a server.
- isSessionImmutable() - Method in class org.tentackle.pdo.DefaultDomainContext
-
Returns whether the session is immutable.
- isSessionImmutable() - Method in class org.tentackle.pdo.DummyPersistentOperation
- isSessionThreadLocal() - Method in class org.tentackle.pdo.DefaultDomainContext
- isSlave() - Method in interface org.tentackle.ns.pdo.NumberPoolDomain
-
Returns whether this pool is a slave pool and gets its ranges from an uplink.
- isSystemExitNecessaryToStop() - Method in class org.tentackle.app.AbstractApplication
-
Returns whether System.exit() must be invoked to stop the application.
- isTableSerialProvided() - Method in interface org.tentackle.pdo.PersistentObject
-
Indicates whether this entity's model provides a tableserial column.
- isTokenLockableByMe() - Method in interface org.tentackle.pdo.PersistentObject
-
Checks whether requesting a token lock for the current user is possible.
- isTokenLocked() - Method in interface org.tentackle.pdo.PersistentObject
-
Checks whether this object is token locked and the lock is not expired.
- isTokenLockedBy(long) - Method in interface org.tentackle.pdo.PersistentObject
-
Checks whether this object is token locked by given user.
- isTokenLockedByMe() - Method in interface org.tentackle.pdo.PersistentObject
-
Checks whether this object is token locked by the current user.
- isTokenLockProvided() - Method in interface org.tentackle.pdo.PersistentObject
-
Indicates whether this entity provides the token lock columns.
- isTracked() - Method in interface org.tentackle.pdo.PersistentObject
-
Returns whether the modification state is available.
By default, PDOs are not tracked.
This is quality measure to ensure that isModified() returns false if and only if it hasn't been modified, i.e. the (generated) code checks for modification properly. - isUniqueDomainKeyProvided() - Method in interface org.tentackle.pdo.DomainObject
-
Returns whether PDO provides a unique domain key.
Use this method to prevent a DomainException. - isUplinkModified() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Gets the modification state of uplink.
- isValidated() - Method in interface org.tentackle.pdo.PersistentObject
-
Returns whether PDO has been successfully validated.
A PDO is validated if not modified since the last validation or not modified since loaded from the backend. - isViewAllowed() - Method in interface org.tentackle.pdo.PersistentObject
-
Determines whether the user is allowed to view this PDO.
Can be used to determine whether object is shown to the user. - isWithinContext(long, int) - Method in class org.tentackle.pdo.DefaultDomainContext
- isWithinContext(long, int) - Method in interface org.tentackle.pdo.DomainContext
-
Determines whether this context belongs to an inheritance hierarchy that is created from a given context object.
- isWithinContext(long, int) - Method in interface org.tentackle.pdo.DomainContextProvider
-
Determines whether the provided context belongs to an inheritance hierarchy that is created from a given context object.
- isWithinContext(String) - Method in class org.tentackle.pdo.DefaultDomainContext
- isWithinContext(String) - Method in interface org.tentackle.pdo.DomainContext
-
Checks whether the given name equals the name of this or one of its parent contexts.
Notice that the empty string is always within the context, since the topmost parent context is always unnamed. - isWithinContext(String) - Method in interface org.tentackle.pdo.DomainContextProvider
-
Checks whether the given name equals the name of this or one of its parent contexts.
- isWriteAllowed() - Method in interface org.tentackle.pdo.PersistentObject
-
Determines whether the application is allowed to write this PDO.
K
- keepAliveIntervalChanged(Session) - Static method in class org.tentackle.pdo.Pdo
-
Handles the change of a keep alive interval of a session.
- kill(long, long, String, long) - Method in interface org.tentackle.pdo.AdminExtension
-
Kills all sessions of a given user.
L
- LFU - Enum constant in enum class org.tentackle.pdo.PdoCacheStrategy
-
least frequently used
- linkDomainObject(T, DomainObject<T>) - Method in interface org.tentackle.pdo.DomainDelegateLinker
-
Link the domain delegate to its
PersistentDomainObject
. - linkDomainOperation(T, DomainOperation<T>) - Method in interface org.tentackle.pdo.DomainDelegateLinker
-
Links the domain delegate to its
Operation
. - linkPersistentObject(T, PersistentObject<T>) - Method in interface org.tentackle.pdo.PersistenceDelegateLinker
-
Link the persistence delegate to its
PersistentDomainObject
. - linkPersistentOperation(T, PersistentOperation<T>) - Method in interface org.tentackle.pdo.PersistenceDelegateLinker
-
Links the persistence delegate to its
Operation
. - listen(Runnable, Class<?>...) - Static method in class org.tentackle.pdo.Pdo
-
Adds a listener for a modification on given PDO classes.
This is just a convenience wrapper forPdoListener
to make use of lambdas.
Same asPdo.listen(Consumer, Class[])
, but for handlers that don't need to refer to theModificationEvent
. - listen(Runnable, Class<?>...) - Method in class org.tentackle.pdo.PdoUtilities
-
Adds a listener for a modification on given PDO classes.
This is just a convenience wrapper forPdoListener
to make use of lambdas.
Same asPdoUtilities.listen(Consumer, Class[])
, but for handlers that don't need to refer to theModificationEvent
. - listen(Consumer<ModificationEvent>, Class<?>...) - Static method in class org.tentackle.pdo.Pdo
-
Adds a listener for a modification on given PDO classes.
This is just a convenience wrapper forPdoListener
to make use of lambdas. - listen(Consumer<ModificationEvent>, Class<?>...) - Method in class org.tentackle.pdo.PdoUtilities
-
Adds a listener for a modification on given PDO classes.
This is just a convenience wrapper forPdoListener
to make use of lambdas. - loadComponents(boolean) - Method in interface org.tentackle.pdo.PersistentObject
-
Loads all components.
The method is used to transfer a copy of an object between tiers including all composite object relations recursively. - LOCALE - Static variable in class org.tentackle.app.AbstractApplication
-
Property to set the default locale.
- LockException - Exception Class in org.tentackle.pdo
-
Runtime exception thrown for failed lock operations.
- LockException(Session, String) - Constructor for exception class org.tentackle.pdo.LockException
-
Constructs a new locking exception for a given session and context name.
Thrown if locked by the same user, but within another named domain context. - LockException(Session, TokenLockInfo) - Constructor for exception class org.tentackle.pdo.LockException
-
Constructs a new locking exception for a given session and lock info.
Thrown if already locked by another user. - lockExceptionToString(LockException, PersistentDomainObject<?>) - Method in class org.tentackle.pdo.PdoUtilities
-
Creates a localized string from a
LockException
for a PDO. - login() - Method in class org.tentackle.app.ConsoleApplication
-
Connects to the database backend or application server.
- logout(long, long, String, long) - Method in interface org.tentackle.pdo.AdminExtension
-
Submits a logout request to the modification tracker session of a given user.
- LogoutEvent - Class in org.tentackle.app
-
A master serial event to request a remote client logout.
- LogoutEvent() - Constructor for class org.tentackle.app.LogoutEvent
- LogoutEventHandler - Class in org.tentackle.app
-
Default handler for a
LogoutEvent
.
Simply terminates the modification tracker, which will in turn terminate the application. - LogoutEventHandler() - Constructor for class org.tentackle.app.LogoutEventHandler
- logStackdump() - Method in class org.tentackle.app.AbstractApplication
-
Logs a stackdump.
- logStatistics() - Method in class org.tentackle.app.AbstractApplication
-
Logs and clears the statistics.
- LRU - Enum constant in enum class org.tentackle.pdo.PdoCacheStrategy
-
least recently used
M
- markCacheAccess() - Method in interface org.tentackle.pdo.PersistentObject
-
Marks the cache access.
Increments the access counter and sets the last access time. - me() - Method in class org.tentackle.pdo.DummyPersistentOperation
- me() - Method in interface org.tentackle.pdo.ProxyDelegate
-
Gets the proxy instance.
- message() - Element in annotation interface org.tentackle.security.pdo.SecurityValidator
-
An optional validation message.
If missing the validator creates its own message.
N
- NAME - Static variable in interface org.tentackle.security.permissions.AllPermission
-
the permission's name.
- NAME - Static variable in interface org.tentackle.security.permissions.EditPermission
-
the permission's name.
- NAME - Static variable in interface org.tentackle.security.permissions.ExecutePermission
-
the permission's name.
- NAME - Static variable in interface org.tentackle.security.permissions.ReadPermission
-
the permission's name.
- NAME - Static variable in interface org.tentackle.security.permissions.ViewPermission
-
the permission's name.
- NAME - Static variable in interface org.tentackle.security.permissions.WritePermission
-
the permission's name.
- NotInvokedInBuddyDelegateException - Exception Class in org.tentackle.pdo
-
Exception thrown when an implementation is not invoked in buddy delegate.
Should be used in unused method body to avoid direct invocation without interceptor. - NotInvokedInBuddyDelegateException() - Constructor for exception class org.tentackle.pdo.NotInvokedInBuddyDelegateException
-
Creates an exception with a default message.
- NoTransaction - Annotation Interface in org.tentackle.pdo
-
Annotation to verify that there is no transaction currently running.
- NoTransactionInterceptor - Class in org.tentackle.pdo
-
Implementation for the
NoTransaction
interception. - NoTransactionInterceptor() - Constructor for class org.tentackle.pdo.NoTransactionInterceptor
-
Creates a
NoTransaction
interceptor. - NotWithinContext - Annotation Interface in org.tentackle.pdo
-
Annotation to express that the annotated method must not be within a given named context.
- NotWithinContextInterceptor - Class in org.tentackle.pdo
-
Implementation for the
NotWithinContext
interception. - NotWithinContextInterceptor() - Constructor for class org.tentackle.pdo.NotWithinContextInterceptor
-
Creates a
NotWithinContext
interceptor. - NumberPool - Interface in org.tentackle.ns.pdo
-
A number pool.
- NumberPoolDomain - Interface in org.tentackle.ns.pdo
-
Number pool domain interface.
- NumberPoolPersistence - Interface in org.tentackle.ns.pdo
-
Persistence interface for number pool.
- NumberRange - Interface in org.tentackle.ns.pdo
-
A number pool.
- NumberRangeDomain - Interface in org.tentackle.ns.pdo
-
Number space domain interface.
- NumberRangePersistence - Interface in org.tentackle.ns.pdo
-
Persistence interface for security rules.
- NumberSource - Interface in org.tentackle.ns
-
A source of unique numbers.
- NumberSource.Range - Record Class in org.tentackle.ns
-
A range of numbers.
- NumberSourceEmptyException - Exception Class in org.tentackle.ns
-
Number source empty exception.
- NumberSourceEmptyException() - Constructor for exception class org.tentackle.ns.NumberSourceEmptyException
-
Constructs a new number source empty exception with
null
as its detail message. - NumberSourceEmptyException(String) - Constructor for exception class org.tentackle.ns.NumberSourceEmptyException
-
Constructs a new number source empty exception with the specified detail message.
- NumberSourceEmptyException(String, Throwable) - Constructor for exception class org.tentackle.ns.NumberSourceEmptyException
-
Constructs a new number source empty exception with the specified detail message and cause.
- NumberSourceEmptyException(Throwable) - Constructor for exception class org.tentackle.ns.NumberSourceEmptyException
-
Constructs a new number source empty exception with the specified cause and a detail message of
(cause==null ?
- NumberSourceException - Exception Class in org.tentackle.ns
-
Number source exception.
- NumberSourceException() - Constructor for exception class org.tentackle.ns.NumberSourceException
-
Constructs a new number source exception with
null
as its detail message. - NumberSourceException(String) - Constructor for exception class org.tentackle.ns.NumberSourceException
-
Constructs a new number source exception with the specified detail message.
- NumberSourceException(String, Throwable) - Constructor for exception class org.tentackle.ns.NumberSourceException
-
Constructs a new number source exception with the specified detail message and cause.
- NumberSourceException(Throwable) - Constructor for exception class org.tentackle.ns.NumberSourceException
-
Constructs a new number source exception with the specified cause and a detail message of
(cause==null ?
- NumberSourceFactory - Interface in org.tentackle.ns
-
A factory of number sources.
O
- on() - Method in interface org.tentackle.pdo.PdoProvider
-
Creates a new instance of the same type as the PDO.
- on(Class<T>) - Method in interface org.tentackle.pdo.DomainContextProvider
-
Creates a PDO for an entity type within the domain context of this object.
The method is an acronym for "object new" and is provided as a shorter and better readable alternative toPdo.create(java.lang.Class, org.tentackle.pdo.DomainContext)
. - on(Class<T>, String) - Method in interface org.tentackle.pdo.DomainContextProvider
-
Creates a PDO within a new named domain context.
Same asDomainContextProvider.on(Class)
, but uses a new sub context of the given name. - on(String) - Method in interface org.tentackle.pdo.PdoProvider
-
Creates a new instance of the same type as the PDO within a new sub context.
- op() - Method in interface org.tentackle.pdo.OperationProvider
-
Creates a new instance of the same type as the operation.
- op(Class<T>) - Method in interface org.tentackle.pdo.DomainContextProvider
-
Creates an operation within the domain context of this object.
Same asDomainContextProvider.on(Class)
but for operations. - op(Class<T>, String) - Method in interface org.tentackle.pdo.DomainContextProvider
-
Creates an operation within a new domain context.
Same asDomainContextProvider.op(Class)
, but uses a new sub context of the given name. - op(String) - Method in interface org.tentackle.pdo.OperationProvider
-
Creates a new instance of the same type as the operation within a new sub context.
- Operation<T> - Interface in org.tentackle.pdo
-
An operation.
- OperationFactory - Interface in org.tentackle.pdo
-
A factory for operation objects.
- OperationInvocation - Interface in org.tentackle.pdo
-
Method reference for operation related methods.
- OperationInvocationHandler<T> - Class in org.tentackle.pdo
-
Invocation handler for operations.
Each instance of an operation gets its own handler. - OperationInvocationHandler(ClassMapper, ClassMapper, Class<T>) - Constructor for class org.tentackle.pdo.OperationInvocationHandler
-
Creates an invocation handler.
- OperationMethodCache<T> - Class in org.tentackle.pdo
-
Method-cache for operations.
Each operation class provides its own cache. - OperationMethodCache(Class<T>) - Constructor for class org.tentackle.pdo.OperationMethodCache
-
Creates a method cache.
- OperationMethodCacheInfo - Record Class in org.tentackle.pdo
-
Cache info provided for the
OperationMethodCache
to create method entries. - OperationMethodCacheInfo(OperationInvocation, Class<? extends Interceptable>) - Constructor for record class org.tentackle.pdo.OperationMethodCacheInfo
-
Creates an instance of a
OperationMethodCacheInfo
record class. - OperationMethodCacheProvider<T> - Interface in org.tentackle.pdo
-
Provides access to a
OperationMethodCache
.
There is one cache per operation-class. - OperationProvider<T> - Interface in org.tentackle.pdo
-
Provider for an
Operation
. - ored() - Element in annotation interface org.tentackle.security.Secured
-
Determines whether multiple permissions should be ORed.
- org.tentackle.app - package org.tentackle.app
-
Application lifecycle.
- org.tentackle.apt.pdo - package org.tentackle.apt.pdo
-
Annotation processors.
- org.tentackle.ns - package org.tentackle.ns
-
Number sources.
- org.tentackle.ns.pdo - package org.tentackle.ns.pdo
-
PDOs for number sources.
- org.tentackle.pdo - module org.tentackle.pdo
-
tentackle-pdo module.
- org.tentackle.pdo - package org.tentackle.pdo
-
Persistent Domain Object Abstraction Layer.
- org.tentackle.security - package org.tentackle.security
-
Security.
All about permissions, rules and grantees. - org.tentackle.security.pdo - package org.tentackle.security.pdo
-
Security persistence.
Provides ACL-like security rules. - org.tentackle.security.permissions - package org.tentackle.security.permissions
-
Predefined security permissions.
P
- Pdo - Class in org.tentackle.pdo
-
Collected factory methods for the PDOs and related objects.
Combines all the pdo factories and enhances code readability. - PdoCache<T> - Class in org.tentackle.pdo
-
Cache for
PersistentDomainObject
s.
The cache works both client- and server side.
The cache can hold any number of unique indexes (seePdoCacheIndex
) that are added (or removed) at runtime. - PdoCache(Class<T>) - Constructor for class org.tentackle.pdo.PdoCache
-
Creates a cache without preloading.
- PdoCache(Class<T>, boolean, boolean, boolean) - Constructor for class org.tentackle.pdo.PdoCache
-
Creates an instance of an PdoCache.
- PdoCacheException - Exception Class in org.tentackle.pdo
-
PDO cache exception.
- PdoCacheException() - Constructor for exception class org.tentackle.pdo.PdoCacheException
-
Constructs a new pdo cache exception without a session and with
null
as its detail message. - PdoCacheException(String) - Constructor for exception class org.tentackle.pdo.PdoCacheException
-
Constructs a new pdo cache exception without a session with the specified detail message.
- PdoCacheException(String, Throwable) - Constructor for exception class org.tentackle.pdo.PdoCacheException
-
Constructs a new pdo cache exception without a session with the specified detail message and cause.
- PdoCacheException(Throwable) - Constructor for exception class org.tentackle.pdo.PdoCacheException
-
Constructs a new pdo cache exception without a session with the specified cause and a detail message of
(cause==null ?
- PdoCacheException(PersistentDomainObject<?>) - Constructor for exception class org.tentackle.pdo.PdoCacheException
-
Constructs a new pdo cache exception for a given db object with
null
as its detail message. - PdoCacheException(PersistentDomainObject<?>, String) - Constructor for exception class org.tentackle.pdo.PdoCacheException
-
Constructs a new pdo cache exception for a given session with the specified detail message.
- PdoCacheException(PersistentDomainObject<?>, String, Throwable) - Constructor for exception class org.tentackle.pdo.PdoCacheException
-
Constructs a new pdo cache exception for a given session with the specified detail message and cause.
- PdoCacheException(PersistentDomainObject<?>, Throwable) - Constructor for exception class org.tentackle.pdo.PdoCacheException
-
Constructs a new pdo cache exception for a given session with the specified cause and a detail message of
(cause==null ?
- PdoCacheException(Session) - Constructor for exception class org.tentackle.pdo.PdoCacheException
-
Constructs a new pdo cache exception for a given session with
null
as its detail message. - PdoCacheException(Session, String) - Constructor for exception class org.tentackle.pdo.PdoCacheException
-
Constructs a new pdo cache exception for a given session with the specified detail message.
- PdoCacheException(Session, String, Throwable) - Constructor for exception class org.tentackle.pdo.PdoCacheException
-
Constructs a new pdo cache exception for a given session with the specified detail message and cause.
- PdoCacheException(Session, Throwable) - Constructor for exception class org.tentackle.pdo.PdoCacheException
-
Constructs a new pdo cache exception for a given session with the specified cause and a detail message of
(cause==null ?
- PdoCacheFactory - Interface in org.tentackle.pdo
-
Factory for PDO-Caches.
The factory keeps a list of all created caches. - PdoCacheFileStore<T> - Class in org.tentackle.pdo
-
A file-based backup store for
PdoCache
.
Serializes the cache to the filesystem to improve client startup times, especially for preloading caches.
Makes only sense for remote client applications. - PdoCacheFileStore(PdoCache<T>) - Constructor for class org.tentackle.pdo.PdoCacheFileStore
-
Creates a file store for a cache.
- PdoCacheIndex<T,
C> - Class in org.tentackle.pdo -
Cache index.
Holds the mapping of keys to objects. - PdoCacheIndex(String) - Constructor for class org.tentackle.pdo.PdoCacheIndex
-
Create a new unsorted index.
- PdoCacheIndex(String, boolean) - Constructor for class org.tentackle.pdo.PdoCacheIndex
-
Create a new index.
- PdoCacheIndex.CacheKey - Class in org.tentackle.pdo
-
The key for the cache map.
We must compare C with domain context, because the same object may live in different contexts. - PdoCacheIndex.CacheResult - Class in org.tentackle.pdo
-
The result from a cache query.
- PdoCacheStrategy - Enum Class in org.tentackle.pdo
-
Caching strategy for the PDO-cache.
- PdoFactory - Interface in org.tentackle.pdo
-
A factory for persistent domain objects.
- PdoInvocation - Interface in org.tentackle.pdo
-
Method reference for PDO related methods.
- PdoInvocationHandler<T> - Class in org.tentackle.pdo
-
Invocation handler for PDOs.
Each instance of a PDO gets its own handler. - PdoInvocationHandler(ClassMapper, ClassMapper, Class<T>) - Constructor for class org.tentackle.pdo.PdoInvocationHandler
-
Creates an invocation handler.
- PdoListener - Class in org.tentackle.pdo
-
A listener for PDO modifications.
- PdoListener(Class<?>...) - Constructor for class org.tentackle.pdo.PdoListener
-
Creates a listener for the given pdo class(es).
- PdoMember - Class in org.tentackle.pdo
-
A member of a PDO.
Members can be either attributes or relations. - PdoMember(PdoMember.Type, String, Method, Method, boolean, boolean, boolean, String, int) - Constructor for class org.tentackle.pdo.PdoMember
-
Creates a member.
- PdoMember.Type - Enum Class in org.tentackle.pdo
-
The member type.
- PdoMethodCache<T> - Class in org.tentackle.pdo
-
Method-cache for PDOs.
Each PDO class provides its own cache. - PdoMethodCache(Class<T>) - Constructor for class org.tentackle.pdo.PdoMethodCache
-
Creates a method cache.
- PdoMethodCacheInfo - Record Class in org.tentackle.pdo
-
Cache info provided for the
PdoMethodCache
to create method entries. - PdoMethodCacheInfo(PdoInvocation, Class<? extends Interceptable>) - Constructor for record class org.tentackle.pdo.PdoMethodCacheInfo
-
Creates an instance of a
PdoMethodCacheInfo
record class. - PdoMethodCacheProvider<T> - Interface in org.tentackle.pdo
-
Provides access to a
PdoMethodCache
.
There is one cache per PDO-class. - PdoPdoBundle - Class in org.tentackle.pdo
-
Bundle for the pdo-package in tentackle-pdo.
- PdoProvider<T> - Interface in org.tentackle.pdo
-
Provider for a PDO.
- PdoRemoteSession - Interface in org.tentackle.pdo
-
Extended remote session providing PDO-related services.
- PdoRuntimeException - Exception Class in org.tentackle.pdo
-
PDO runtime exception.
Unspecified exceptions related to PDOs. - PdoRuntimeException() - Constructor for exception class org.tentackle.pdo.PdoRuntimeException
-
Constructs a new pdo runtime exception without a session and with
null
as its detail message. - PdoRuntimeException(String) - Constructor for exception class org.tentackle.pdo.PdoRuntimeException
-
Constructs a new pdo runtime exception without a session with the specified detail message.
- PdoRuntimeException(String, Throwable) - Constructor for exception class org.tentackle.pdo.PdoRuntimeException
-
Constructs a new pdo runtime exception without a session with the specified detail message and cause.
- PdoRuntimeException(Throwable) - Constructor for exception class org.tentackle.pdo.PdoRuntimeException
-
Constructs a new pdo runtime exception without a session with the specified cause and a detail message of
(cause==null ?
- PdoRuntimeException(PersistentDomainObject<?>) - Constructor for exception class org.tentackle.pdo.PdoRuntimeException
-
Constructs a new pdo runtime exception for a given db object with
null
as its detail message. - PdoRuntimeException(PersistentDomainObject<?>, String) - Constructor for exception class org.tentackle.pdo.PdoRuntimeException
-
Constructs a new pdo runtime exception for a given session with the specified detail message.
- PdoRuntimeException(PersistentDomainObject<?>, String, Throwable) - Constructor for exception class org.tentackle.pdo.PdoRuntimeException
-
Constructs a new pdo runtime exception for a given session with the specified detail message and cause.
- PdoRuntimeException(PersistentDomainObject<?>, Throwable) - Constructor for exception class org.tentackle.pdo.PdoRuntimeException
-
Constructs a new pdo runtime exception for a given session with the specified cause and a detail message of
(cause==null ?
- PdoRuntimeException(Session) - Constructor for exception class org.tentackle.pdo.PdoRuntimeException
-
Constructs a new pdo runtime exception for a given session with
null
as its detail message. - PdoRuntimeException(Session, String) - Constructor for exception class org.tentackle.pdo.PdoRuntimeException
-
Constructs a new pdo runtime exception for a given session with the specified detail message.
- PdoRuntimeException(Session, String, Throwable) - Constructor for exception class org.tentackle.pdo.PdoRuntimeException
-
Constructs a new pdo runtime exception for a given session with the specified detail message and cause.
- PdoRuntimeException(Session, Throwable) - Constructor for exception class org.tentackle.pdo.PdoRuntimeException
-
Constructs a new pdo runtime exception for a given session with the specified cause and a detail message of
(cause==null ?
- PdoUtilities - Class in org.tentackle.pdo
-
Utility methods for PDOs.
- PdoUtilities() - Constructor for class org.tentackle.pdo.PdoUtilities
-
Creates a utility instance.
- Permission - Interface in org.tentackle.security
-
A security permission.
- PermissionService - Annotation Interface in org.tentackle.security
-
Annotation to express that the annotated class is an implementation of a permission.
- permissionsToString(Set<Permission>) - Method in class org.tentackle.security.DefaultSecurityFactory
- permissionsToString(Set<Permission>) - Method in interface org.tentackle.security.SecurityFactory
-
Converts a set of permissions to a comma seperated string.
- persist() - Method in interface org.tentackle.pdo.PersistentObject
-
Persist this PDO.
Same asPersistentObject.save()
but returns the persisted object.
The returned object is persistable.
If the session is local,this
is returned. - PersistenceDelegate<T> - Interface in org.tentackle.pdo
-
Interface for all delegates implementing the persistence model.
- PersistenceDelegateLinker - Interface in org.tentackle.pdo
-
Links the persistence delegate with its dynamic proxy.
Provided to exclude the methodssetPdo
andsetOperation
from the interfacesPdoProvider
andOperationProvider
. - PersistentDomainObject<T> - Interface in org.tentackle.pdo
-
A persistent domain object.
- PersistentObject<T> - Interface in org.tentackle.pdo
-
Interface for the persistent part of a PDO.
- PersistentObjectService - Annotation Interface in org.tentackle.pdo
-
Annotation to express that the annotated class is an implementation of the persistence logic for a given PDO type.
- PersistentObjectServiceAnnotationProcessor - Class in org.tentackle.apt.pdo
-
Annotation processor for the
@PersistentObjectService
annotation.
Enforces the implementation of the following constructors: (PersistentDomainObject
,DomainContext
) (PersistentDomainObject
,Session
) (PersistentDomainObject
) () - PersistentObjectServiceAnnotationProcessor() - Constructor for class org.tentackle.apt.pdo.PersistentObjectServiceAnnotationProcessor
-
Creates the processor.
- PersistentOperation<T> - Interface in org.tentackle.pdo
-
Interface for the persistence part of an operation.
- PersistentOperationService - Annotation Interface in org.tentackle.pdo
-
Annotation to express that the annotated class is an implementation of the domain logic for a given operation type.
- PersistentOperationServiceAnnotationProcessor - Class in org.tentackle.apt.pdo
-
Annotation processor for the
@PersistentOperationService
annotation.
Enforces the implementation of the following constructors: (Operation
,DomainContext
) (Operation
,Session
) (Operation
) () - PersistentOperationServiceAnnotationProcessor() - Constructor for class org.tentackle.apt.pdo.PersistentOperationServiceAnnotationProcessor
-
Creates the processor.
- persistTokenLocked() - Method in interface org.tentackle.pdo.PersistentObject
-
Persist this PDO and renew the token lock.
Use this method if the application continues to work with the locked PDO after being persisted. - Plural - Annotation Interface in org.tentackle.pdo
-
Annotation to describe the name of multiple PDOs.
- popNumber() - Method in class org.tentackle.ns.DefaultNumberSource
- popNumber() - Method in interface org.tentackle.ns.NumberSource
-
Pops the next unique number from the source.
- popNumber() - Method in interface org.tentackle.ns.pdo.NumberRangeDomain
-
Pops the next number from the range.
- popNumbers(long) - Method in class org.tentackle.ns.DefaultNumberSource
- popNumbers(long) - Method in interface org.tentackle.ns.NumberSource
-
Pops the next unique numbers from the source.
- popNumbers(long) - Method in interface org.tentackle.ns.pdo.NumberRangeDomain
-
Pops the next numbers from the range.
- popNumbers(long, long) - Method in class org.tentackle.ns.DefaultNumberSource
- popNumbers(long, long) - Method in interface org.tentackle.ns.NumberSource
-
Pops a range or ranges of unique numbers from the source.
The returned ranges are sorted by numbers (ascending). - PostCommit - Annotation Interface in org.tentackle.pdo
-
Annotation to mark a method to be invoked after the current transaction has been successfully committed.
- PostCommitInterceptor - Class in org.tentackle.pdo
-
Implementation of the
PostCommit
interception. - PostCommitInterceptor() - Constructor for class org.tentackle.pdo.PostCommitInterceptor
-
Creates a
PostCommit
interceptor. - printStatistics() - Method in class org.tentackle.pdo.PdoCache
-
Prints the cache statistics.
- printStatistics() - Method in class org.tentackle.pdo.PdoCacheIndex
-
Gets the cache index statistics as a printable string.
- priority() - Element in annotation interface org.tentackle.security.pdo.SecurityValidator
-
Priority that determines the execution order of validations.
- proceed(Object, Method, Object[], Object, Method, Object[]) - Method in class org.tentackle.pdo.InvokeInBuddyDelegateInterceptor
- proceed(Object, Method, Object[], Object, Method, Object[]) - Method in class org.tentackle.pdo.NoTransactionInterceptor
- proceed(Object, Method, Object[], Object, Method, Object[]) - Method in class org.tentackle.pdo.NotWithinContextInterceptor
- proceed(Object, Method, Object[], Object, Method, Object[]) - Method in class org.tentackle.pdo.PostCommitInterceptor
- proceed(Object, Method, Object[], Object, Method, Object[]) - Method in class org.tentackle.pdo.TransactionInterceptor
- proceed(Object, Method, Object[], Object, Method, Object[]) - Method in class org.tentackle.pdo.WithinContextInterceptor
- proceed(Object, Method, Object[], Object, Method, Object[]) - Method in class org.tentackle.security.SecuredInterceptor
- processClass(Element) - Method in class org.tentackle.apt.pdo.DomainObjectServiceAnnotationProcessor
- processClass(Element) - Method in class org.tentackle.apt.pdo.DomainOperationServiceAnnotationProcessor
- processClass(Element) - Method in class org.tentackle.apt.pdo.PersistentObjectServiceAnnotationProcessor
- processClass(Element) - Method in class org.tentackle.apt.pdo.PersistentOperationServiceAnnotationProcessor
- processContext(DomainContext) - Method in class org.tentackle.pdo.PdoCache
-
Process the domain context.
If the context is a root context it will be replaced by the corresponding non-root context. - processPdo(T) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Process the PDO.
If cache is readonly, the context will be replaced by a session-thread-local context and the pdo will be made immutable.
If the context is a root context it will be replaced by the corresponding non-root context. - ProxyDelegate<T> - Interface in org.tentackle.pdo
-
Base interface for all delegates of dynamic proxies.
- pushNumber(long) - Method in class org.tentackle.ns.DefaultNumberSource
- pushNumber(long) - Method in interface org.tentackle.ns.NumberSource
-
Pushes a number to the number source.
If the number is already in the number source, nothing happens. - pushNumbers(long, long) - Method in class org.tentackle.ns.DefaultNumberSource
- pushNumbers(long, long) - Method in interface org.tentackle.ns.NumberSource
-
Pushes a range of unique numbers to the source.
The range may overlap with existing numbers.
R
- Range(long, long) - Constructor for record class org.tentackle.ns.NumberSource.Range
-
Creates an instance of a
Range
record class. - readFromFile(Session) - Method in class org.tentackle.pdo.PdoCacheFileStore
-
Loads a cache from persistent storage.
Throws PdoRuntimeException if reading failed. - ReadPermission - Interface in org.tentackle.security.permissions
-
Read permission interface.
- ReadPermissionImpl - Class in org.tentackle.security.permissions
-
Permission to read.
- ReadPermissionImpl() - Constructor for class org.tentackle.security.permissions.ReadPermissionImpl
-
Creates the read permission.
- register() - Method in interface org.tentackle.app.Application
-
Registers this application.
Makes sure that only one application is running at a time. - registerGlobalSessionCloseHandler(SessionCloseHandler) - Static method in class org.tentackle.pdo.Pdo
-
Registers a global close handler for all sessions.
- RELATION - Enum constant in enum class org.tentackle.pdo.PdoMember.Type
-
member is a relation.
- releaseTokenLock() - Method in interface org.tentackle.pdo.PersistentObject
-
Releases a token lock.
Use this method if a PDO needs to be unlocked without being persisted. - reload() - Method in interface org.tentackle.pdo.PersistentObject
-
Reloads the object.
- reloadForUpdate() - Method in interface org.tentackle.pdo.PersistentObject
-
Reloads the object with a database write-lock.
Requires that a transaction is running. - reloadRanges() - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Force the ranges to be reloaded.
- reloadTokenLocked() - Method in interface org.tentackle.pdo.PersistentObject
-
Reloads the object and applies a token lock.
Same asPersistentObject.reload()
followed byPersistentObject.requestTokenLock()
, but requires only a single roundtrip if remote. - remove(T) - Method in class org.tentackle.pdo.PdoCache
-
Removes an object from cache.
Can be used by apps to remove an object explicitly. - remove(T) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Removes an object from this cache index.
Does not throw an exception if it not in cache. - removeExisting(T) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Remove an object from this cache index.
Assumes that the object really is in cache. - removeFromMissing(PdoCacheIndex.CacheKey) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Removes the key from the set of missing PDOs.
- removeIndex(PdoCacheIndex<T, ?>) - Method in class org.tentackle.pdo.PdoCache
-
removes an index.
- removeNonCacheables() - Method in class org.tentackle.pdo.PdoCache
-
Removes all PDOs with
isCacheable() == false
.
Useful if the cacheable attribute changes temporarily. - removeObjectsForSession(Session) - Method in class org.tentackle.pdo.PdoCache
-
Removes all objects and lists for a given session.
- removeObjectsForSession(Session) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Removes all objects for given session from index.
- removeObjectsForSessionInAllCaches(Session) - Method in class org.tentackle.pdo.DefaultPdoCacheFactory
- removeObjectsForSessionInAllCaches(Session) - Static method in class org.tentackle.pdo.Pdo
-
Removes all objects in ALL caches that refer to a given session.
Useful after having closed a session in an RMI-Server, for example. - removeObjectsForSessionInAllCaches(Session) - Method in interface org.tentackle.pdo.PdoCacheFactory
-
Removes all objects in ALL caches that refer to a given session.
Useful after having closed a session in an RMI-Server, for example. - removeObsoleteRules(Session) - Method in class org.tentackle.security.DefaultSecurityManager
- removeObsoleteRules(Session) - Method in interface org.tentackle.security.SecurityManager
-
Removes obsolete rules.
- requestTokenLock() - Method in interface org.tentackle.pdo.PersistentObject
-
Requests a token lock.
- reserveId() - Method in interface org.tentackle.pdo.PersistentObject
-
Reserves an ID.
- reserveId(long) - Method in interface org.tentackle.pdo.PersistentObject
-
Reserves a given ID.
It doesn't matter whether the ID is negative or positive. - retry() - Element in annotation interface org.tentackle.pdo.Transaction
-
Determines whether a transaction that is rolled back due to a temporary exception should be retried.
By default, transactions will not be retried.
Isolation levelsTransactionIsolation.REPEATABLE_READ
andTransactionIsolation.SERIALIZABLE
may produce database serialization errors and throw transient SQL exceptions, which usually requires retryable transactions to work reliably in production.
Another source for such temporary exceptions are database deadlocks.
The Tentackle persistence layer will also markNotFoundException
s as temporary, if an optimistic locking error is detected (serial mismatch). - retryLogLevel() - Element in annotation interface org.tentackle.pdo.Transaction
-
The log level to log retries.
- retryPolicy() - Element in annotation interface org.tentackle.pdo.Transaction
-
Defines the retry policy.
- revertToSnapshot(T, T) - Static method in class org.tentackle.pdo.Pdo
-
Reverts a PDO to a given snapshot.
If the original pdo is null, a copy of the snapshot will be created. - RN_NUMBERPOOL - Static variable in interface org.tentackle.ns.pdo.NumberRangePersistence
-
relation name for 'NumberPool numberPool via numberPoolId'.
- RN_NUMBERRANGELIST - Static variable in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
relation name for 'composite list of NumberRange numberRangeList via NumberRange#numberPoolId'.
- rollbackSilently() - Element in annotation interface org.tentackle.pdo.Transaction
-
Determines whether rollbacks should be logged in detail or not.
By default, rollbacks are logged with detailed diagnostics, such as executed statements, durations and more, if they are caused by a non-temporaryPersistenceException
(for example, due to a constraint violation). - running() - Element in annotation interface org.tentackle.pdo.Transaction
-
Requires that a transaction is already running.
If the optional transaction name is given, it must match the name of the current transaction.
S
- save() - Method in interface org.tentackle.pdo.PersistentObject
-
Save this PDO.
If the object is new, a new ID is obtained and the object inserted. - saveCollection(Collection<? extends PersistentDomainObject<?>>) - Method in class org.tentackle.pdo.PdoUtilities
-
Saves a collection of PDOs.
- saveCollection(Collection<? extends PersistentDomainObject<?>>, boolean) - Method in class org.tentackle.pdo.PdoUtilities
-
Saves a list of PDOs.
All objects with isPersistable() == true will be saved. - saveCollection(Collection<? extends PersistentDomainObject<?>>, boolean, boolean) - Method in class org.tentackle.pdo.PdoUtilities
-
Saves a list of PDOs.
All objects with isPersistable() == true will be saved. - scope() - Element in annotation interface org.tentackle.security.pdo.SecurityValidator
-
The validation scope(s) the validator should be applied to.
- SCRIPTING - Static variable in class org.tentackle.app.AbstractApplication
-
Property to set the default scripting language.
- securableToString() - Method in interface org.tentackle.security.pdo.SecurityDomain
-
Gets the securable as a string.
- Secured - Annotation Interface in org.tentackle.security
-
Annotation to secure a method.
- SecuredInterceptor - Class in org.tentackle.security
-
Interceptor to perform security checks.
- SecuredInterceptor() - Constructor for class org.tentackle.security.SecuredInterceptor
-
Creates a
Secured
interceptor. - Security - Interface in org.tentackle.security.pdo
-
A security rule.
- SecurityDomain - Interface in org.tentackle.security.pdo
-
Security rule domain interface.
- SecurityException - Exception Class in org.tentackle.security
-
Runtime exception thrown for security violations.
- SecurityException() - Constructor for exception class org.tentackle.security.SecurityException
-
Constructs a new security violation exception without a session and with
null
as its detail message. - SecurityException(String) - Constructor for exception class org.tentackle.security.SecurityException
-
Constructs a new security violation exception without a session with the specified detail message.
- SecurityException(String, Throwable) - Constructor for exception class org.tentackle.security.SecurityException
-
Constructs a new security violation exception without a session with the specified detail message and cause.
- SecurityException(Identifiable) - Constructor for exception class org.tentackle.security.SecurityException
-
Constructs a new security violation exception for a given pc object with
null
as its detail message. - SecurityException(Identifiable, String) - Constructor for exception class org.tentackle.security.SecurityException
-
Constructs a new security violation exception for a given session with the specified detail message.
- SecurityException(Identifiable, String, Throwable) - Constructor for exception class org.tentackle.security.SecurityException
-
Constructs a new security violation exception for a given session with the specified detail message and cause.
- SecurityException(Identifiable, Throwable) - Constructor for exception class org.tentackle.security.SecurityException
-
Constructs a new security violation exception for a given session with the specified cause and a detail message of
(cause==null ?
- SecurityException(Session) - Constructor for exception class org.tentackle.security.SecurityException
-
Constructs a new security violation exception for a given session with
null
as its detail message. - SecurityException(Session, String) - Constructor for exception class org.tentackle.security.SecurityException
-
Constructs a new security violation exception for a given session with the specified detail message.
- SecurityException(Session, String, Throwable) - Constructor for exception class org.tentackle.security.SecurityException
-
Constructs a new security violation exception for a given session with the specified detail message and cause.
- SecurityException(Session, Throwable) - Constructor for exception class org.tentackle.security.SecurityException
-
Constructs a new security violation exception for a given session with the specified cause and a detail message of
(cause==null ?
- SecurityFactory - Interface in org.tentackle.security
-
Factory for security related objects.
- SecurityManager - Interface in org.tentackle.security
-
The SecurityManager applies security rules to
PersistentDomainObject
s or classes and grants or denies permissions. - SecurityPersistence - Interface in org.tentackle.security.pdo
-
Persistence interface for security rules.
- SecurityResult - Interface in org.tentackle.security
-
Represents a result from the
SecurityManager
for a privilege request. - SecurityValidator - Annotation Interface in org.tentackle.security.pdo
-
Ingot validator annotation.
- SecurityValidatorImpl - Class in org.tentackle.security.pdo
-
Security validator implementation.
- SecurityValidatorImpl() - Constructor for class org.tentackle.security.pdo.SecurityValidatorImpl
-
Creates a security object validator.
- select(long) - Method in interface org.tentackle.pdo.PersistentObject
-
Loads a PDO from the database by its unique ID.
- select(DomainContext, long) - Method in class org.tentackle.pdo.PdoCache
-
Retrieves a PDO by ID.
Always loads if missing in cache. - select(DomainContext, long, boolean) - Method in class org.tentackle.pdo.PdoCache
-
Retrieves a PDO by ID.
- select(DomainContext, C) - Method in class org.tentackle.pdo.PdoCacheIndex
-
Select an PersistentDomainObject by key from db.
- select(PdoCacheIndex<T, C>, DomainContext, C) - Method in class org.tentackle.pdo.PdoCache
-
Retrieve PDO via cache.
Load from storage if not in cache. - select(PdoCacheIndex<T, C>, DomainContext, C, boolean) - Method in class org.tentackle.pdo.PdoCache
-
Retrieves a PDO via cache.
- select(PdoCacheIndex<T, C>, DomainContext, C, C) - Method in class org.tentackle.pdo.PdoCache
-
Retrieves a range of objects from cache.
Objects not in cache so far will NOT be loaded from storage! - selectAll() - Method in interface org.tentackle.pdo.PersistentObject
-
Selects all objects of this class.
Eager relations are loaded as well, but limited to the first level to prevent join hogs. - selectAll(DomainContext) - Method in class org.tentackle.pdo.PdoCache
-
Retrieves all objects for a domain context via cache.
Will replace expired objects. - selectAllAsCursor() - Method in interface org.tentackle.pdo.PersistentObject
-
Selects all records in current context as a cursor.
- selectAllCached() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets all objects in context via cache.
If there is no cache, the default implementation load from the database. - selectAllForCache() - Method in interface org.tentackle.pdo.PersistentObject
-
Selects all objects to be loaded into the cache.
- selectAllFromStorage(DomainContext) - Method in class org.tentackle.pdo.PdoCache
-
Read all PDOs from storage.
- selectAllIdSerial() - Method in interface org.tentackle.pdo.PersistentObject
-
Selects all id,serial-pairs of this class as a list of
IdSerialTuple
. - selectAllWithExpiredTableSerials(long) - Method in interface org.tentackle.pdo.PersistentObject
-
Selects all pdos with a tableSerial starting at a given serial.
Useful to update expired objects in a batch. - selectByDomainContext(int, long) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Selects all rules for a given domain context.
- selectByGrantee(int, long) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Selects all rules for a given grantId.
- selectByNameRealm(String, String) - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Selects by pool name and realm.
- selectByNormText(String) - Method in interface org.tentackle.pdo.PersistentObject
-
Selects all objects containing a normalized text.
The given text will be normalized viaStringNormalizer.normalize(String)
and selected via a sqlLIKE
expression. - selectByNormTextAsCursor(String) - Method in interface org.tentackle.pdo.PersistentObject
-
Same as
PersistentObject.selectByNormText(String)
but returns a cursor. - selectByNumberPoolId(long) - Method in interface org.tentackle.ns.pdo.NumberRangePersistence
-
Selects composite list of NumberRange numberRangeList via NumberRange#numberPoolId.
- selectByObject(int, long) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Select all rules for given objectId and objectClassId.
- selectByObjectClass(String) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Select all rules for given objectClass.
- selectByUniqueDomainKey(String) - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Selects NumberPool by its unique domain key.
- selectCached(long) - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the object via cache.
If there is no cache, the default implementation just loads from the database. - selectCachedOnly(long) - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the object via cache only.
If there is no cache, the default implementation just loads from the database. - selectExpiredTableSerials(long) - Method in interface org.tentackle.pdo.PersistentObject
-
Determines the objects with a tableSerial starting at a given serial.
- selectExpiredTableSerials(long, long) - Method in interface org.tentackle.pdo.PersistentObject
-
Determines the objects with their tableSerial within a given range.
- selectForCache(long) - Method in interface org.tentackle.pdo.PersistentObject
-
Selects a PDO to be loaded into the cache.
- selectForUpdate(long) - Method in interface org.tentackle.pdo.PersistentObject
-
Loads a PDO from the database by its unique ID with a database write-lock.
Requires that a transaction is running. - selectLatest(long, int) - Method in interface org.tentackle.pdo.PersistentObject
-
Selects the latest PDOs.
Returns an optionally limited list of PDOs sorted by ID descending. - selectMaxId() - Method in interface org.tentackle.pdo.PersistentObject
-
Selects the highest id.
- selectMaxTableSerial() - Method in interface org.tentackle.pdo.PersistentObject
-
Selects the highest table serial.
- selectSerial(long) - Method in interface org.tentackle.pdo.PersistentObject
-
Selects the serial-number for a given object id from the database.
- selectTokenLocked(long) - Method in interface org.tentackle.pdo.PersistentObject
-
Loads a PDO from the database by its unique ID and applies a token lock.
Same asPersistentObject.select(long)
followed byPersistentObject.requestTokenLock()
, but requires only a single roundtrip if remote. - serial() - Method in class org.tentackle.app.LogoutEvent
- setAcceptByDefault(boolean) - Method in class org.tentackle.security.DefaultSecurityManager
- setAcceptByDefault(boolean) - Method in interface org.tentackle.security.SecurityManager
-
Sets the default behaviour for "no rules found" for the
SecurityResult
to "accepted". - setAllEnabled(boolean) - Static method in class org.tentackle.pdo.PdoCache
-
Sets all caches enabled or disabled.
- setAllowed(boolean) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Sets the attribute allowed.
- setAnnotation(Annotation) - Method in class org.tentackle.pdo.InvokeInBuddyDelegateInterceptor
- setAnnotation(Annotation) - Method in class org.tentackle.pdo.NotWithinContextInterceptor
- setAnnotation(Annotation) - Method in class org.tentackle.pdo.PostCommitInterceptor
- setAnnotation(Annotation) - Method in class org.tentackle.pdo.TransactionInterceptor
- setAnnotation(Annotation) - Method in class org.tentackle.pdo.WithinContextInterceptor
- setAnnotation(Annotation) - Method in class org.tentackle.security.pdo.SecurityValidatorImpl
- setAnnotation(Annotation) - Method in class org.tentackle.security.SecuredInterceptor
- setBegin(long) - Method in interface org.tentackle.ns.pdo.NumberRangePersistence
-
Sets the attribute begin.
- setDescription(String) - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Sets the attribute description.
- setDomainContext(DomainContext) - Method in class org.tentackle.app.AbstractApplication
-
Sets the domain context.
- setDomainContext(DomainContext) - Method in interface org.tentackle.pdo.DomainContextDependable
-
Sets this object's database application context.
- setDomainContext(DomainContext) - Method in class org.tentackle.pdo.DummyPersistentOperation
- setDomainContextClassId(int) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Sets the attribute domainContextClassId.
- setDomainContextId(long) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Sets the attribute domainContextId.
- setDomainContextImmutable(boolean) - Method in interface org.tentackle.pdo.DomainContextDependable
-
Sets the immutable flag of the domain context.
- setDomainContextImmutable(boolean) - Method in class org.tentackle.pdo.DummyPersistentOperation
-
Sets the immutable flag of the domain context.
- setDomainContextObject(PersistentDomainObject<?>) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Sets the application context's object.
- setEnabled(boolean) - Method in class org.tentackle.pdo.PdoCache
-
Sets cache enabled or disabled.
- setEnabled(boolean) - Method in class org.tentackle.security.DefaultSecurityManager
- setEnabled(boolean) - Method in interface org.tentackle.security.SecurityManager
-
Enables or disables this security manager.
- setEnd(long) - Method in interface org.tentackle.ns.pdo.NumberRangePersistence
-
Sets the attribute end.
- setExpired(boolean) - Method in interface org.tentackle.pdo.PersistentObject
-
Sets this object's expiration flag.
Expired objects are considered as invalid and must be reloaded before being used any further. - setGrantee(PersistentDomainObject<?>) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Sets the grantee.
- setGranteeClassId(int) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Sets the attribute granteeClassId.
- setGranteeId(long) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Sets the attribute granteeId.
- setIdentifiable(Identifiable) - Method in exception class org.tentackle.pdo.DomainException
-
Sets the identifiable.
- setKeepQuota(int) - Method in class org.tentackle.pdo.PdoCache
-
Set the keep quota in percent for the caching strategy.
- setLowWaterMark(long) - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Sets the attribute lowWaterMark.
- setMaxSize(int) - Method in class org.tentackle.pdo.PdoCache
-
Sets the maximum cache size.
Default is 0 = unlimited. - setMaxSizeHardLimit(boolean) - Method in class org.tentackle.pdo.PdoCache
-
Sets whether
maxSize
is a hard limit. - setMessage(String) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Sets the attribute message.
- setName(String) - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Sets the attribute name.
- setNumberPool(NumberPool) - Method in interface org.tentackle.ns.pdo.NumberRangePersistence
-
Sets NumberPool numberPool via numberPoolId.
- setObject(PersistentDomainObject<?>) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Sets the pdo this rule applies to.
- setObjectClassId(int) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Sets the attribute objectClassId.
- setObjectClassName(String) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Sets the attribute objectClassName.
- setObjectId(long) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Sets the attribute objectId.
- setOnline(boolean) - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Sets the attribute online.
- setOperation(T) - Method in class org.tentackle.pdo.DummyPersistentOperation
-
Sets the operation.
- setPermissions(String) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Sets the attribute permissions.
- setPriority(int) - Method in interface org.tentackle.security.pdo.SecurityPersistence
-
Sets the attribute priority.
- setProperties(EncryptedProperties) - Method in class org.tentackle.app.AbstractApplication
-
Sets the properties to configure the application.
- setRealm(String) - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Sets the attribute realm.
- setRequestSize(long) - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Sets the attribute requestSize.
- setSerial(long) - Method in class org.tentackle.app.LogoutEvent
- setSession(Session) - Method in class org.tentackle.pdo.DefaultDomainContext
- setSession(Session) - Method in exception class org.tentackle.pdo.DomainException
-
Sets the session.
- setSession(Session) - Method in class org.tentackle.pdo.DummyPersistentOperation
- setSessionImmutable(boolean) - Method in class org.tentackle.pdo.DefaultDomainContext
-
Sets the session to immutable.
- setSessionImmutable(boolean) - Method in class org.tentackle.pdo.DummyPersistentOperation
- setSessionInfo(SessionInfo) - Method in class org.tentackle.app.AbstractApplication
-
Sets the session info.
- setStrategy(PdoCacheStrategy) - Method in class org.tentackle.pdo.PdoCache
-
Set the caching strategy.
The strategy can be changed at any time. - setUniqueDomainKey(Object) - Method in interface org.tentackle.pdo.DomainObject
-
Sets the unique key of this object.
The unique key is the domain-key, not the technical object id. - setupDelegates(T) - Method in class org.tentackle.pdo.OperationInvocationHandler
-
Creates the delegates for the given proxy instance without any domain context or session.
- setupDelegates(T) - Method in class org.tentackle.pdo.PdoInvocationHandler
-
Creates the delegates for the given proxy instance without any domain context or session.
- setupDelegates(T, DomainContext) - Method in class org.tentackle.pdo.OperationInvocationHandler
-
Creates the delegates for the given proxy instance and the domain context.
- setupDelegates(T, DomainContext) - Method in class org.tentackle.pdo.PdoInvocationHandler
-
Creates the delegates for the given proxy instance and the domain context.
- setupDelegates(T, DomainContext, DomainObject<T>) - Method in class org.tentackle.pdo.PdoInvocationHandler
-
Creates the delegates for the given proxy instance, a context and domain delegate.
- setupDelegates(T, DomainContext, DomainOperation<T>) - Method in class org.tentackle.pdo.OperationInvocationHandler
-
Creates the delegates for the given proxy instance, a context and domain delegate.
- setupDelegates(T, PersistentObject<T>) - Method in class org.tentackle.pdo.PdoInvocationHandler
-
Creates the delegates for the given proxy instance and a persistence delegate.
- setupDelegates(T, PersistentObject<T>, DomainObject<T>) - Method in class org.tentackle.pdo.PdoInvocationHandler
-
Creates the delegates for the given proxy instance, a session and domain delegate.
- setupDelegates(T, PersistentOperation<T>) - Method in class org.tentackle.pdo.OperationInvocationHandler
-
Creates the delegates for the given proxy instance and a persistence delegate.
- setupDelegates(T, PersistentOperation<T>, DomainOperation<T>) - Method in class org.tentackle.pdo.OperationInvocationHandler
-
Creates the delegates for the given proxy instance, a session and domain delegate.
- setupDelegates(T, Session) - Method in class org.tentackle.pdo.OperationInvocationHandler
-
Creates the delegates for the given proxy instance and the session.
- setupDelegates(T, Session) - Method in class org.tentackle.pdo.PdoInvocationHandler
-
Creates the delegates for the given proxy instance and the session.
- setupDelegates(T, Session, DomainObject<T>) - Method in class org.tentackle.pdo.PdoInvocationHandler
-
Creates the delegates for the given proxy instance, a session and domain delegate.
- setupDelegates(T, Session, DomainOperation<T>) - Method in class org.tentackle.pdo.OperationInvocationHandler
-
Creates the delegates for the given proxy instance, a session and domain delegate.
- setUplink(String) - Method in interface org.tentackle.ns.pdo.NumberPoolPersistence
-
Sets the attribute uplink.
- severity() - Element in annotation interface org.tentackle.security.pdo.SecurityValidator
-
The validation severity.
- shrinkCache() - Method in class org.tentackle.pdo.PdoCache
-
Shrinks the cache.
Invoked when the cache reaches its limits. - Singular - Annotation Interface in org.tentackle.pdo
-
Annotation to describe the name of a single PDO.
- size() - Method in record class org.tentackle.ns.NumberSource.Range
-
Gets the size of the range.
- size() - Method in interface org.tentackle.ns.pdo.NumberRangeDomain
-
Gets the size of the range.
- size() - Method in class org.tentackle.pdo.PdoCacheIndex
-
Gets the number of objects in this index.
- start() - Method in interface org.tentackle.app.Application
-
Starts the application without further arguments.
- start(String[]) - Method in class org.tentackle.app.AbstractApplication
- start(String[]) - Method in interface org.tentackle.app.Application
-
Starts the application.
- startup() - Method in class org.tentackle.app.AbstractApplication
-
Invokes all steps to start up the application.
Invoked fromstart(java.lang.String[])
. - startup() - Method in class org.tentackle.app.ConsoleApplication
- stop() - Method in interface org.tentackle.app.Application
-
Gracefully terminates the application.
- stop(int, Throwable) - Method in class org.tentackle.app.AbstractApplication
- stop(int, Throwable) - Method in interface org.tentackle.app.Application
-
Terminates the application with optional error handling.
- stringToPermissionInterfaces(String) - Method in class org.tentackle.security.DefaultSecurityFactory
- stringToPermissionInterfaces(String) - Method in interface org.tentackle.security.SecurityFactory
-
Converts a comma separated string to a set of permission interfaces.
- stringToPermissions(String) - Method in class org.tentackle.security.DefaultSecurityFactory
- stringToPermissions(String) - Method in interface org.tentackle.security.SecurityFactory
-
Converts a comma separated string to a set of permissions.
T
- terminateHelperThreads() - Static method in class org.tentackle.pdo.Pdo
-
Terminates all helper threads.
- toDiagnosticString() - Method in class org.tentackle.pdo.DefaultDomainContext
- toDiagnosticString() - Method in interface org.tentackle.pdo.DomainContext
-
Get the long diagnostic string of this context.
Used for logging, for example. - toGenericString() - Method in class org.tentackle.pdo.DefaultDomainContext
- toGenericString() - Method in interface org.tentackle.pdo.DomainContext
-
Returns the generic string representation of this context.
- toGenericString() - Method in interface org.tentackle.pdo.DomainObject
-
Gets the generic string representation of the domain object.
- toIdString() - Method in interface org.tentackle.pdo.PersistentObject
-
Gets the ID string: "classId:id".
The ID string describes the PDO by its classId and object-ID. - TokenLockInfo - Record Class in org.tentackle.pdo
-
The edited-by token lock info.
Holds the columns editedBy, editedSince and editedExpiry in one DTO. - TokenLockInfo(long, Timestamp, Timestamp) - Constructor for record class org.tentackle.pdo.TokenLockInfo
-
Creates an instance of a
TokenLockInfo
record class. - toString() - Method in class org.tentackle.app.AbstractApplication
-
Gets the application's name.
- toString() - Method in class org.tentackle.ns.DefaultNumberSource
- toString() - Method in record class org.tentackle.ns.NumberSource.Range
-
Returns a string representation of this record class.
- toString() - Method in class org.tentackle.pdo.DefaultDomainContext
-
Gets the string representation of this context.
- toString() - Method in class org.tentackle.pdo.OperationMethodCache
- toString() - Method in record class org.tentackle.pdo.OperationMethodCacheInfo
-
Returns a string representation of this record class.
- toString() - Method in class org.tentackle.pdo.PdoCache
- toString() - Method in class org.tentackle.pdo.PdoCacheIndex.CacheKey
- toString() - Method in class org.tentackle.pdo.PdoCacheIndex
- toString() - Method in class org.tentackle.pdo.PdoMember
- toString() - Method in class org.tentackle.pdo.PdoMethodCache
- toString() - Method in record class org.tentackle.pdo.PdoMethodCacheInfo
-
Returns a string representation of this record class.
- toString() - Method in record class org.tentackle.pdo.TokenLockInfo
-
Returns a string representation of this record class.
- toString() - Method in class org.tentackle.security.DefaultSecurityResult
- toString() - Method in class org.tentackle.security.GranteeDescriptor
- toString() - Method in class org.tentackle.security.permissions.AbstractPermission
- Transaction - Annotation Interface in org.tentackle.pdo
-
Annotation to mark a method as transactional.
- TransactionInterceptor - Class in org.tentackle.pdo
-
Implementation of the
Transaction
interception. - TransactionInterceptor() - Constructor for class org.tentackle.pdo.TransactionInterceptor
-
Creates a
Transaction
interceptor. - TransactionRetryPolicy - Interface in org.tentackle.pdo
- TransactionRetryPolicyService - Annotation Interface in org.tentackle.pdo
-
Annotation to describe a transaction retry policy.
- transferTokenLock(long) - Method in interface org.tentackle.pdo.PersistentObject
-
Transfers the token lock to another user.
Necessary to hand over a token without releasing it.
Eliminates the time-gap when object is token-free.
Allows taking over the token WITHOUT possessing it!
U
- unlisten(PdoListener) - Static method in class org.tentackle.pdo.Pdo
-
Unregisters a registered PDO listener.
- unlisten(PdoListener) - Method in class org.tentackle.pdo.PdoUtilities
-
Unregisters a registered PDO listener.
- unregister() - Method in interface org.tentackle.app.Application
-
Unregisters this application.
- unregisterGlobalSessionCloseHandler(SessionCloseHandler) - Static method in class org.tentackle.pdo.Pdo
-
Unregisters a global close handler for all sessions.
- updateContextInfo() - Method in class org.tentackle.pdo.PdoCache
-
Updates the list- and domain context info for preloading caches.
- updateDbObject(Identifiable) - Method in exception class org.tentackle.pdo.DomainException
-
Updates the identifiable if not set so far.
Used to add more info for exceptions thrown in a context where the identifiable isn't known. - updateSessionInfoAfterLogin() - Method in class org.tentackle.app.AbstractClientApplication
-
Updates the session info after successful login.
V
- validate() - Method in interface org.tentackle.pdo.PersistentObject
-
Validates this PDO.
Invokes all field- and object validators.
If the PDO is a composite, all components will be validated as well. - validate(ValidationContext) - Method in class org.tentackle.security.pdo.SecurityValidatorImpl
- ValidationBundle - Class in org.tentackle.security.pdo
-
Bundle for validation messages.
- value() - Element in annotation interface org.tentackle.pdo.DomainObjectService
-
Determines the PDO interface.
The PDO-interface extends the persistence- and the domain interfaces. - value() - Element in annotation interface org.tentackle.pdo.DomainOperationService
-
Determines the operation interface.
The operation-interface extends the persistence- and the domain interfaces. - value() - Element in annotation interface org.tentackle.pdo.InvokeInBuddyDelegate
-
The method name.
If the name is missing the buddy delegate's method has the same name as the annotated one. - value() - Element in annotation interface org.tentackle.pdo.NotWithinContext
-
The name(s) that must not be within the current domain context.
- value() - Element in annotation interface org.tentackle.pdo.PersistentObjectService
-
Determines the PDO interface.
The PDO-interface extends the persistence- and the domain interfaces. - value() - Element in annotation interface org.tentackle.pdo.PersistentOperationService
-
Determines the PO interface.
The PO-interface extends the persistence operation interface. - value() - Element in annotation interface org.tentackle.pdo.Plural
-
Determines the plural.
- value() - Element in annotation interface org.tentackle.pdo.Singular
-
Determines the singular.
- value() - Element in annotation interface org.tentackle.pdo.Transaction
-
The transaction name.
By default, the name will be derived from the annotated method. - value() - Element in annotation interface org.tentackle.pdo.TransactionRetryPolicyService
-
Determines the name of the policy.
- value() - Element in annotation interface org.tentackle.pdo.WithinContext
-
The name(s) that must be within the current domain context.
- value() - Element in annotation interface org.tentackle.security.PermissionService
-
Determines the permission interface.
- value() - Element in annotation interface org.tentackle.security.Secured
-
The permissions that must be accepted within the object's domain context.
- valueOf(String) - Static method in enum class org.tentackle.pdo.PdoCacheStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.tentackle.pdo.PdoMember.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.tentackle.pdo.PdoCacheStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.tentackle.pdo.PdoMember.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifyStatelessDomainLogic(Element) - Method in class org.tentackle.apt.pdo.AbstractDomainServiceAnnotationProcessor
-
Verifies that there is no stateful logic.
- ViewPermission - Interface in org.tentackle.security.permissions
-
View permission interface.
- ViewPermissionImpl - Class in org.tentackle.security.permissions
-
Permission to view a PDO.
- ViewPermissionImpl() - Constructor for class org.tentackle.security.permissions.ViewPermissionImpl
-
Creates the view permission.
W
- waitMillis(String, int) - Method in class org.tentackle.pdo.DefaultTransactionRetryPolicy
- waitMillis(String, int) - Method in interface org.tentackle.pdo.TransactionRetryPolicy
-
Computes the number of milliseconds to wait before retrying the transaction.
- WithinContext - Annotation Interface in org.tentackle.pdo
-
Annotation to express that the annotated method must be within a given named context.
- WithinContextInterceptor - Class in org.tentackle.pdo
-
Implementation for the
WithinContext
interception. - WithinContextInterceptor() - Constructor for class org.tentackle.pdo.WithinContextInterceptor
-
Creates a
WithinContext
interceptor. - writability() - Element in annotation interface org.tentackle.pdo.Transaction
-
The transaction writability.
- WritePermission - Interface in org.tentackle.security.permissions
-
Read permission interface.
- WritePermissionImpl - Class in org.tentackle.security.permissions
-
Permission to write.
- WritePermissionImpl() - Constructor for class org.tentackle.security.permissions.WritePermissionImpl
-
Creates the write-permission.
- writeReplace() - Method in class org.tentackle.pdo.DefaultDomainContext
-
This does the trick to set up the non-transient rootId and rootClassId when sent via rmi the first time.
- writeToFile() - Method in class org.tentackle.pdo.PdoCacheFileStore
-
Writes the cache to persistent storage.
Throws PdoRuntimeException if writing failed.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form