Class AbstractPersistentOperation<T extends Operation<T>,P extends AbstractPersistentOperation<T,P>>

java.lang.Object
org.tentackle.dbms.AbstractDbOperation<P>
org.tentackle.persist.AbstractPersistentOperation<T,P>
Type Parameters:
T - the PO class (interface)
P - the operation implementation class
All Implemented Interfaces:
Serializable, DomainContextDependable, DomainContextProvider, OperationMethodCacheProvider<T>, OperationProvider<T>, PersistenceDelegate<T>, PersistentOperation<T>, ProxyDelegate<T>, org.tentackle.reflect.EffectiveClassProvider<T>, org.tentackle.reflect.Interceptable, org.tentackle.session.SessionDependable, org.tentackle.session.SessionProvider

public abstract class AbstractPersistentOperation<T extends Operation<T>,P extends AbstractPersistentOperation<T,P>> extends AbstractDbOperation<P> implements PersistenceDelegate<T>, PersistentOperation<T>, org.tentackle.reflect.EffectiveClassProvider<T>, OperationMethodCacheProvider<T>
A AbstractPersistentOperation provides methods that are not part of PersistentOperations and is associated to a DomainContext. Complex transactions are usually AbstractPersistentOperations. AbstractPersistentOperations are remote capabable.
Author:
harald
See Also:
  • Constructor Details

    • AbstractPersistentOperation

      public AbstractPersistentOperation(T operation, DomainContext context)
      Creates an operation object.
      Parameters:
      operation - the operation object this is a delegate for
      context - the database context
    • AbstractPersistentOperation

      public AbstractPersistentOperation(T operation, org.tentackle.session.Session session)
      Creates an operation object without a domain context for a given connection.

      Note: the application must set the context.

      Parameters:
      operation - the operation object this is a delegate for
      session - the session (must be an instance of Session).
    • AbstractPersistentOperation

      public AbstractPersistentOperation(T operation)
      Creates an operation object without a database context.

      Note: the application must set the context.

      Parameters:
      operation - the persistent operation object this is a delegate for
    • AbstractPersistentOperation

      public AbstractPersistentOperation()
      Creates an operation object without a database context.
  • Method Details