Class WTTypeDefinitionNavigator

java.lang.Object
wt.ixb.objectset.ObjectSetHandlerTemplate
wt.ixb.objectset.ObjectSetGeneratorTemplate
wt.ixb.objectset.handlers.navigator.GeneralNavigator
wt.ixb.objectset.handlers.navigator.WTTypeDefinitionNavigator
All Implemented Interfaces:
ObjectSetGenerator, ObjectSetHandler

public class WTTypeDefinitionNavigator extends wt.ixb.objectset.handlers.navigator.GeneralNavigator
Object set navigator for type definitions (including user defined soft types and hard types). By default all of its parents, including modeled types, will be exported also.

Supported API: true

Extendable: false
  • Method Details

    • getTopLevelObjectLocalizedImage

      public String getTopLevelObjectLocalizedImage(Persistable obj) throws WTException
      Get the localized String displayable to the client for the given type definition.


      Supported API: true
      Overrides:
      getTopLevelObjectLocalizedImage in class wt.ixb.objectset.handlers.navigator.GeneralNavigator
      Parameters:
      obj -
      Returns:
      the full path of the type definition.
      Throws:
      WTException
    • canBeUsedAsTopLevelObject

      public boolean canBeUsedAsTopLevelObject(Persistable obj) throws WTException
      Only the LATEST iteration which is checked in can be used as seed objects. Deleted type definitions can not be used as seed objects. Return true if it can be used as a seed object.

      Supported API: true
      Overrides:
      canBeUsedAsTopLevelObject in class wt.ixb.objectset.handlers.navigator.GeneralNavigator
      Parameters:
      obj - The heavy object type definition.
      Returns:
      boolean
      Throws:
      WTException
    • findTopLevelObject

      public Enumeration findTopLevelObject(String[] searchParams) throws WTException
      Find the type definitions whose names match the search parameter given the array of String. The type definitions must be in the source container or its parent containers.

      Supported API: true
      Overrides:
      findTopLevelObject in class wt.ixb.objectset.handlers.navigator.GeneralNavigator
      Parameters:
      searchParams - The size of the String array should be 1 (for the name of type definitions)
      Returns:
      Enumeration
      Throws:
      WTException