|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscm.pub.gateway.changerequest.ChangeRequest
A ChangeRequest object is essentially a proxy object for a live persistent ChangeRequest object. Asking this object for the ChangeRequest information getInfo will result in the latest ChangeRequest information being pulled from the active project database.
| Constructor Summary | |
ChangeRequest(Project proj,
java.lang.String CRid)
Create a gateway to a particular ChangeRequest in this project. |
|
| Method Summary | |
void |
addNote(java.lang.String user,
java.lang.String note)
Add a note to this ChangeRequest. |
void |
assignToPhase(java.lang.String user,
java.lang.String generic,
java.lang.String phase,
java.lang.String note)
Assign this ChangeRequest to a particular user, on a particular Generic and to a particular phase. |
java.util.Vector |
getFileDescriptors(java.lang.String generic)
Get all of the file descriptors associated with this ChangeRequest. |
ChangeRequest_d |
getInfo()
Get all of the latest information for this ChangeRequest. |
void |
progress(java.lang.String user,
java.lang.String note)
Progress this ChangeRequest into the TBA state. |
void |
setAttributeValue(java.lang.String attribute,
java.lang.String value)
Change the value of a particular CR attribute. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ChangeRequest(Project proj,
java.lang.String CRid)
throws InvalidProject,
InvalidChangeRequest,
SystemException
proj - The project where the ChangeRequest resides.CRid - The name of the ChangeRequest to retrieve.
InvalidProject - If the Project name is invalid.
InvalidChangeRequest - If the change request does not exist.
SystemException - If a system level exception is caught.| Method Detail |
public java.util.Vector getFileDescriptors(java.lang.String generic)
throws SystemException
SystemException - If the system cannot be accessed.
public void setAttributeValue(java.lang.String attribute,
java.lang.String value)
throws InvalidCRAttribute,
InvalidCRAttributeValue,
SystemException
attribute - The attribute to changevalue - The new value for the given attribute
InvalidCRAttribute - If the requested attribute does not exist.
InvalidCRAttributeValue - If the requested attribute value does not exist and the
attribute is not editable.
SystemException - If the system cannot be accessed.
public void assignToPhase(java.lang.String user,
java.lang.String generic,
java.lang.String phase,
java.lang.String note)
throws InvalidGeneric,
InvalidUser,
InvalidChangeRequest,
InvalidPhase,
SystemException
user - The user this ChangeRequest should be assigned to.generic - The generic this ChangeRequest should be assigned to.phase - The phase this ChangeRequest should be assigned to.note - A note that can be tacked onto the transition.
InvalidUser - If the supplied user id is invalid.
InvalidGeneric - If the supplied generic is invalid.
InvalidChangeRequest - If the CR is invalid for whatever reason.
InvalidPhase - If the supplied phase is invalid.
SystemException - If an internal exception is caught.
public void addNote(java.lang.String user,
java.lang.String note)
throws InvalidUser,
SystemException
user - The user this note should be associated with.note - The contents of the note.
InvalidUser - If the supplied user id is invalid.
SystemException - If an internal exception is caught.
public void progress(java.lang.String user,
java.lang.String note)
throws InvalidUser,
InvalidChangeRequest,
SystemException
user - The user this progression should be associated with.note - An optional note.
InvalidUser - If the supplied user id is invalid.
InvalidChangeRequest - If the CR is invalid for whatever reason.
SystemException - If an internal exception is caught.
public ChangeRequest_d getInfo()
throws InvalidChangeRequest,
SystemException
InvalidChangeRequest - If the change request does not exist.
SystemException - If a system level exception is caught.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||