|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.enterprise.CabinetManaged
This wt.lifecycle.LifeCycleManged
first class information object
is a CabinetMember
for access control and local search
purposes (but it won't show up in a folder or cabinet) and it is DomainAdministered
; it is similar to Managed
except
that it is a CabinetMember
rather than Foldered
.
Supported API: true
Extendable: true
Field Summary | |
private CabinetReference |
cabinet
|
private static String |
CLASSNAME
|
private WTPrincipalReference |
creator
|
static String |
CREATOR
Label for the attribute. |
static String |
CREATOR_EMAIL
Label for the attribute; Derived attribute for displaying the creator E-Mail value in query results. |
static String |
CREATOR_FULL_NAME
Label for the attribute; Derived attribute for displaying the creator fullname value in query results. |
static String |
CREATOR_NAME
Label for the attribute; Derived attribute for displaying the creator name value in query results. |
private AdminDomainRef |
domainRef
|
private AclEntrySet |
entrySet
|
private WTStringSet |
eventSet
|
static long |
EXTERNALIZATION_VERSION_UID
|
private IndexerSet |
indexerSet
|
private boolean |
inheritedDomain
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private Ownership |
ownership
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private LifeCycleState |
state
|
private TeamReference |
teamId
|
private TeamTemplateReference |
teamTemplateId
|
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.lifecycle.LifeCycleManaged |
LIFE_CYCLE_AT_GATE, LIFE_CYCLE_BASIC, LIFE_CYCLE_NAME, LIFE_CYCLE_STATE, LIFE_CYCLE_TEMPLATE, STATE |
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.team.TeamManaged |
TEAM_ID, TEAM_IDENTITY, TEAM_NAME, TEAM_TEMPLATE_ID, TEAM_TEMPLATE_IDENTITY, TEAM_TEMPLATE_NAME |
Fields inherited from interface wt.index.Indexable |
INDEXER_SET |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.notify.Notifiable |
EVENT_SET |
Fields inherited from interface wt.ownership.Ownable |
OWNERSHIP |
Fields inherited from interface wt.folder.CabinetMember |
CABINET |
Fields inherited from interface wt.folder.CabinetBased |
CABINET_REFERENCE, FOLDER_PATH, LOCATION, NAME |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
CabinetManaged()
|
Method Summary | |
private void |
creatorValidate(WTPrincipalReference a_Creator)
|
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
CabinetReference |
getCabinet()
Gets the value of the attribute: CABINET. |
CabinetReference |
getCabinetReference()
Gets the value of the attribute: CABINET_REFERENCE. |
WTPrincipalReference |
getCreator()
Gets the object for the association that plays role: CREATOR. |
String |
getCreatorEMail()
Gets the value of the attribute: CREATOR_EMAIL. |
String |
getCreatorFullName()
Gets the value of the attribute: CREATOR_FULL_NAME. |
String |
getCreatorName()
Gets the value of the attribute: CREATOR_NAME. |
AdminDomainRef |
getDomainRef()
Gets the object for the association that plays role: DOMAIN_REF. |
AclEntrySet |
getEntrySet()
Gets the value of the attribute: ENTRY_SET. |
WTStringSet |
getEventSet()
Gets the value of the attribute: EVENT_SET. |
String |
getFolderPath()
Gets the value of the attribute: FOLDER_PATH. |
IndexerSet |
getIndexerSet()
Gets the value of the attribute: INDEXER_SET. |
String |
getLifeCycleName()
Gets the value of the attribute: LIFE_CYCLE_NAME. |
State |
getLifeCycleState()
Gets the value of the attribute: LIFE_CYCLE_STATE. |
LifeCycleTemplateReference |
getLifeCycleTemplate()
Gets the value of the attribute: LIFE_CYCLE_TEMPLATE. |
String |
getLocation()
Gets the value of the attribute: LOCATION. |
String |
getName()
Gets the value of the attribute: NAME. |
Ownership |
getOwnership()
Gets the object for the association that plays role: OWNERSHIP. |
LifeCycleState |
getState()
Gets the object for the association that plays role: STATE. |
TeamReference |
getTeamId()
Gets the object for the association that plays role: TEAM_ID. |
String |
getTeamIdentity()
Gets the value of the attribute: TEAM_IDENTITY. |
String |
getTeamName()
Gets the value of the attribute: TEAM_NAME. |
TeamTemplateReference |
getTeamTemplateId()
Gets the object for the association that plays role: TEAM_TEMPLATE_ID. |
String |
getTeamTemplateIdentity()
Gets the value of the attribute: TEAM_TEMPLATE_IDENTITY. |
String |
getTeamTemplateName()
Gets the value of the attribute: TEAM_TEMPLATE_NAME. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
protected void |
initialize()
Initializes objects created by new-factory methods. |
boolean |
isInheritedDomain()
Gets the value of the attribute: INHERITED_DOMAIN. |
boolean |
isLifeCycleAtGate()
Gets the value of the attribute: LIFE_CYCLE_AT_GATE. |
boolean |
isLifeCycleBasic()
Gets the value of the attribute: LIFE_CYCLE_BASIC. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(CabinetManaged thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setCabinet(CabinetReference a_Cabinet)
Sets the value of the attribute: CABINET. |
void |
setCreator(WTPrincipalReference a_Creator)
Sets the object for the association that plays role: CREATOR. |
void |
setDomainRef(AdminDomainRef a_DomainRef)
Sets the object for the association that plays role: DOMAIN_REF. |
void |
setEntrySet(AclEntrySet a_EntrySet)
Sets the value of the attribute: ENTRY_SET. |
void |
setEventSet(WTStringSet a_EventSet)
Sets the value of the attribute: EVENT_SET. |
void |
setIndexerSet(IndexerSet a_IndexerSet)
Sets the value of the attribute: INDEXER_SET. |
void |
setInheritedDomain(boolean a_InheritedDomain)
Sets the value of the attribute: INHERITED_DOMAIN. |
void |
setOwnership(Ownership a_Ownership)
Sets the object for the association that plays role: OWNERSHIP. |
void |
setState(LifeCycleState a_State)
Sets the object for the association that plays role: STATE. |
void |
setTeamId(TeamReference a_TeamId)
Sets the object for the association that plays role: TEAM_ID. |
void |
setTeamTemplateId(TeamTemplateReference a_TeamTemplateId)
Sets the object for the association that plays role: TEAM_TEMPLATE_ID. |
private void |
stateValidate(LifeCycleState a_State)
|
private void |
teamIdValidate(TeamReference a_TeamId)
|
private void |
teamTemplateIdValidate(TeamTemplateReference a_TeamTemplateId)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo, getConceptualClassname |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String CREATOR_EMAIL
public static final String CREATOR_NAME
public static final String CREATOR_FULL_NAME
public static final String CREATOR
private WTPrincipalReference creator
private LifeCycleState state
private AclEntrySet entrySet
private TeamTemplateReference teamTemplateId
private TeamReference teamId
private IndexerSet indexerSet
private boolean inheritedDomain
private AdminDomainRef domainRef
private WTStringSet eventSet
private Ownership ownership
private CabinetReference cabinet
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public CabinetManaged()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class WTObject
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class WTObject
input
-
IOException
ClassNotFoundException
protected boolean readVersion(CabinetManaged thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class WTObject
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class WTObject
input
-
SQLException
DatastoreException
public String getCreatorEMail()
public String getCreatorName()
public String getCreatorFullName()
public WTPrincipalReference getCreator()
public void setCreator(WTPrincipalReference a_Creator) throws WTPropertyVetoException
a_Creator
-
WTPropertyVetoException
private void creatorValidate(WTPrincipalReference a_Creator) throws WTPropertyVetoException
a_Creator
-
WTPropertyVetoException
protected void initialize() throws WTException
initialize
in class WTObject
WTException
public String getLifeCycleName()
getLifeCycleName
in interface LifeCycleManaged
public State getLifeCycleState()
getLifeCycleState
in interface LifeCycleManaged
public boolean isLifeCycleAtGate()
isLifeCycleAtGate
in interface LifeCycleManaged
public LifeCycleTemplateReference getLifeCycleTemplate()
getLifeCycleTemplate
in interface LifeCycleManaged
public boolean isLifeCycleBasic()
isLifeCycleBasic
in interface LifeCycleManaged
public LifeCycleState getState()
getState
in interface LifeCycleManaged
public void setState(LifeCycleState a_State) throws WTPropertyVetoException
setState
in interface LifeCycleManaged
a_State
-
WTPropertyVetoException
private void stateValidate(LifeCycleState a_State) throws WTPropertyVetoException
a_State
-
WTPropertyVetoException
public AclEntrySet getEntrySet()
getEntrySet
in interface AdHocControlled
public void setEntrySet(AclEntrySet a_EntrySet)
setEntrySet
in interface AdHocControlled
a_EntrySet
- public String getTeamName()
getTeamName
in interface TeamManaged
public String getTeamIdentity()
getTeamIdentity
in interface TeamManaged
public String getTeamTemplateName()
getTeamTemplateName
in interface TeamManaged
public String getTeamTemplateIdentity()
getTeamTemplateIdentity
in interface TeamManaged
public TeamTemplateReference getTeamTemplateId()
getTeamTemplateId
in interface TeamManaged
public void setTeamTemplateId(TeamTemplateReference a_TeamTemplateId) throws WTPropertyVetoException
setTeamTemplateId
in interface TeamManaged
a_TeamTemplateId
-
WTPropertyVetoException
private void teamTemplateIdValidate(TeamTemplateReference a_TeamTemplateId) throws WTPropertyVetoException
a_TeamTemplateId
-
WTPropertyVetoException
public TeamReference getTeamId()
getTeamId
in interface TeamManaged
public void setTeamId(TeamReference a_TeamId) throws WTPropertyVetoException
setTeamId
in interface TeamManaged
a_TeamId
-
WTPropertyVetoException
private void teamIdValidate(TeamReference a_TeamId) throws WTPropertyVetoException
a_TeamId
-
WTPropertyVetoException
public IndexerSet getIndexerSet()
getIndexerSet
in interface Indexable
public void setIndexerSet(IndexerSet a_IndexerSet)
setIndexerSet
in interface Indexable
a_IndexerSet
- public boolean isInheritedDomain()
isInheritedDomain
in interface DomainAdministered
public void setInheritedDomain(boolean a_InheritedDomain) throws WTPropertyVetoException
setInheritedDomain
in interface DomainAdministered
a_InheritedDomain
-
WTPropertyVetoException
public AdminDomainRef getDomainRef()
getDomainRef
in interface DomainAdministered
public void setDomainRef(AdminDomainRef a_DomainRef)
setDomainRef
in interface DomainAdministered
a_DomainRef
- public WTStringSet getEventSet()
getEventSet
in interface Notifiable
public void setEventSet(WTStringSet a_EventSet)
setEventSet
in interface Notifiable
a_EventSet
- public Ownership getOwnership()
getOwnership
in interface Ownable
public void setOwnership(Ownership a_Ownership)
setOwnership
in interface Ownable
a_Ownership
- public CabinetReference getCabinet()
getCabinet
in interface CabinetMember
public void setCabinet(CabinetReference a_Cabinet)
setCabinet
in interface CabinetMember
a_Cabinet
- public String getName()
getName
in interface CabinetBased
public String getFolderPath()
getFolderPath
in interface CabinetBased
public String getLocation()
getLocation
in interface CabinetBased
public CabinetReference getCabinetReference()
getCabinetReference
in interface CabinetBased
public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class WTObject
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class WTObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |