wt.ownership
Interface Ownable

All Superinterfaces:
NetFactor, ObjectMappable, Persistable, Serializable
All Known Subinterfaces:
ExecutionObject, ProjectNode, Workable
All Known Implementing Classes:
AccessControlSurrogate, Cabinet, CabinetManaged, CollectionCriteria, ContainerTeam, DBPrefEntry, DefaultWTContainerTemplate, Deliverable, DerivedImage, DiscreteActionItem, Discussion, EffConfigSpecGroup, EPMDocConfigSpec, FolderResident, HttpContentOperation, ImportSession, IteratedFolderResident, Managed, Meeting, Milestone, NotebookComponent, ObjectSubscription, Project, ProjectActivity, ProjectPlan, ProjectProxy, ProjectWorkItem, RevisionControlled, SubFolder, SummaryActivity, TableViewDescriptor, Team, TeamTemplate, WfProcess, WfProcessTemplate, WorkItem, WTCalendar, WTDocumentConfigSpec, WTMarkUp, WTPartConfigSpec

public interface Ownable
extends Persistable

An Ownable object may be associated to a single WTPrincipal object that becomes the object's Owner. An Owner may get special access rights to an object they own. The Ownable interface defines the access to the persistent state information, eg the Ownership information. Access to the Ownership information should not be done directly with the get and set methods of the Ownable interface. Instead, access should always be done via the methods of the OwnershipHelper class. The API to operation on Ownable objects is provided by the OwnershipService class and OwnershipHelper.

Supported API: true

Extendable: true

See Also:
OwnershipHelper, OwnershipService

Field Summary
static String OWNERSHIP
          Label for the attribute; The persistent state for an Ownable object is maintained via the Ownership object.
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO, TYPE
 
Method Summary
 Ownership getOwnership()
          Gets the object for the association that plays role: OWNERSHIP.
 void setOwnership(Ownership a_Ownership)
          Sets the object for the association that plays role: OWNERSHIP.
 
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
 

Field Detail

OWNERSHIP

public static final String OWNERSHIP
Label for the attribute; The persistent state for an Ownable object is maintained via the Ownership object. Access to information for the Ownership object should be done via methods on the OwnershipHelper.

Supported API: false

See Also:
Constant Field Values
Method Detail

getOwnership

public Ownership getOwnership()
Gets the object for the association that plays role: OWNERSHIP. The persistent state for an Ownable object is maintained via the Ownership object. Access to information for the Ownership object should be done via methods on the OwnershipHelper.

Supported API: false

Returns:
Ownership

setOwnership

public void setOwnership(Ownership a_Ownership)
Sets the object for the association that plays role: OWNERSHIP. The persistent state for an Ownable object is maintained via the Ownership object. Access to information for the Ownership object should be done via methods on the OwnershipHelper.

Supported API: false

Parameters:
a_Ownership -