wt.inf.container
Interface WTContainerServiceSvr
public interface WTContainerServiceSvr
Supported API: true
Extendable: false
getOrganization
WTOrganization getOrganization(Object requestor)
throws WTException
- Provides a delegation point to handle situations where the application
requires that a
WTOrganization exist. The requestor
parameter is the object that is driving the requirement for the organization
to be created. In OOTB 7.0, the requestor can be:
- An
OrgContainer. In this case, the container creation
process needs to ensure that a corresponding WTOrganization
exists for the container it is about to create.
- A
WTPrincipal. In this case, the team service is
adding a new user to a team and needs to add the user to the appropriate
"org group".
This method delegates to an instance of WTOrganizationValidator.
Supported API: true
- Parameters:
requestor -
- Returns:
- Either a newly created or a pre-existing
WTOrganization
- Throws:
WTException