public class CategorizationAppSoapMockStub extends com.collabnet.ce.soap60.webservices.ClientSoapMockStub implements ICategorizationAppSoap
Constructor and Description |
---|
CategorizationAppSoapMockStub(String soapServerUrl) |
Modifier and Type | Method and Description |
---|---|
void |
addProjectToCategory(String sessionId,
String projectId,
String categoryId)
Simulate a call to addProjectToCategory
|
CategorySoapDO |
createCategory(String sessionId,
String parentId,
String title,
String description)
Simulate a call to createCategory
|
void |
deleteCategory(String sessionId,
String categoryId)
Simulate a call to deleteCategory
|
CategorySoapList |
getAllCategories(String sessionId)
Simulate a call to getAllCategories
|
CategorySoapDO |
getCategoryData(String sessionId,
String categoryId)
Simulate a call to getCategoryData
|
ProjectSoapList |
getCategoryProjects(String sessionId,
String categoryId,
boolean includeSubcategories)
Simulate a call to getCategoryProjects
|
CategorySoapList |
getProjectCategories(String sessionId,
String projectId)
Simulate a call to getProjectCategories
|
CategorySoapDO |
getRootCategoryData(String sessionId)
Simulate a call to getRootCategoryData
|
CategorySoapList |
getSubcategories(String sessionId,
String categoryId,
boolean recursive)
Simulate a call to getSubcategories
|
ProjectSoapList |
getUncategorizedProjects(String sessionId)
Simulate a call to getUncategorizedProjects
|
boolean |
isCategorizationEnabled(String sessionId)
Simulate a call to isCategorizationEnabled
|
void |
moveCategory(String sessionId,
String categoryId,
String dstCategoryId)
Simulate a call to moveCategory
|
void |
prepareAddProjectToCategory(String sessionId,
String projectId,
String categoryId)
Prepare a simulated response to addProjectToCategory
|
void |
prepareAddProjectToCategory(String sessionId,
String projectId,
String categoryId,
Exception exception)
Prepare a simulated response to addProjectToCategory
|
void |
prepareCreateCategory(String sessionId,
String parentId,
String title,
String description,
Object returnValue)
Prepare a simulated response to createCategory
|
void |
prepareDeleteCategory(String sessionId,
String categoryId)
Prepare a simulated response to deleteCategory
|
void |
prepareDeleteCategory(String sessionId,
String categoryId,
Exception exception)
Prepare a simulated response to deleteCategory
|
void |
prepareGetAllCategories(String sessionId,
Object returnValue)
Prepare a simulated response to getAllCategories
|
void |
prepareGetCategoryData(String sessionId,
String categoryId,
Object returnValue)
Prepare a simulated response to getCategoryData
|
void |
prepareGetCategoryProjects(String sessionId,
String categoryId,
boolean includeSubcategories,
Object returnValue)
Prepare a simulated response to getCategoryProjects
|
void |
prepareGetProjectCategories(String sessionId,
String projectId,
Object returnValue)
Prepare a simulated response to getProjectCategories
|
void |
prepareGetRootCategoryData(String sessionId,
Object returnValue)
Prepare a simulated response to getRootCategoryData
|
void |
prepareGetSubcategories(String sessionId,
String categoryId,
boolean recursive,
Object returnValue)
Prepare a simulated response to getSubcategories
|
void |
prepareGetUncategorizedProjects(String sessionId,
Object returnValue)
Prepare a simulated response to getUncategorizedProjects
|
void |
prepareIsCategorizationEnabled(String sessionId,
Object returnValue)
Prepare a simulated response to isCategorizationEnabled
|
void |
prepareMoveCategory(String sessionId,
String categoryId,
String dstCategoryId)
Prepare a simulated response to moveCategory
|
void |
prepareMoveCategory(String sessionId,
String categoryId,
String dstCategoryId,
Exception exception)
Prepare a simulated response to moveCategory
|
void |
prepareRemoveProjectFromCategory(String sessionId,
String projectId,
String categoryId)
Prepare a simulated response to removeProjectFromCategory
|
void |
prepareRemoveProjectFromCategory(String sessionId,
String projectId,
String categoryId,
Exception exception)
Prepare a simulated response to removeProjectFromCategory
|
void |
prepareSetCategoryData(String sessionId,
CategorySoapDO categoryData)
Prepare a simulated response to setCategoryData
|
void |
prepareSetCategoryData(String sessionId,
CategorySoapDO categoryData,
Exception exception)
Prepare a simulated response to setCategoryData
|
void |
removeProjectFromCategory(String sessionId,
String projectId,
String categoryId)
Simulate a call to removeProjectFromCategory
|
void |
setCategoryData(String sessionId,
CategorySoapDO categoryData)
Simulate a call to setCategoryData
|
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCall
public CategorizationAppSoapMockStub(String soapServerUrl)
public void prepareIsCategorizationEnabled(String sessionId, Object returnValue)
CategorizationAppSoap.isCategorizationEnabled(java.lang.String)
public boolean isCategorizationEnabled(String sessionId) throws RemoteException
isCategorizationEnabled
in interface ICategorizationAppSoap
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.RemoteException
CategorizationAppSoap.isCategorizationEnabled(java.lang.String)
public void prepareCreateCategory(String sessionId, String parentId, String title, String description, Object returnValue)
CategorizationAppSoap.createCategory(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public CategorySoapDO createCategory(String sessionId, String parentId, String title, String description) throws RemoteException
createCategory
in interface ICategorizationAppSoap
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 existsRemoteException
CategorizationAppSoap.createCategory(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void prepareGetCategoryData(String sessionId, String categoryId, Object returnValue)
CategorizationAppSoap.getCategoryData(java.lang.String, java.lang.String)
public CategorySoapDO getCategoryData(String sessionId, String categoryId) throws RemoteException
getCategoryData
in interface ICategorizationAppSoap
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.RemoteException
CategorizationAppSoap.getCategoryData(java.lang.String, java.lang.String)
public void prepareGetRootCategoryData(String sessionId, Object returnValue)
CategorizationAppSoap.getRootCategoryData(java.lang.String)
public CategorySoapDO getRootCategoryData(String sessionId) throws RemoteException
getRootCategoryData
in interface ICategorizationAppSoap
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.RemoteException
CategorizationAppSoap.getRootCategoryData(java.lang.String)
public void prepareSetCategoryData(String sessionId, CategorySoapDO categoryData)
CategorizationAppSoap.setCategoryData(java.lang.String, com.collabnet.ce.soap60.webservices.categorization.CategorySoapDO)
public void prepareSetCategoryData(String sessionId, CategorySoapDO categoryData, Exception exception)
CategorizationAppSoap.setCategoryData(java.lang.String, com.collabnet.ce.soap60.webservices.categorization.CategorySoapDO)
public void setCategoryData(String sessionId, CategorySoapDO categoryData) throws RemoteException
setCategoryData
in interface ICategorizationAppSoap
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.RemoteException
CategorizationAppSoap.setCategoryData(java.lang.String, com.collabnet.ce.soap60.webservices.categorization.CategorySoapDO)
public void prepareDeleteCategory(String sessionId, String categoryId)
CategorizationAppSoap.deleteCategory(java.lang.String, java.lang.String)
public void prepareDeleteCategory(String sessionId, String categoryId, Exception exception)
CategorizationAppSoap.deleteCategory(java.lang.String, java.lang.String)
public void deleteCategory(String sessionId, String categoryId) throws RemoteException
deleteCategory
in interface ICategorizationAppSoap
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.RemoteException
CategorizationAppSoap.deleteCategory(java.lang.String, java.lang.String)
public void prepareGetAllCategories(String sessionId, Object returnValue)
CategorizationAppSoap.getAllCategories(java.lang.String)
public CategorySoapList getAllCategories(String sessionId) throws RemoteException
getAllCategories
in interface ICategorizationAppSoap
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.RemoteException
CategorizationAppSoap.getAllCategories(java.lang.String)
public void prepareGetSubcategories(String sessionId, String categoryId, boolean recursive, Object returnValue)
CategorizationAppSoap.getSubcategories(java.lang.String, java.lang.String, boolean)
public CategorySoapList getSubcategories(String sessionId, String categoryId, boolean recursive) throws RemoteException
getSubcategories
in interface ICategorizationAppSoap
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.RemoteException
CategorizationAppSoap.getSubcategories(java.lang.String, java.lang.String, boolean)
public void prepareMoveCategory(String sessionId, String categoryId, String dstCategoryId)
CategorizationAppSoap.moveCategory(java.lang.String, java.lang.String, java.lang.String)
public void prepareMoveCategory(String sessionId, String categoryId, String dstCategoryId, Exception exception)
CategorizationAppSoap.moveCategory(java.lang.String, java.lang.String, java.lang.String)
public void moveCategory(String sessionId, String categoryId, String dstCategoryId) throws RemoteException
moveCategory
in interface ICategorizationAppSoap
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.RemoteException
CategorizationAppSoap.moveCategory(java.lang.String, java.lang.String, java.lang.String)
public void prepareAddProjectToCategory(String sessionId, String projectId, String categoryId)
CategorizationAppSoap.addProjectToCategory(java.lang.String, java.lang.String, java.lang.String)
public void prepareAddProjectToCategory(String sessionId, String projectId, String categoryId, Exception exception)
CategorizationAppSoap.addProjectToCategory(java.lang.String, java.lang.String, java.lang.String)
public void addProjectToCategory(String sessionId, String projectId, String categoryId) throws RemoteException
addProjectToCategory
in interface ICategorizationAppSoap
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.RemoteException
CategorizationAppSoap.addProjectToCategory(java.lang.String, java.lang.String, java.lang.String)
public void prepareRemoveProjectFromCategory(String sessionId, String projectId, String categoryId)
CategorizationAppSoap.removeProjectFromCategory(java.lang.String, java.lang.String, java.lang.String)
public void prepareRemoveProjectFromCategory(String sessionId, String projectId, String categoryId, Exception exception)
CategorizationAppSoap.removeProjectFromCategory(java.lang.String, java.lang.String, java.lang.String)
public void removeProjectFromCategory(String sessionId, String projectId, String categoryId) throws RemoteException
removeProjectFromCategory
in interface ICategorizationAppSoap
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.RemoteException
CategorizationAppSoap.removeProjectFromCategory(java.lang.String, java.lang.String, java.lang.String)
public void prepareGetProjectCategories(String sessionId, String projectId, Object returnValue)
CategorizationAppSoap.getProjectCategories(java.lang.String, java.lang.String)
public CategorySoapList getProjectCategories(String sessionId, String projectId) throws RemoteException
getProjectCategories
in interface ICategorizationAppSoap
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.RemoteException
CategorizationAppSoap.getProjectCategories(java.lang.String, java.lang.String)
public void prepareGetCategoryProjects(String sessionId, String categoryId, boolean includeSubcategories, Object returnValue)
CategorizationAppSoap.getCategoryProjects(java.lang.String, java.lang.String, boolean)
public ProjectSoapList getCategoryProjects(String sessionId, String categoryId, boolean includeSubcategories) throws RemoteException
getCategoryProjects
in interface ICategorizationAppSoap
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.RemoteException
CategorizationAppSoap.getCategoryProjects(java.lang.String, java.lang.String, boolean)
public void prepareGetUncategorizedProjects(String sessionId, Object returnValue)
CategorizationAppSoap.getUncategorizedProjects(java.lang.String)
public ProjectSoapList getUncategorizedProjects(String sessionId) throws RemoteException
getUncategorizedProjects
in interface ICategorizationAppSoap
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.RemoteException
CategorizationAppSoap.getUncategorizedProjects(java.lang.String)
Copyright © 2016 CollabNet. All Rights Reserved.