public interface ICategorizationAppSoap
Modifier and Type | Method and Description |
---|---|
void |
addProjectToCategory(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String categoryId)
Adds a given project to a category.
|
CategorySoapDO |
createCategory(java.lang.String sessionId,
java.lang.String parentId,
java.lang.String title,
java.lang.String description)
Creates a category
|
void |
deleteCategory(java.lang.String sessionId,
java.lang.String categoryId)
Deletes an category.
|
CategorySoapList |
getAllCategories(java.lang.String sessionId)
Returns a list of all categories.
|
CategorySoapDO |
getCategoryData(java.lang.String sessionId,
java.lang.String categoryId)
Returns a data object for a given category
|
ProjectSoapList |
getCategoryProjects(java.lang.String sessionId,
java.lang.String categoryId,
boolean includeSubcategories)
Gets list of projects in the specified category and, if requested, subcategories
|
CategorySoapList |
getProjectCategories(java.lang.String sessionId,
java.lang.String projectId)
Returns a list of categories the project belongs to
|
CategorySoapDO |
getRootCategoryData(java.lang.String sessionId)
Returns a data object for the root category
|
CategorySoapList |
getSubcategories(java.lang.String sessionId,
java.lang.String categoryId,
boolean recursive)
Returns a list of subcategories to the specified category.
|
ProjectSoapList |
getUncategorizedProjects(java.lang.String sessionId)
Gets list of projects that have not been categorized
|
boolean |
isCategorizationEnabled(java.lang.String sessionId)
Checks if categorization support is enabled site-wide.
|
void |
moveCategory(java.lang.String sessionId,
java.lang.String categoryId,
java.lang.String dstCategoryId)
Moves a Category including all subcategories under different parent.
|
void |
removeProjectFromCategory(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String categoryId)
Removes a given project from a category.
|
void |
setCategoryData(java.lang.String sessionId,
CategorySoapDO categoryData)
Sets data on a specific category
|
boolean isCategorizationEnabled(java.lang.String sessionId) throws java.rmi.RemoteException
sessionId
- User session id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.java.rmi.RemoteException
CategorySoapDO createCategory(java.lang.String sessionId, java.lang.String parentId, java.lang.String title, java.lang.String description) throws java.rmi.RemoteException
sessionId
- User session id.parentId
- ID of the parent categorytitle
- Title of the categorydescription
- Descriptioncom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- if an existing category already existsjava.rmi.RemoteException
CategorySoapDO getCategoryData(java.lang.String sessionId, java.lang.String categoryId) throws java.rmi.RemoteException
sessionId
- User session id.categoryId
- Category id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.java.rmi.RemoteException
CategorySoapDO getRootCategoryData(java.lang.String sessionId) throws java.rmi.RemoteException
sessionId
- User session id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.java.rmi.RemoteException
void setCategoryData(java.lang.String sessionId, CategorySoapDO categoryData) throws java.rmi.RemoteException
sessionId
- User session id.categoryData
- Detailed data on the category to set.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when invalid data is specified.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when the object version mismatches the application server.java.rmi.RemoteException
void deleteCategory(java.lang.String sessionId, java.lang.String categoryId) throws java.rmi.RemoteException
sessionId
- User session id.categoryId
- Category id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.java.rmi.RemoteException
CategorySoapList getAllCategories(java.lang.String sessionId) throws java.rmi.RemoteException
sessionId
- User session id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.java.rmi.RemoteException
CategorySoapList getSubcategories(java.lang.String sessionId, java.lang.String categoryId, boolean recursive) throws java.rmi.RemoteException
sessionId
- User session id.categoryId
- category whose immediate subcategories should be returnedrecursive
- set to true to get categories recursivelycom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.java.rmi.RemoteException
void moveCategory(java.lang.String sessionId, java.lang.String categoryId, java.lang.String dstCategoryId) throws java.rmi.RemoteException
sessionId
- User session id.categoryId
- Category to movedstCategoryId
- Destination parent categorycom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.java.rmi.RemoteException
void addProjectToCategory(java.lang.String sessionId, java.lang.String projectId, java.lang.String categoryId) throws java.rmi.RemoteException
sessionId
- User session id.projectId
- ID of the project to add to a categorycategoryId
- ID of the category to add the project tocom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.java.rmi.RemoteException
void removeProjectFromCategory(java.lang.String sessionId, java.lang.String projectId, java.lang.String categoryId) throws java.rmi.RemoteException
sessionId
- User session id.projectId
- ID of the project to remove from a categorycategoryId
- ID of the category to remove the project fromcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.java.rmi.RemoteException
CategorySoapList getProjectCategories(java.lang.String sessionId, java.lang.String projectId) throws java.rmi.RemoteException
sessionId
- User session id.projectId
- ID of the projectcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.java.rmi.RemoteException
ProjectSoapList getCategoryProjects(java.lang.String sessionId, java.lang.String categoryId, boolean includeSubcategories) throws java.rmi.RemoteException
sessionId
- User session id.categoryId
- category idincludeSubcategories
- boolean, if true, includes projects in subcategoriescom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.java.rmi.RemoteException
ProjectSoapList getUncategorizedProjects(java.lang.String sessionId) throws java.rmi.RemoteException
sessionId
- User session id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.java.rmi.RemoteException