wt.vc.sessioniteration
Interface SessionEditedIteration

All Superinterfaces:
AccessControlled, wt.access.AccessControlList, wt.access.AdHocControlled, wt.admin.DomainAdministered, Iterated, NetFactor, ObjectMappable, Persistable, wt.access.PolicyAccessControlled, wt.access.SecurityLabeled, Serializable
All Known Implementing Classes:
WTProductConfiguration, WTProductInstance2

public interface SessionEditedIteration
extends Iterated, wt.access.PolicyAccessControlled, wt.access.SecurityLabeled, wt.access.AdHocControlled

The SessionEditedIteration provides a light-weight work-in-progress mechanism similar to Workable.

The user creates a session iteration to work on, makes changes, then commits the changes, similarly to the Workable counterpart. However, creating a session iteration does not lock the original iteration, allowing multiple users to simultaneously create session iterations. Just as with the change objects, the first user to commit the session iteration wins, and the others get stale object exceptions.

Session iterations work well in a client model supporting deferred saves where locking and long-term changes are not an issue and for objects for which the user does not necessary recognize the iterated nature of the data.e

Supported API: true

Extendable: true


Field Summary
static String SESSION_OWNER
          Label for the attribute; The owner of the session iteration.
 
Fields inherited from interface wt.vc.Iterated
CONTROL_BRANCH, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, ITERATION_IDENTIFIER, ITERATION_NOTE, LATEST_ITERATION, MASTER, MASTER_REFERENCE, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAME
 
Method Summary
 WTPrincipalReference getSessionOwner()
          Gets the object for the association that plays role: SESSION_OWNER.
 void setSessionOwner(WTPrincipalReference a_SessionOwner)
          Sets the object for the association that plays role: SESSION_OWNER.
 
Methods inherited from interface wt.vc.Iterated
getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getIterationIdentifier, getIterationNote, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, isLatestIteration, setControlBranch, setMaster, setMasterReference
 

Field Detail

SESSION_OWNER

static final String SESSION_OWNER
Label for the attribute; The owner of the session iteration.

Supported API: true

See Also:
Constant Field Values
Method Detail

getSessionOwner

WTPrincipalReference getSessionOwner()
Gets the object for the association that plays role: SESSION_OWNER. The owner of the session iteration.

Supported API: true

Returns:
WTPrincipalReference

setSessionOwner

void setSessionOwner(WTPrincipalReference a_SessionOwner)
                     throws WTPropertyVetoException
Sets the object for the association that plays role: SESSION_OWNER. The owner of the session iteration.

Supported API: true

Parameters:
a_SessionOwner -
Throws:
WTPropertyVetoException