|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.clients.commonstructure.CommonStructureClient
public class CommonStructureClient
Accesses the Team Foundation Server common structure web services.
Constructor Summary | |
---|---|
CommonStructureClient(TFSTeamProjectCollection connection,
ms.tfs.services.classification._03._ClassificationSoap webService,
ms.tfs.services.classification._03._Classification4Soap webService4)
|
Method Summary | |
---|---|
void |
clearProjectInfoCache()
Clears the project information cache. |
java.lang.String |
createNode(java.lang.String nodeName,
java.lang.String parentNodeUri)
Creates a new node in a classification service structure. |
java.lang.String |
createNode(java.lang.String nodeName,
java.lang.String parentNodeUri,
java.util.Calendar startDate,
java.util.Calendar finishDate)
|
void |
deleteBranches(java.lang.String[] nodeUris,
java.lang.String reclassifyUri)
Deletes one or more branches |
void |
deleteProject(java.lang.String projectUri)
Deletes a project context and the associated structures |
java.lang.String |
getChangedNodes(int firstSequenceId)
Gets the set of changed nodes with an ID greater than a specified ID. |
TFSTeamProjectCollection |
getConnection()
|
CSSNode[] |
getCSSNodes(java.lang.String[] rootNodeUris,
boolean includeChildren)
|
CSSNode |
getCSSNodes(java.lang.String rootNodeUri,
boolean includeChildren)
|
NodeInfo |
getNode(java.lang.String nodeUri)
Gets a NodeInfo structure using a node URI |
NodeInfo |
getNodeFrom(java.lang.String nodePath)
Gets a NodeInfo structure using a node pathname. |
ProjectInfo |
getProject(java.lang.String projectUri)
|
ProjectInfo |
getProjectFromName(java.lang.String projectName)
Gets a ProjectInfo structure using a project name |
ProjectProperty |
getProjectProperty(java.lang.String projectUri,
java.lang.String name)
|
ProjectInfo[] |
listAllProjects()
|
ProjectInfo[] |
listProjects()
|
NodeInfo[] |
listStructures(java.lang.String projectUri)
Lists the structures in a project |
void |
moveBranch(java.lang.String nodeUri,
java.lang.String newParentNodeUri)
Moves a node, along with the entire branch below the node, to a new position in the hierarchy The type of the moved node must be appropriate to be a child of the new parent, and the new parent cannot be in the branch below the moved node. |
void |
renameNode(java.lang.String nodeUri,
java.lang.String newNodeName)
Renames the specified node. |
void |
reorderNode(java.lang.String nodeUri,
int moveBy)
Moves a node to a new position in the order of nodes within its parent |
void |
setIterationDates(java.lang.String nodeUri,
java.util.Calendar startDate,
java.util.Calendar finishDate)
|
void |
setProjectProperty(java.lang.String projectUri,
java.lang.String name,
java.lang.String value)
|
void |
updateProjectProperties(java.lang.String projectUri,
java.lang.String state,
ProjectProperty[] properties)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommonStructureClient(TFSTeamProjectCollection connection, ms.tfs.services.classification._03._ClassificationSoap webService, ms.tfs.services.classification._03._Classification4Soap webService4)
Method Detail |
---|
public TFSTeamProjectCollection getConnection()
public void clearProjectInfoCache()
public java.lang.String createNode(java.lang.String nodeName, java.lang.String parentNodeUri)
nodeName
- Name of the node to create. If the parent already has a node with
this name, then the new node will not be created.parentNodeUri
- The URI of the node which will be the parent of the new node.
public void deleteBranches(java.lang.String[] nodeUris, java.lang.String reclassifyUri)
nodeUris
- The URIs of the nodes that are the roots of the branches to be
deletedreclassifyUri
- The URI of the node to which artifacts are reclassifiedpublic void deleteProject(java.lang.String projectUri)
projectUri
- The URI of the project context to deletepublic java.lang.String getChangedNodes(int firstSequenceId)
firstSequenceId
- The lowest allowable ID.public NodeInfo getNode(java.lang.String nodeUri)
nodeUri
- The URI of the node to be obtained
public NodeInfo getNodeFrom(java.lang.String nodePath)
nodePath
- The URI of the node to be obtained
public CSSNode getCSSNodes(java.lang.String rootNodeUri, boolean includeChildren)
public CSSNode[] getCSSNodes(java.lang.String[] rootNodeUris, boolean includeChildren)
public ProjectInfo getProject(java.lang.String projectUri)
projectUri
- The URI of the project to be obtained
public ProjectInfo getProjectFromName(java.lang.String projectName)
projectName
- The name of the project to be obtained
public ProjectInfo[] listAllProjects()
public ProjectInfo[] listProjects()
public NodeInfo[] listStructures(java.lang.String projectUri)
projectUri
- URI of the project from which the structure is to be obtained
public void moveBranch(java.lang.String nodeUri, java.lang.String newParentNodeUri)
nodeUri
- The URI of the node to be movednewParentNodeUri
- The URI of the new parentpublic void renameNode(java.lang.String nodeUri, java.lang.String newNodeName)
nodeUri
- The URI of the node to renamenewNodeName
- The new name of the nodepublic void reorderNode(java.lang.String nodeUri, int moveBy)
nodeUri
- The URI of the node to be movedmoveBy
- The number of places to move. Negative numbers indicate upwards
movement and positive numbers indicate downward movement. If
moveby would indicate a position further than one end or the
other, then the node is moved to that end.public void updateProjectProperties(java.lang.String projectUri, java.lang.String state, ProjectProperty[] properties)
projectUri
- The project to be updatedstate
- A ProjectState value indicating the state of the project (New,
WellFormed, or Deleting)properties
- The array of properties for the projectpublic java.lang.String createNode(java.lang.String nodeName, java.lang.String parentNodeUri, java.util.Calendar startDate, java.util.Calendar finishDate)
public void setIterationDates(java.lang.String nodeUri, java.util.Calendar startDate, java.util.Calendar finishDate)
public ProjectProperty getProjectProperty(java.lang.String projectUri, java.lang.String name)
public void setProjectProperty(java.lang.String projectUri, java.lang.String name, java.lang.String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |