|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscm.pub.gateway.project.Project
The Project class is a proxy class for a live project defined in a SpectrumSCM federated system. Projects in SpectrumSCM define their own databases and are transactionally independent from the rest of the database federation. Each Project contains a user defined set of lifecycle phases, a set of ChangeRequest attributes with values and a set of users, defined to operate as certain roles within the project.
| Constructor Summary | |
Project(java.lang.String projectName)
Create a Project associated with the given project name. |
|
| Method Summary | |
java.lang.String |
createChangeRequest(ChangeRequestCreator_d crc)
Create a new ChangeRequest. |
java.util.Vector |
getActiveChangeRequests()
Get all ChangeRequests that are currently active in this Project. |
ChangeRequest_d |
getCRInfo(java.lang.String CRid)
Get the information contained in this ChangeRequest. |
java.util.Vector |
getGenericNames()
Get the names of all of the Generics associated with this Project |
java.util.Vector |
getInActiveChangeRequests()
Get all ChangeRequests that are currently inactive in this Project. |
java.util.Vector |
getLifeCyclePhases()
Get the life cycle phases defined for this project. |
java.lang.String |
getName()
Get the name of this Project |
AttributeMap_d |
getProjectChangeRequestAttributes()
Get the ChangeRequest attributes defined for this project. |
void |
getSource(java.io.File target,
CRFileDescriptor_d fileDescriptor)
Get the HEAD REVISION of the file associated with this CRFileDescriptor. |
User_d |
getUserInfo(java.lang.String user)
Get information about a specific user including their assigned roles on this project. |
java.util.Vector |
getUsers()
Get the users assigned to this project. |
void |
getVersionSource(java.io.File target,
CRFileDescriptor_d fileDescriptor)
Get the EXACT REVISION of the file associated with this CRFileDescriptor. |
boolean |
isAttributeEditable(java.lang.String attrib)
Determine whether the given project attribute name is user editable or not |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Project(java.lang.String projectName)
throws InvalidProject,
SystemException
projectName - The name of the Project to connect
to on the server.
InvalidProject - If the Project name is invalid.
SystemException - If an internal exception is caught.| Method Detail |
public void getSource(java.io.File target,
CRFileDescriptor_d fileDescriptor)
throws SystemException
target - The File representing the target for the extraction.
java.io.IOException - If the file cannot be created at the requested location.
SystemException - If the system cannot be accessed.
public void getVersionSource(java.io.File target,
CRFileDescriptor_d fileDescriptor)
throws SystemException
target - The File representing the target for the extraction.
SystemException - If the system cannot be accessed or the file cannot be created.
public java.lang.String createChangeRequest(ChangeRequestCreator_d crc)
throws SystemException,
InvalidUser,
InvalidGeneric,
InvalidPhase
crc - A ChangeRequestCreator_d object, which describes all
of the necessary information for ChangeRequest creation.
SystemException - If an internal exception is caught.
InvalidUser - If the assigned user or creation user is invalid.
InvalidPhase - If the creation or assigned states are invalid.
InvalidGeneric - If the assignment generic is invalid.
public boolean isAttributeEditable(java.lang.String attrib)
throws SystemException
attrib - The attribute to check.
SystemExceptionpublic java.lang.String getName()
public java.util.Vector getGenericNames()
throws SystemException
SystemException - If an internal exception is caught.
public java.util.Vector getUsers()
throws SystemException
SystemException - If an internal exception is caught.
public User_d getUserInfo(java.lang.String user)
throws InvalidUser,
SystemException
user - The names of a particular user.
InvalidUser - If the supplied user id does not exist.
SystemException - If an internal exception is caught.
public AttributeMap_d getProjectChangeRequestAttributes()
throws SystemException
SystemException - If an internal exception is caught.
public java.util.Vector getLifeCyclePhases()
throws SystemException
SystemException - If an internal exception is caught.
public java.util.Vector getInActiveChangeRequests()
throws SystemException
SystemException - If an internal exception is caught.
public java.util.Vector getActiveChangeRequests()
throws SystemException
SystemException - If an internal exception is caught.
public ChangeRequest_d getCRInfo(java.lang.String CRid)
throws InvalidChangeRequest,
SystemException
CRid - The name of the ChangeRequest.
InvalidChangeRequest - If the supplied CRid is invalid.
SystemException - If an internal exception is caught.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||