|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WTContainerService
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
WTContainer |
changePublicParentDomain(WTContainer container,
AdminDomainRef new_parent)
Changes a WTContainer's publicParentDomain property. |
WTContainer |
create(WTContainer container)
Finds an appropriate WTContainerCreator for the given
container and calls create(). |
boolean |
createProfileGroup(String name,
String description,
WTContainer container)
Supported API: true |
void |
deleteProfileGroup(WTGroup group)
Supported API: true |
void |
disableProfileGroup(WTGroup group)
Supported API: true |
void |
enableProfileGroup(WTGroup group)
Supported API: true |
AdminDomainRef |
getBasePublicDomain(OrgContainer container,
Class container_class)
Returns the root public domain for containers of the given class. |
WTPrincipal[] |
getInternalGroups(wt.inf.container.PrincipalSpec principalSpec,
String pattern)
Supported API: true |
String |
getInternalGroupType(WTGroup internalGroup)
This API is used to get the internal group type for to help in import/export of internal groups. |
OrgContainer |
getOrgContainer(WTOrganization wt_org)
Find the OrgContainer for a WTOrganization
Supported API: true |
WTGroup |
getProfileGroup(String name,
WTContainer container)
Supported API: true |
Map |
getProfileGroups(WTContainer container)
Supported API: true |
Map |
getProfileGroupsForUser(WTUser user)
Supported API: true |
String |
getProfileGroupType(WTGroup profileGroup)
The API returns the type of the profile group. |
PublicDomainSet |
getPublicDomains(OrgContainer container,
Class container_class)
Finds all domains that can be used for a child container's publicParentDomain
property. |
WTContainer |
makePrivate(WTContainer container)
Sets the container's privateAccess property to true. |
WTContainer |
makePublic(WTContainer container)
Sets the container's privateAccess property to false. |
void |
updateProfileGroup(WTGroup group)
Supported API: true |
| Method Detail |
|---|
WTContainer changePublicParentDomain(WTContainer container,
AdminDomainRef new_parent)
throws WTException
publicParentDomain property.
The new domain must be included in those returned by getPublicDomains
for the container's OrgContainer
container - new_parent -
WTException
void enableProfileGroup(WTGroup group)
throws WTException
group -
WTException
WTContainer create(WTContainer container)
throws WTException
WTContainerCreator for the given
container and calls create().
container -
WTExceptionWTContainerCreator
AdminDomainRef getBasePublicDomain(OrgContainer container,
Class container_class)
throws WTException
container - container_class -
WTException
OrgContainer getOrgContainer(WTOrganization wt_org)
throws WTException
OrgContainer for a WTOrganization
wt_org -
OrgContainer, or null
if one can't be found
WTException
PublicDomainSet getPublicDomains(OrgContainer container,
Class container_class)
throws WTException
publicParentDomain
property. This includes the container's base domain for the given
container class, as well as all children of the base domain that are
also in the container.
container - container_class -
WTException
WTContainer makePrivate(WTContainer container)
throws WTException
privateAccess property to true.
In addition, reparents the container's defaultDomain
to point to the org container's privateDomain.
container -
WTException
WTContainer makePublic(WTContainer container)
throws WTException
privateAccess property to false.
In addition, reparents the container's defaultDomain
to point to the domain stored in the container's publicParentDomain
property.
container -
WTException
WTPrincipal[] getInternalGroups(wt.inf.container.PrincipalSpec principalSpec,
String pattern)
throws WTException
principalSpec - pattern -
WTException
boolean createProfileGroup(String name,
String description,
WTContainer container)
throws WTException
name - description - container -
WTException
WTGroup getProfileGroup(String name,
WTContainer container)
throws WTException
name - container -
WTException
Map getProfileGroups(WTContainer container)
throws WTException
container -
WTException
Map getProfileGroupsForUser(WTUser user)
throws WTException
user -
WTException
void updateProfileGroup(WTGroup group)
throws WTException
group -
WTException
void deleteProfileGroup(WTGroup group)
throws WTException
group -
WTException
void disableProfileGroup(WTGroup group)
throws WTException
group -
WTException
String getInternalGroupType(WTGroup internalGroup)
throws WTException
internalGroup -
WTException
String getProfileGroupType(WTGroup profileGroup)
throws WTException
profileGroup -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||