|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WTContainer
Implementors of WTContainer should create a new WTContainerInfo
in their initializer:
protected void initialize() throws WTException {
super.initialize();
try {
setContainerInfo(WTContainerInfo.newWTContainerInfo());
}
catch (WTPropertyVetoException wtpve) {
throw new WTException(wtpve);
}
}
Supported API: true
Extendable: false
| Field Summary | |
|---|---|
static String |
CONTAINER_TEMPLATE
Label for the attribute. |
static String |
CONTAINER_TEMPLATE_REFERENCE
Label for the attribute. |
static String |
CREATOR
Label for the attribute. |
static String |
DESCRIPTION
Label for the attribute. |
static String |
NAME
Label for the attribute; To rename a container, use IdentityHelper.service.changeIdentity(WTContainer,
WTContainerIdentity) |
static String |
OWNER
Label for the attribute. |
static String |
SHARING_ENABLED
Label for the attribute; Whether or not objects can be shared from this container. |
| Fields inherited from interface wt.org.OrganizationOwnedImpl |
|---|
ORGANIZATION_REFERENCE |
| Fields inherited from interface wt.org.OrganizationOwned |
|---|
ORGANIZATION, ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIER |
| Method Summary | |
|---|---|
WTContainerTemplate |
getContainerTemplate()
Gets the object for the association that plays role: CONTAINER_TEMPLATE. |
wt.inf.container.WTContainerTemplateRef |
getContainerTemplateReference()
Gets the value of the attribute: CONTAINER_TEMPLATE_REFERENCE. |
WTPrincipal |
getCreator()
Gets the value of the attribute: CREATOR. |
String |
getDescription()
Gets the value of the attribute: DESCRIPTION. |
String |
getName()
Gets the value of the attribute: NAME. |
WTPrincipal |
getOwner()
Gets the value of the attribute: OWNER. |
boolean |
isSharingEnabled()
Gets the value of the attribute: SHARING_ENABLED. |
void |
setContainerTemplate(WTContainerTemplate a_ContainerTemplate)
Sets the object for the association that plays role: CONTAINER_TEMPLATE. |
void |
setContainerTemplateReference(wt.inf.container.WTContainerTemplateRef a_ContainerTemplateReference)
Sets the value of the attribute: CONTAINER_TEMPLATE_REFERENCE. |
void |
setCreator(WTPrincipal a_Creator)
Sets the value of the attribute: CREATOR. |
void |
setDescription(String a_Description)
Sets the value of the attribute: DESCRIPTION. |
void |
setName(String a_Name)
Sets the value of the attribute: NAME. |
void |
setOwner(WTPrincipal a_Owner)
Sets the value of the attribute: OWNER. |
void |
setSharingEnabled(boolean a_SharingEnabled)
Sets the value of the attribute: SHARING_ENABLED. |
| Methods inherited from interface wt.fc.Identified |
|---|
getIdentificationObject |
| Methods inherited from interface wt.org.OrganizationOwnedImpl |
|---|
getOrganizationReference |
| Methods inherited from interface wt.org.OrganizationOwned |
|---|
getOrganization, getOrganizationCodingSystem, getOrganizationName, getOrganizationUniqueIdentifier |
| Field Detail |
|---|
static final String CREATOR
static final String DESCRIPTION
static final String NAME
IdentityHelper.service.changeIdentity(WTContainer,
WTContainerIdentity)
Subclasses should override the default implementation of setName
to call WTContainerInfo.setName(WTContainer,String). This
will ensure the change restriction check is properly enforced.
Supported API: true
IdentityService#changeIdentity,
WTContainerIdentity,
Constant Field Valuesstatic final String OWNER
static final String SHARING_ENABLED
static final String CONTAINER_TEMPLATE
static final String CONTAINER_TEMPLATE_REFERENCE
| Method Detail |
|---|
WTPrincipal getCreator()
void setCreator(WTPrincipal a_Creator)
throws WTPropertyVetoException,
WTException
a_Creator -
WTPropertyVetoException
WTExceptionString getDescription()
void setDescription(String a_Description)
throws WTPropertyVetoException
a_Description -
WTPropertyVetoExceptionString getName()
IdentityHelper.service.changeIdentity(WTContainer,
WTContainerIdentity)
Subclasses should override the default implementation of setName
to call WTContainerInfo.setName(WTContainer,String).
This will ensure the change restriction check is properly enforced.
Supported API: true
IdentityService#changeIdentity,
WTContainerIdentity
void setName(String a_Name)
throws WTPropertyVetoException
IdentityHelper.service.changeIdentity(WTContainer,
WTContainerIdentity)
Subclasses should override the default implementation of setName
to call WTContainerInfo.setName(WTContainer,String).
This will ensure the change restriction check is properly enforced.
Supported API: true
a_Name -
WTPropertyVetoExceptionIdentityService#changeIdentity,
WTContainerIdentityWTPrincipal getOwner()
void setOwner(WTPrincipal a_Owner)
throws WTPropertyVetoException,
WTException
a_Owner -
WTPropertyVetoException
WTExceptionboolean isSharingEnabled()
void setSharingEnabled(boolean a_SharingEnabled)
throws WTPropertyVetoException
a_SharingEnabled -
WTPropertyVetoExceptionWTContainerTemplate getContainerTemplate()
void setContainerTemplate(WTContainerTemplate a_ContainerTemplate)
throws WTPropertyVetoException,
WTException
a_ContainerTemplate -
WTPropertyVetoException
WTExceptionwt.inf.container.WTContainerTemplateRef getContainerTemplateReference()
void setContainerTemplateReference(wt.inf.container.WTContainerTemplateRef a_ContainerTemplateReference)
throws WTPropertyVetoException
a_ContainerTemplateReference -
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||