Class TagSoapUtil
java.lang.Object
com.collabnet.ce.soap60.webservices.tag.TagSoapUtil
Class used for aggregating convenience methods related to tags.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]convertTagIdsToNames(com.vasoftware.sf.server.types.UserSessionKey sessionKey, com.vasoftware.sf.server.types.ProjectPath projectPath, Set<String> tagIds) Converts the tag ids in the given project to tag namesconvertTagNamesToIds(com.vasoftware.sf.server.types.UserSessionKey sessionId, String projectId, String[] tagNames) Converts the tag names in the given project to tag Ids
-
Constructor Details
-
TagSoapUtil
public TagSoapUtil()
-
-
Method Details
-
convertTagNamesToIds
public static Set<String> convertTagNamesToIds(com.vasoftware.sf.server.types.UserSessionKey sessionId, String projectId, String[] tagNames) throws NoSuchObjectFault, IllegalArgumentFault, PermissionDeniedFault Converts the tag names in the given project to tag Ids- Parameters:
sessionId- User session idprojectId- Project identifiertagNames- The tag names- Returns:
- The tag ids
- Throws:
PermissionDeniedFault- when the current user does not have permission to create tagsNoSuchObjectFault- when the given project id is invalidIllegalArgumentFault- when any of the given tag names is invalid
-
convertTagIdsToNames
public static String[] convertTagIdsToNames(com.vasoftware.sf.server.types.UserSessionKey sessionKey, com.vasoftware.sf.server.types.ProjectPath projectPath, Set<String> tagIds) Converts the tag ids in the given project to tag names- Parameters:
sessionKey- User session idprojectPath- Project pathtagIds- The tag ids- Returns:
- The tag names
-