Package wt.org

Class OrganizationServicesHelper

java.lang.Object
wt.org.OrganizationServicesHelper

public class OrganizationServicesHelper extends Object
Helper class that provides easy access to the implementation of methods defined by the OrganizationServicesManager interface.

Supported API: true

Extendable: false
  • Field Details

    • manager

      public static OrganizationServicesManager manager


      Supported API: true
    • QUERY_CRITERIA_BLANK_VALUE

      public static final String 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

      public static String getOrgDisplayIdentifier(Object obj, WTContainerRef container)
      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 obj
      container - the container who should be queried
    • getWTOrganizationIdentifierDisplay

      public static String getWTOrganizationIdentifierDisplay(WTOrganization org)
      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

      public static boolean isPrincipalNameValid(String name) throws WTException
      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