wt.vc.sessioniteration
Interface SessionEditedIteration

All Superinterfaces:
AccessControlled, AccessControlList, AdHocControlled, DomainAdministered, Iterated, NetFactor, ObjectMappable, Persistable, Serializable
All Known Implementing Classes:
WTProductConfiguration, WTProductInstance2

public interface SessionEditedIteration
extends Iterated, AdHocControlled, DomainAdministered

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
BRANCH_IDENTIFIER, CONTROL_BRANCH, CREATOR, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, ITERATION_IDENTIFIER, ITERATION_INFO, ITERATION_NOTE, LATEST_ITERATION, MASTER, MASTER_REFERENCE, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAME
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO, TYPE
 
Fields inherited from interface wt.access.AdHocControlled
ENTRY_SET
 
Fields inherited from interface wt.admin.DomainAdministered
DOMAIN_REF, INHERITED_DOMAIN
 
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
getBranchIdentifier, getControlBranch, getCreator, getCreatorEMail, getCreatorFullName, getCreatorName, getIterationIdentifier, getIterationInfo, getIterationNote, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, isLatestIteration, setControlBranch, setIterationInfo, setMaster, setMasterReference
 
Methods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo
 
Methods inherited from interface wt.fc.ObjectMappable
readExternal, writeExternal
 
Methods inherited from interface wt.fc.NetFactor
getClassInfo, getConceptualClassname
 
Methods inherited from interface wt.access.AdHocControlled
getEntrySet, setEntrySet
 
Methods inherited from interface wt.admin.DomainAdministered
getDomainRef, isInheritedDomain, setDomainRef, setInheritedDomain
 

Field Detail

SESSION_OWNER

public 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

public 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

public 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