wt.maturity
Class PromotionNotice

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.enterprise.Managed
          extended by wt.maturity.PromotionNotice
All Implemented Interfaces:
Externalizable, Serializable, AccessControlled, wt.access.AccessControlList, wt.access.AdHocControlled, IdentityAccessControlled, wt.access.PolicyAccessControlled, wt.access.SecurityLabeled, wt.admin.DomainAdministered, ContentHolder, wt.fc.BusinessInformation, Identified, NetFactor, ObjectMappable, Persistable, UniquelyIdentified, CabinetBased, Foldered, FolderEntry, wt.folder.FolderServiceManaged, wt.iba.value.IBAHolder, DisplayIdentification, Indexable, WTContained, WTContainedIdentified, wt.lifecycle.LifeCycleManaged, Notifiable, wt.org.electronicIdentity.ElectronicallySignable, OrganizationOwned, OrganizationOwnedImpl, Ownable, wt.recent.RecentlyVisited, wt.team.TeamManaged, wt.type.FlexTyped, wt.type.Typed, wt.workflow.forum.SubjectOfForum, wt.workflow.notebook.SubjectOfNotebook

public class PromotionNotice
extends Managed
implements wt.org.electronicIdentity.ElectronicallySignable, ContentHolder, UniquelyIdentified, WTContainedIdentified, wt.type.Typed, OrganizationOwnedImpl, wt.recent.RecentlyVisited, IdentityAccessControlled, Externalizable

The implementation of PromotionNotices. The associated PromotionTargets are promoted in maturity through the Maturity process.

Use the newPromotionNotice static factory method(s), not the PromotionNotice 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: true

See Also:
PromotionTarget, Serialized Form

Field Summary
static String DESCRIPTION
          Label for the attribute.
static String MATURITY_STATE
          Label for the attribute.
static String NAME
          Label for the attribute.
static String NUMBER
          Label for the attribute.
static String PROMOTION_DATE
          Label for the attribute.
 
Fields inherited from interface wt.org.OrganizationOwnedImpl
ORGANIZATION_REFERENCE
 
Fields inherited from interface wt.org.OrganizationOwned
ORGANIZATION, ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIER
 
Method Summary
 void checkAttributes()
          Validate that the name, description, requster and RequestType attributes have user supplied values.
 String getDescription()
          Gets the value of the attribute: DESCRIPTION.
 IdentificationObject getIdentificationObject()
          Constructs and returns an identification object.
 State getMaturityState()
          Gets the value of the attribute: MATURITY_STATE.
 String getName()
          Gets the value of the attribute: NAME.
 String getNumber()
          Gets the value of the attribute: NUMBER.
 WTOrganization getOrganization()
          Gets the value of the attribute: ORGANIZATION.
 String getOrganizationCodingSystem()
          Gets the value of the attribute: ORGANIZATION_CODING_SYSTEM.
 String getOrganizationName()
          Gets the value of the attribute: ORGANIZATION_NAME.
 WTPrincipalReference getOrganizationReference()
          Gets the value of the attribute: ORGANIZATION_REFERENCE.
 String getOrganizationUniqueIdentifier()
          Gets the value of the attribute: ORGANIZATION_UNIQUE_IDENTIFIER.
 Timestamp getPromotionDate()
          Gets the value of the attribute: PROMOTION_DATE.
protected  void initialize(String name)
          Supports initialization, following construction of an instance.
static PromotionNotice newPromotionNotice()
          A no-arg new-factory method to construct an initialized instance of a PromotionNotice

Supported API: true
static PromotionNotice newPromotionNotice(String name)
          A new-factory method that construct an initialized instance of a PromotionNotice with the given name.
 void setDescription(String a_Description)
          Sets the value of the attribute: DESCRIPTION.
 void setMaturityState(State a_MaturityState)
          Sets the value of the attribute: MATURITY_STATE.
protected  void setName(String a_Name)
          Sets the value of the attribute: NAME.
protected  void setNumber(String a_Number)
          Sets the value of the attribute: NUMBER.
 void setOrganization(WTOrganization a_Organization)
          Sets the value of the attribute: ORGANIZATION.
 void setOrganizationReference(WTPrincipalReference a_OrganizationReference)
          Sets the value of the attribute: ORGANIZATION_REFERENCE.
 void setPromotionDate(Timestamp a_PromotionDate)
          Sets the value of the attribute: PROMOTION_DATE.
 
Methods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NUMBER

public static final String NUMBER
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

NAME

public static final String NAME
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

PROMOTION_DATE

public static final String PROMOTION_DATE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

MATURITY_STATE

public static final String MATURITY_STATE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getNumber

public String getNumber()
Gets the value of the attribute: NUMBER.

Supported API: true

Returns:
String

setNumber

protected void setNumber(String a_Number)
Sets the value of the attribute: NUMBER.

Supported API: true

Parameters:
a_Number -

getName

public String getName()
Gets the value of the attribute: NAME.

Supported API: true

Returns:
String

setName

protected void setName(String a_Name)
Sets the value of the attribute: NAME.

Supported API: true

Parameters:
a_Name -

getDescription

public String getDescription()
Gets the value of the attribute: DESCRIPTION.

Supported API: true

Returns:
String

setDescription

public void setDescription(String a_Description)
                    throws WTPropertyVetoException
Sets the value of the attribute: DESCRIPTION.

Supported API: true

Parameters:
a_Description -
Throws:
WTPropertyVetoException

getPromotionDate

public Timestamp getPromotionDate()
Gets the value of the attribute: PROMOTION_DATE.

Supported API: true

Returns:
Timestamp

setPromotionDate

public void setPromotionDate(Timestamp a_PromotionDate)
                      throws WTPropertyVetoException
Sets the value of the attribute: PROMOTION_DATE.

Supported API: true

Parameters:
a_PromotionDate -
Throws:
WTPropertyVetoException

getMaturityState

public State getMaturityState()
Gets the value of the attribute: MATURITY_STATE.

Supported API: true

Returns:
State

setMaturityState

public void setMaturityState(State a_MaturityState)
                      throws WTPropertyVetoException
Sets the value of the attribute: MATURITY_STATE.

Supported API: true

Parameters:
a_MaturityState -
Throws:
WTPropertyVetoException

newPromotionNotice

public static PromotionNotice newPromotionNotice()
                                          throws WTException
A no-arg new-factory method to construct an initialized instance of a PromotionNotice

Supported API: true

Returns:
PromotionNotice
Throws:
WTException

newPromotionNotice

public static PromotionNotice newPromotionNotice(String name)
                                          throws WTException
A new-factory method that construct an initialized instance of a PromotionNotice with the given name.

Supported API: true

Parameters:
name -
Returns:
PromotionNotice
Throws:
WTException

initialize

protected void initialize(String name)
                   throws WTException
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

Supported API: true

Parameters:
name -
Throws:
WTException

checkAttributes

public void checkAttributes()
                     throws InvalidAttributeException
Validate that the name, description, requster and RequestType attributes have user supplied values.

Supported API: true

Throws:
InvalidAttributeException

getIdentificationObject

public IdentificationObject getIdentificationObject()
                                             throws WTException
Constructs and returns an identification object. This method is the only way to obtain an identification object.

Supported API: true

Specified by:
getIdentificationObject in interface Identified
Returns:
IdentificationObject
Throws:
WTException

getOrganizationReference

public WTPrincipalReference getOrganizationReference()
Gets the value of the attribute: ORGANIZATION_REFERENCE.

Supported API: true

Specified by:
getOrganizationReference in interface OrganizationOwned
Specified by:
getOrganizationReference in interface OrganizationOwnedImpl
Returns:
WTPrincipalReference

setOrganizationReference

public void setOrganizationReference(WTPrincipalReference a_OrganizationReference)
                              throws WTPropertyVetoException
Sets the value of the attribute: ORGANIZATION_REFERENCE.

Supported API: true

Parameters:
a_OrganizationReference -
Throws:
WTPropertyVetoException

getOrganizationUniqueIdentifier

public String getOrganizationUniqueIdentifier()
Gets the value of the attribute: ORGANIZATION_UNIQUE_IDENTIFIER. The getter for this attribute delivers organization unique identifier.

Supported API: true

Specified by:
getOrganizationUniqueIdentifier in interface OrganizationOwned
Returns:
String

getOrganizationCodingSystem

public String getOrganizationCodingSystem()
Gets the value of the attribute: ORGANIZATION_CODING_SYSTEM. The getter for this attribute delivers organization coding system.

Supported API: true

Specified by:
getOrganizationCodingSystem in interface OrganizationOwned
Returns:
String

getOrganizationName

public String getOrganizationName()
Gets the value of the attribute: ORGANIZATION_NAME. The getter for this attribute delivers organization name.

Supported API: true

Specified by:
getOrganizationName in interface OrganizationOwned
Returns:
String

getOrganization

public WTOrganization getOrganization()
Gets the value of the attribute: ORGANIZATION.

Supported API: true

Specified by:
getOrganization in interface OrganizationOwned
Returns:
WTOrganization

setOrganization

public void setOrganization(WTOrganization a_Organization)
                     throws WTPropertyVetoException
Sets the value of the attribute: ORGANIZATION.

Supported API: true

Parameters:
a_Organization -
Throws:
WTPropertyVetoException