Class TagAppSoapStub
java.lang.Object
com.collabnet.ce.soap60.webservices.ClientSoapStub
com.collabnet.ce.soap60.webservices.tag.TagAppSoapStub
- All Implemented Interfaces:
ITagAppSoap
-
Field Summary
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a tag in the specified projectvoidDeletes a taggetObjectTags(String sessionId, String objectId) Gets object tagsGets tag data for the specified tag idgetTagByName(String sessionId, String projectId, String tagName) Gets tag data by name in the specified projectGets the list of tags defined for the given projectsetObjectTags(String sessionId, String objectId, String[] tagIds) Sets object tagsUpdates a tag's name and descriptionMethods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam
-
Constructor Details
-
TagAppSoapStub
-
-
Method Details
-
listTags
Description copied from interface:ITagAppSoapGets the list of tags defined for the given project- Specified by:
listTagsin interfaceITagAppSoap- Parameters:
sessionId- User session idprojectId- Project identifier.- Returns:
- List of tags.
- Throws:
RemoteException
-
getTag
Description copied from interface:ITagAppSoapGets tag data for the specified tag id- Specified by:
getTagin interfaceITagAppSoap- Parameters:
sessionId- User session idtagId- Tag id- Returns:
- Tag data
- Throws:
RemoteException
-
getTagByName
public TagSoapDO getTagByName(String sessionId, String projectId, String tagName) throws RemoteException Description copied from interface:ITagAppSoapGets tag data by name in the specified project- Specified by:
getTagByNamein interfaceITagAppSoap- Parameters:
sessionId- User session idprojectId- Project identifiertagName- Tag name- Returns:
- Tag data
- Throws:
RemoteException
-
createTag
public TagSoapDO createTag(String sessionId, String projectId, String name, String description) throws RemoteException Description copied from interface:ITagAppSoapCreates a tag in the specified project- Specified by:
createTagin interfaceITagAppSoap- Parameters:
sessionId- User session idprojectId- Project identifiername- tag's namedescription- tag's description- Returns:
- New tag's data
- Throws:
RemoteException
-
updateTag
public TagSoapDO updateTag(String sessionId, String tagId, String name, String description) throws RemoteException Description copied from interface:ITagAppSoapUpdates a tag's name and description- Specified by:
updateTagin interfaceITagAppSoap- Parameters:
sessionId- User session idtagId- Tag idname- Tag's new namedescription- Tag's new description- Returns:
- Updated tag data
- Throws:
RemoteException
-
deleteTag
Description copied from interface:ITagAppSoapDeletes a tag- Specified by:
deleteTagin interfaceITagAppSoap- Parameters:
sessionId- User session idtagId- Tag id- Throws:
RemoteException
-
getObjectTags
Description copied from interface:ITagAppSoapGets object tags- Specified by:
getObjectTagsin interfaceITagAppSoap- Parameters:
sessionId- User session idobjectId- Object id (artifact or document)- Returns:
- List of tags for the object
- Throws:
RemoteException
-
setObjectTags
public TagSoapList setObjectTags(String sessionId, String objectId, String[] tagIds) throws RemoteException Description copied from interface:ITagAppSoapSets object tags- Specified by:
setObjectTagsin interfaceITagAppSoap- Parameters:
sessionId- User session idobjectId- Object id (artifact or document)tagIds- Array of tag ids (null or empty will remove the existing tags)- Returns:
- Updated list of tags for the object
- Throws:
RemoteException
-