Package wt.filter

Class NavigationCriteria

java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.filter._NavigationCriteria
wt.filter.NavigationCriteria
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, NetFactor, ObjectMappable, Persistable, DisplayIdentification

@GenAsPersistable(superClass=WTObject.class,interfaces={},serializable=EXTERNALIZABLE_BASIC,properties={@GeneratedProperty(name="name",type=java.lang.String.class),@GeneratedProperty(name="configSpecs",type=java.util.List.class,typeParameter="<wt.vc.config.ConfigSpec>",accessors=@PropertyAccessors(getAccess=PRIVATE),columnProperties=@ColumnProperties(persistent=false)),@GeneratedProperty(name="filters",type=java.util.Collection.class,typeParameter="<wt.filter.NavigationFilter2>",columnProperties=@ColumnProperties(persistent=false)),@GeneratedProperty(name="applyToTopLevelObject",type=boolean.class,initialValue="false"),@GeneratedProperty(name="useDefaultForUnresolved",type=boolean.class,initialValue="false"),@GeneratedProperty(name="hideUnresolvedDependents",type=boolean.class,initialValue="false",javaDoc="Indicates whether or not the unresolved dependents should be hidden in navigating a structure"),@GeneratedProperty(name="sharedToAll",type=boolean.class,initialValue="false"),@GeneratedProperty(name="centricity",type=boolean.class,initialValue="false",javaDoc="Indicates whether or not the centricity algorithm should be applied in navigating a structure with this NavigationCriteria. If centricity is true then the collector will navigate the structure of the applicable type directly and any parallel structure by navigating associations to the applicable type structure (e.g. if WTPart is the applicable type and centricity is applied, it will get the EPMDocument structure by navigating from the WTPart structure to related EPMDocuments). Otherwise just the applicable type structure will be navigated."),@GeneratedProperty(name="applicableType",type=java.lang.String.class,javaDoc="Type string for the class that the config specs of this NavigationCriteria are applicable to."),@GeneratedProperty(name="applicationName",type=java.lang.String.class,accessors=@PropertyAccessors(setExceptions={}),javaDoc="The application name used when the NavigationCriteria is cached",columnProperties=@ColumnProperties(persistent=false))},foreignKeys=@GeneratedForeignKey(foreignKeyRole=@ForeignKeyRole(name="owner",type=wt.filter.NavigationCriteriaOwner.class,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="theNavigationCriteria",cardinality=ONE,cascade=true)),tableProperties=@TableProperties(compositeUnique1="+ownerReference.key.id+name"),iconProperties=@IconProperties(standardIcon="/netmarkets/images/expansion_criteria.gif",openIcon="/netmarkets/images/expansion_criteria.gif")) public class NavigationCriteria extends wt.filter._NavigationCriteria
An ExpansionCriteria consists of a list of ConfigSpecs used to resolve masters to iterations, and a collection of Filters used in filtering Product Structures. ExpansionCriteria can be shared to other users.

Use the newNonPersistableNavigationCriteria static factory method(s), not the NavigationCriteria constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
  • Field Summary

    Fields inherited from class wt.filter._NavigationCriteria

    APPLICABLE_TYPE, APPLICATION_NAME, APPLY_TO_TOP_LEVEL_OBJECT, CENTRICITY, CONFIG_SPECS, FILTERS, HIDE_UNRESOLVED_DEPENDENTS, NAME, OWNER, OWNER_REFERENCE, SHARED_TO_ALL, USE_DEFAULT_FOR_UNRESOLVED

    Fields inherited from class wt.fc._WTObject

    CREATE_TIMESTAMP, MODIFY_TIMESTAMP

    Fields inherited from interface wt.fc._Persistable

    PERSIST_INFO

    Fields inherited from interface wt.identity.DisplayIdentification

    DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE

    Fields inherited from interface wt.fc.Persistable

    IDENTITY, TYPE
  • Method Summary

    Modifier and Type
    Method
    Description
    static final NavigationCriteria
    Default factory for the class to create user defined non persistable navigation criteria for in-memory usage with configuration specifications and filters.
    static final NavigationCriteria
    newNonPersistableNavigationCriteria(List configSpecs, Collection filters, boolean applyToTopLevelObject, boolean useDefaultForUnresolved, boolean hideUnresolvedDependents, String applicableType, wt.filter.NavigationCriteriaOwner owner)
    Default factory for the class to create user defined non persistable navigation criteria for in-memory usage.
    static final NavigationCriteria
    newNonPersistableNavigationCriteria(List configSpecs, Collection filters, String applicableType, wt.filter.NavigationCriteriaOwner owner)
    Default factory for the class to create user defined non persistable navigation criteria for in-memory usage with configuration specifications and filters.

    Methods inherited from class wt.filter._NavigationCriteria

    getApplicableType, getApplicationName, getClassInfo, getConceptualClassname, getName, getOwner, getOwnerReference, getType, isApplyToTopLevelObject, isCentricity, isHideUnresolvedDependents, isSharedToAll, isUseDefaultForUnresolved, readExternal, readExternal, setApplicableType, setApplicationName, setApplyToTopLevelObject, setCentricity, setHideUnresolvedDependents, setName, setOwner, setOwnerReference, setSharedToAll, setUseDefaultForUnresolved, super_readExternal_NavigationCriteria, super_readVersion_NavigationCriteria, super_writeExternal_NavigationCriteria, writeExternal

    Methods inherited from class wt.fc._WTObject

    equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • newNonPersistableNavigationCriteria

      public static final NavigationCriteria newNonPersistableNavigationCriteria(List configSpecs, Collection filters, boolean applyToTopLevelObject, boolean useDefaultForUnresolved, boolean hideUnresolvedDependents, String applicableType, wt.filter.NavigationCriteriaOwner owner) throws Exception
      Default factory for the class to create user defined non persistable navigation criteria for in-memory usage.

      Supported API: true
      Parameters:
      applyToTopLevelObject - (Flag to decide whether navigation criteria is to be applied to top level object)
      useDefaultForUnresolved - (Flag to decide whether default configuration specification to be applied to unresolved objects)
      hideUnresolvedDependents - (Flag to decide whether or not the unresolved dependents should be hidden in navigating a structure)
      applicableType - , type string for the class that the configuration specifications of this NavigationCriteria are applicable to
      owner - , owner of Navigation Criteria
      List - of valid configuration Specifications
      WTCollection - of valid filters
      Returns:
      non persistable Navigation criteria
      Throws:
      Exception
    • newNonPersistableNavigationCriteria

      public static final NavigationCriteria newNonPersistableNavigationCriteria(List configSpecs, Collection filters) throws Exception
      Default factory for the class to create user defined non persistable navigation criteria for in-memory usage with configuration specifications and filters.

      Supported API: true
      Parameters:
      List - of valid configuration Specifications
      WTCollection - of valid filters
      Returns:
      non persistable Navigation criteria
      Throws:
      Exception
    • newNonPersistableNavigationCriteria

      public static final NavigationCriteria newNonPersistableNavigationCriteria(List configSpecs, Collection filters, String applicableType, wt.filter.NavigationCriteriaOwner owner) throws Exception
      Default factory for the class to create user defined non persistable navigation criteria for in-memory usage with configuration specifications and filters.

      Supported API: true
      Parameters:
      applicableType - ,type string for the class that the configuration specifications of this NavigationCriteria are applicable to
      owner - , owner of Navigation Criteria
      List - of valid configuration Specifications
      WTCollection - of valid filters
      Returns:
      non persistable Navigation criteria
      Throws:
      Exception