Class TargetFilterState
java.lang.Object
com.ptc.windchill.enterprise.massChange.filters.TargetFilterState
Aggregates filter status information for a single mass change object.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Constructor Summary
ConstructorsConstructorDescriptionTargetFilterState(Object target) Construct a TargetFilterState object with no exclusions. -
Method Summary
Modifier and TypeMethodDescriptionvoidClear filter exclusion.getDisplayValue(Locale locale) Get localized display value for current filter state.Get filter exclusion type (null if mass change target not excluded by a filter).getLongDescription(Locale locale) Get localized long description for current filter state.Get reference to target object.booleanReturn true if the mass change target object is excluded by any means.booleanReturn true if the mass change target object is filter excluded.booleanReturn true if the mass change target object is manual excluded.booleanReturn true if the mass change target object was checked out by the current principal prior to the mass change operation.voidsetFilterExclude(FilterExclusionType filterExclude) Set filter exclusion type.voidsetManualExclude(boolean manualExclude) Set manual exclude.voidsetPriorCheckOut(boolean priorCheckOut) Set prior check out value.
-
Constructor Details
-
TargetFilterState
Construct a TargetFilterState object with no exclusions.
Supported API: true- Parameters:
target- Mass change target object. Must be non-null WTReference, QueryKey or Persistable object.
-
-
Method Details
-
getTargetRef
Get reference to target object.
Supported API: true -
isFilterExcluded
public boolean isFilterExcluded()Return true if the mass change target object is filter excluded.
Supported API: true -
getFilterExclude
Get filter exclusion type (null if mass change target not excluded by a filter).
Supported API: true -
setFilterExclude
Set filter exclusion type.
Supported API: true- Parameters:
filterExclude- New exclusion type (null if mass change target not excluded by a filter). Cannot be set to FilterExclusionType.MANUAL.
-
clearFilterExclude
public void clearFilterExclude()Clear filter exclusion.
Supported API: true -
isManualExcluded
public boolean isManualExcluded()Return true if the mass change target object is manual excluded.
Supported API: true -
setManualExclude
public void setManualExclude(boolean manualExclude) Set manual exclude.
Supported API: true- Parameters:
manualExclude- True if mass change target object is manually excluded.
-
isExcluded
public boolean isExcluded()Return true if the mass change target object is excluded by any means.
Supported API: true -
isPriorCheckOut
public boolean isPriorCheckOut()Return true if the mass change target object was checked out by the current principal prior to the mass change operation.
Supported API: true -
setPriorCheckOut
public void setPriorCheckOut(boolean priorCheckOut) Set prior check out value.
Supported API: true- Parameters:
priorCheckOut- True if the mass change target object was checked out by the current principal prior to the mass change operation.
-
getDisplayValue
Get localized display value for current filter state. Returns null if mass change target object is not excluded.
Supported API: true -
getLongDescription
Get localized long description for current filter state. Returns null if mass change target object is not excluded.
Supported API: true
-