Class WTPartStandardConfigSpec
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,NetFactor,ObjectMappable,ConfigSpec
- Direct Known Subclasses:
ESIDefaultConfigSpec
This ConfigSpec considers only versions (latest iterations), and returns at most one version per master (the latest eligible version).
If the State value is set, only those parts at that particular state are eligible.
If the view is set, only those parts in the view and any of its parents (and any view-independent versions) are eligible, although the parts assigned the view are taken over any assigned to parent views, unless there is none assigned to the view, in which case the parents are checked until there's at least one version assigned to a parent view. If the view is not set, only view-independent versions are eligible.
While parts owned by any user other than the current principal are never eligible, the user's own versions are only eligible when workingIncluded is set to true (the default).
Use the newWTPartStandardConfigSpec static factory method(s),
not the WTPartStandardConfigSpec 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.part._WTPartStandardConfigSpec
LIFE_CYCLE_STATE, VARIATION1, VARIATION2, WORKING_INCLUDED -
Method Summary
Modifier and TypeMethodDescriptiongetView()Gets the value of the attribute: VIEW.protected voidSupports initialization, following construction of an instance.protected voidinitialize(View view, State lifeCycleState) Supports initialization, following construction of an instance.static WTPartStandardConfigSpecConstruct a default WTPartStandardConfigSpec.static WTPartStandardConfigSpecnewWTPartStandardConfigSpec(View view, State lifeCycleState) Construct a WTPartStandardConfigSpec, setting the view and lifeCycleState to the passed-in values.voidSets the value of the attribute: VIEW.Methods inherited from class wt.part._WTPartStandardConfigSpec
getLifeCycleState, getVariation1, getVariation2, isWorkingIncluded, setLifeCycleState, setVariation1, setVariation2, setWorkingIncluded
-
Method Details
-
getView
Gets the value of the attribute: VIEW. If set, only those objects assigned to the view or view-independent are returned. If no WTParts match the view, the parent is checked (until there is either at least one match or no parent). If not set, only view-independent parts are returned.
Supported API: true- Returns:
- View
-
setView
Sets the value of the attribute: VIEW. If set, only those objects assigned to the view or view-independent are returned. If no WTParts match the view, the parent is checked (until there is either at least one match or no parent). If not set, only view-independent parts are returned.
Supported API: true- Parameters:
a_View-- Throws:
WTPropertyVetoException
-
newWTPartStandardConfigSpec
Construct a default WTPartStandardConfigSpec.
Supported API: true- Returns:
- WTPartStandardConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Throws:
WTException
-
newWTPartStandardConfigSpec
public static WTPartStandardConfigSpec newWTPartStandardConfigSpec(View view, State lifeCycleState) throws WTException Construct a WTPartStandardConfigSpec, setting the view and lifeCycleState to the passed-in values.
Supported API: true- Parameters:
view-lifeCycleState-- Returns:
- WTPartStandardConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
view-lifeCycleState-- Throws:
WTException
-