|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.commerce.csr.approvals.Approval
public class Approval
Class to represent an Approval
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
protected atg.repository.RepositoryItem |
mAgentProfile
|
protected java.lang.String |
mApprovalType
|
protected java.lang.String |
mApproverId
|
protected java.util.Date |
mCompletionDate
|
protected java.util.Date |
mCreationDate
|
protected java.lang.String |
mCustomerProfileId
|
protected java.util.Map<java.lang.String,java.io.Serializable> |
mExtraData
|
protected atg.repository.RepositoryItem |
mRepositoryItem
|
protected java.lang.String |
mSiteId
|
protected java.lang.String |
mState
|
protected atg.repository.RepositoryItem |
mTicket
|
Constructor Summary | |
---|---|
Approval()
|
|
Approval(java.lang.String pApprovalType,
atg.repository.RepositoryItem pAgentProfile,
atg.repository.RepositoryItem pTicket,
java.lang.String pSiteId,
java.lang.String pCustomerProfileId)
Creates an approval object containing the supplied parameters. |
Method Summary | |
---|---|
atg.repository.RepositoryItem |
getAgentProfile()
Returns the agent profile as a RepositoryItem. |
java.lang.String |
getApprovalType()
Returns the approval type as a string. |
java.lang.String |
getApproverId()
Returns the approver id as a String. |
java.io.Serializable |
getAttribute(java.lang.String pKey)
gets an attribute from the Approval object |
java.util.Date |
getCompletionDate()
Returns the completion date as a Date. |
java.util.Date |
getCreationDate()
Returns the creation date as a Date. |
java.lang.String |
getCustomerProfileId()
Returns the customer profile id as a String. |
java.lang.String |
getId()
returns the ID from the associated Repository Item |
atg.repository.RepositoryItem |
getRepositoryItem()
Returns the repository item on the approval. |
java.lang.String |
getSiteId()
Returns the site as a String. |
java.lang.String |
getState()
Returns the state as a String. |
atg.repository.RepositoryItem |
getTicket()
Returns the ticket as a RepositoryItem. |
void |
setAgentProfile(atg.repository.RepositoryItem pAgentProfile)
Sets the agent profile as a RepositoryItem. |
void |
setApprovalType(java.lang.String pApprovalKey)
Sets the approval type as a string. |
void |
setApproverId(java.lang.String pApproverId)
Sets the approver id as a String. |
void |
setAttribute(java.lang.String pKey,
java.io.Serializable pValue)
add extra attributes to the approval for use in type specific processing |
void |
setCompletionDate(java.util.Date pCompletionDate)
Sets the completion date as a Date. |
void |
setCreationDate(java.util.Date pCreationDate)
Sets the creation date as a Date. |
void |
setCustomerProfileId(java.lang.String pCustomerProfileId)
Sets the customer profile id as a String. |
void |
setRepositoryItem(atg.repository.RepositoryItem pRepositoryItem)
Sets the repository item on the approval. |
void |
setSiteId(java.lang.String pSiteId)
Sets the site as a String. |
void |
setState(java.lang.String pState)
Sets the state as a String. |
void |
setTicket(atg.repository.RepositoryItem pTicket)
Sets the ticket as a RepositoryItem. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
protected java.lang.String mApprovalType
protected atg.repository.RepositoryItem mAgentProfile
protected atg.repository.RepositoryItem mTicket
protected java.util.Map<java.lang.String,java.io.Serializable> mExtraData
protected atg.repository.RepositoryItem mRepositoryItem
protected java.lang.String mSiteId
protected java.lang.String mCustomerProfileId
protected java.lang.String mApproverId
protected java.lang.String mState
protected java.util.Date mCreationDate
protected java.util.Date mCompletionDate
Constructor Detail |
---|
public Approval(java.lang.String pApprovalType, atg.repository.RepositoryItem pAgentProfile, atg.repository.RepositoryItem pTicket, java.lang.String pSiteId, java.lang.String pCustomerProfileId)
pApprovalType
- - Corresponds to the type of ApprovalHandler which will deal with the approvalpAgentProfile
- - The profile of the agent who submitted the orderpTicket
- - The current ticketpSite
- - The current Site IdpCustomerProfileId
- - The customer profile associated with the orderpublic Approval()
Method Detail |
---|
public void setApprovalType(java.lang.String pApprovalKey)
pApprovalType
- the ApprovalType to setpublic java.lang.String getApprovalType()
public void setAgentProfile(atg.repository.RepositoryItem pAgentProfile)
pAgentProfile
- the AgentProfile to setpublic atg.repository.RepositoryItem getAgentProfile()
public void setTicket(atg.repository.RepositoryItem pTicket)
pTicket
- the Ticket to setpublic atg.repository.RepositoryItem getTicket()
public void setSiteId(java.lang.String pSiteId)
pSiteId
- the Site to setpublic java.lang.String getSiteId()
public void setRepositoryItem(atg.repository.RepositoryItem pRepositoryItem)
pRepositoryItem
- the RepositoryItem to setpublic atg.repository.RepositoryItem getRepositoryItem()
public java.lang.String getId()
public void setAttribute(java.lang.String pKey, java.io.Serializable pValue)
pKey
- - the key - STRINGpValue
- - the value - OBJECTpublic java.io.Serializable getAttribute(java.lang.String pKey)
pKey
-
public void setCustomerProfileId(java.lang.String pCustomerProfileId)
pCustomerProfileId
- the CustomerProfileId to setpublic java.lang.String getCustomerProfileId()
public void setApproverId(java.lang.String pApproverId)
pApproverId
- the ApproverId to setpublic java.lang.String getApproverId()
public java.util.Date getCreationDate()
public void setCreationDate(java.util.Date pCreationDate)
pCreationDate
- the CreationDate to setpublic java.util.Date getCompletionDate()
public void setCompletionDate(java.util.Date pCompletionDate)
pCreationDate
- the CreationDate to setpublic void setState(java.lang.String pState)
pState
- the state to setpublic java.lang.String getState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |