Package wt.doc
Class WTDocumentConfigSpec
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.enterprise._Simple
wt.enterprise.Simple
wt.doc._WTDocumentConfigSpec
wt.doc.WTDocumentConfigSpec
- All Implemented Interfaces:
Externalizable,Serializable,wt.access._AccessControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,wt.fc.BusinessInformation,NetFactor,ObjectMappable,Persistable,DisplayIdentification,wt.notify._Notifiable,Notifiable,wt.ownership._Ownable,wt.ownership.Ownable,wt.vc.config._PersistableConfigSpec,ConfigSpec,wt.vc.config.PersistableConfigSpec
@GenAsPersistable(superClass=Simple.class,interfaces={wt.ownership.Ownable.class,wt.vc.config.PersistableConfigSpec.class},versions=-49166080929554176L,properties={@GeneratedProperty(name="baselineActive",type=boolean.class,supportedAPI=PUBLIC,javaDoc="If true, the BaselineConfigSpec is active.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="standardActive",type=boolean.class,initialValue="true",supportedAPI=PUBLIC,javaDoc="If true, the WTDocumentStandardConfigSpec is active.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="sandboxActive",type=boolean.class,supportedAPI=PUBLIC,javaDoc="If true, the SandboxConfigSpec is active.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="promotionNoticeActive",type=boolean.class,supportedAPI=PUBLIC,javaDoc="If true, the PromotionNoticeConfigSpec is active.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="sandbox",type=SandboxConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={}),columnProperties=@ColumnProperties(columnName="SMALLBLOB",columnType=BLOB)),@GeneratedProperty(name="baseline",type=BaselineConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="standard",type=WTDocumentStandardConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="promotionNotice",type=PromotionNoticeConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={}))},iconProperties=@IconProperties(standardIcon="wt/clients/images/configspec.gif",openIcon="wt/clients/images/configspec.gif"))
public class WTDocumentConfigSpec
extends _WTDocumentConfigSpec
The config spec for use by WTDocuments. It aggregates BaselineConfigSpec,
SandboxConfigSpec and WTDocumentStandardConfigSpec. Only one of these
may be active at a time.
Use the newWTDocumentConfigSpec static factory method(s),
not the WTDocumentConfigSpec 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.doc._WTDocumentConfigSpec
BASELINE, BASELINE_ACTIVE, PROMOTION_NOTICE, PROMOTION_NOTICE_ACTIVE, SANDBOX, SANDBOX_ACTIVE, STANDARD, STANDARD_ACTIVE -
Method Summary
Modifier and TypeMethodDescriptionGet the active ConfigSpec.protected voidinitialize(WTDocumentStandardConfigSpec standard) Supports initialization, following construction of an instance.protected voidinitialize(PromotionNoticeConfigSpec promotionNotice) Supports initialization, following construction of an instance.protected voidinitialize(SandboxConfigSpec sandbox) Supports initialization, following construction of an instance.protected voidinitialize(BaselineConfigSpec baseline) Supports initialization, following construction of an instance.protected voidinitialize(BaselineConfigSpec baseline, WTDocumentStandardConfigSpec standard) Supports initialization, following construction of an instance.static WTDocumentConfigSpec
Supported API: truestatic WTDocumentConfigSpec
Supported API: truestatic WTDocumentConfigSpecnewWTDocumentConfigSpec(PromotionNoticeConfigSpec promotionNotice)
Supported API: truestatic WTDocumentConfigSpecnewWTDocumentConfigSpec(SandboxConfigSpec sandbox)
Supported API: truestatic WTDocumentConfigSpecnewWTDocumentConfigSpec(BaselineConfigSpec baseline)
Supported API: truestatic WTDocumentConfigSpecnewWTDocumentConfigSpec(BaselineConfigSpec baseline, WTDocumentStandardConfigSpec standard)
Supported API: truevoidsetBaselineActive(boolean a_BaselineActive) Sets the value of the attribute: BASELINE_ACTIVE.voidsetPromotionNoticeActive(boolean a_PromotionNoticeActive) Sets the value of the attribute: PROMOTION_NOTICE_ACTIVE.voidsetSandboxActive(boolean a_SandboxActive) Sets the value of the attribute: SANDBOX_ACTIVE.voidsetStandardActive(boolean a_StandardActive) Sets the value of the attribute: STANDARD_ACTIVE.Methods inherited from class wt.doc._WTDocumentConfigSpec
getBaseline, getPromotionNotice, getSandbox, getStandard, isBaselineActive, isPromotionNoticeActive, isSandboxActive, isStandardActive, setBaseline, setPromotionNotice, setSandbox, setStandardMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc.Persistable
checkAttributes
-
Method Details
-
setBaselineActive
public void setBaselineActive(boolean a_BaselineActive) Sets the value of the attribute: BASELINE_ACTIVE. If true, the BaselineConfigSpec is active.
Supported API: true- Overrides:
setBaselineActivein class_WTDocumentConfigSpec- Parameters:
a_BaselineActive-- See Also:
-
setStandardActive
public void setStandardActive(boolean a_StandardActive) Sets the value of the attribute: STANDARD_ACTIVE. If true, the WTDocumentStandardConfigSpec is active.
Supported API: true- Overrides:
setStandardActivein class_WTDocumentConfigSpec- Parameters:
a_StandardActive-- See Also:
-
setSandboxActive
public void setSandboxActive(boolean a_SandboxActive) Sets the value of the attribute: SANDBOX_ACTIVE. If true, the SandboxConfigSpec is active.
Supported API: true- Overrides:
setSandboxActivein class_WTDocumentConfigSpec- Parameters:
a_SandboxActive-- See Also:
-
setPromotionNoticeActive
public void setPromotionNoticeActive(boolean a_PromotionNoticeActive) Sets the value of the attribute: PROMOTION_NOTICE_ACTIVE. If true, the PromotionNoticeConfigSpec is active.
Supported API: true- Overrides:
setPromotionNoticeActivein class_WTDocumentConfigSpec- Parameters:
a_PromotionNoticeActive-- See Also:
-
getActive
Get the active ConfigSpec. Returns null if there is no active one or if the active one is null.
Supported API: true- Returns:
- ConfigSpec
-
newWTDocumentConfigSpec
Supported API: true- Returns:
- WTDocumentConfigSpec
- Throws:
WTException
-
newWTDocumentConfigSpec
public static WTDocumentConfigSpec newWTDocumentConfigSpec(BaselineConfigSpec baseline) throws WTException
Supported API: true- Parameters:
baseline-- Returns:
- WTDocumentConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
baseline-- Throws:
WTException
-
newWTDocumentConfigSpec
public static WTDocumentConfigSpec newWTDocumentConfigSpec(WTDocumentStandardConfigSpec standard) throws WTException
Supported API: true- Parameters:
standard-- Returns:
- WTDocumentConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
standard-- Throws:
WTException
-
newWTDocumentConfigSpec
public static WTDocumentConfigSpec newWTDocumentConfigSpec(BaselineConfigSpec baseline, WTDocumentStandardConfigSpec standard) throws WTException
Supported API: true- Parameters:
baseline-standard-- Returns:
- WTDocumentConfigSpec
- Throws:
WTException
-
initialize
protected void initialize(BaselineConfigSpec baseline, WTDocumentStandardConfigSpec standard) throws WTException Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
baseline-standard-- Throws:
WTException
-
newWTDocumentConfigSpec
public static WTDocumentConfigSpec newWTDocumentConfigSpec(SandboxConfigSpec sandbox) throws WTException
Supported API: true- Parameters:
sandbox-- Returns:
- WTDocumentConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
sandbox-- Throws:
WTException
-
newWTDocumentConfigSpec
public static WTDocumentConfigSpec newWTDocumentConfigSpec(PromotionNoticeConfigSpec promotionNotice) throws WTException
Supported API: true- Parameters:
promotionNotice-- Returns:
- WTDocumentConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
promotionNotice-- Throws:
WTException
-