Package wt.org
Class OrganizationServicesHelper
java.lang.Object
wt.org.OrganizationServicesHelper
Helper class that provides easy access to the implementation of methods
defined by the OrganizationServicesManager interface.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic OrganizationServicesManager
Supported API: truestatic final StringConstant to explicitly specify a blank value in certain query criteria that support this differentiation. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetOrgDisplayIdentifier(Object obj, WTContainerRef container) Return the text to display for the organization field in the UI.static StringReturn the text to display for the Organization ID field in the UI.static booleanisPrincipalNameValid(String name) Validates that the given principal name does not contain illegal characters.
-
Field Details
-
manager
Supported API: true -
QUERY_CRITERIA_BLANK_VALUE
Constant to explicitly specify a blank value in certain query criteria that support this differentiation. Query APIs which support use of this constant will specify this support in their documentation.
Supported API: true- See Also:
-
-
Method Details
-
getOrgDisplayIdentifier
Return the text to display for the organization field in the UI.
Supported API: true- Parameters:
obj- determine what the display of org should be for this objcontainer- the container who should be queried
-
getWTOrganizationIdentifierDisplay
Return the text to display for the Organization ID field in the UI. If the organization has a WTOrganizationIdentifier, the display string will include the coding system (DUNS, CAGE, or ISO 6523) and the unique identifier components of the WTOrganizationIdentifier. If the organization has a null WTOrganizationIdentifier, the organization name is returned.
Supported API: true- Parameters:
org- The WTOrganization to retrieve the Organization ID from
-
isPrincipalNameValid
Validates that the given principal name does not contain illegal characters. In addition to a null or empty name, this validation checks for the presence of characters which are considered illegal in a principal name, namely # / > \ < *
Supported API: true- Parameters:
name- - the name of the principal- Returns:
- - true only if valid or if bypassed
- Throws:
WTException
-