public class PageAppSoapMockStub extends com.collabnet.ce.soap60.webservices.ClientSoapMockStub implements IPageAppSoap
Constructor and Description |
---|
PageAppSoapMockStub(String soapServerUrl) |
Modifier and Type | Method and Description |
---|---|
String |
addPageImage(String sessionId,
String projectId,
String fileId,
String filename,
String mimetype)
Simulate a call to addPageImage
|
void |
assertAttributesNotEmpty(com.collabnet.ce.soap60.types.SoapNamedValues attributes)
Simulate a call to assertAttributesNotEmpty
|
PageComponentSoapDO |
createComponent(String sessionId,
String pageId,
String compName,
String componentType,
boolean topOfPage,
int visibility,
com.collabnet.ce.soap60.types.SoapNamedValues attributes,
String content)
Simulate a call to createComponent
|
PageComponent2SoapDO |
createComponent2(String sessionId,
String pageId,
String compName,
String componentType,
boolean topOfPage,
int visibility,
com.collabnet.ce.soap60.types.SoapNamedValues attributes,
String content)
Simulate a call to createComponent2
|
PageSoapDO |
createPage(String sessionId,
String projectId,
String parentId,
String title,
boolean visible,
boolean freeform)
Simulate a call to createPage
|
void |
deletePage(String sessionId,
String pageId)
Simulate a call to deletePage
|
void |
deletePageComponent(String sessionId,
String pageComponentId)
Simulate a call to deletePageComponent
|
void |
deletePageImage(String sessionId,
String projectId,
String attachmentId)
Simulate a call to deletePageImage
|
String |
getHTMLSource(com.vasoftware.sf.server.services.page.PageComponentDO htmlPageCompDO,
String loggedInUser)
Simulate a call to getHTMLSource
|
PageComponent2SoapDO |
getPageComponent(String sessionId,
String pageComponentId)
Simulate a call to getPageComponent
|
PageComponentSoapDO[] |
getPageComponents(String sessionId,
String pageId)
Simulate a call to getPageComponents
|
PageSoapDO |
getPageData(String sessionId,
String pageId)
Simulate a call to getPageData
|
String |
getPageImageUrl(String sessionId,
String projectId,
String attachmentId)
Simulate a call to getPageImageUrl
|
PageSoapList |
getPageList(String sessionId,
String projectId)
Simulate a call to getPageList
|
String |
getTextComponentContent(String sessionId,
String pageCompId)
Simulate a call to getTextComponentContent
|
boolean |
hasViewPermission(com.vasoftware.sf.server.types.UserSessionKey sessionKey,
com.vasoftware.sf.server.types.FolderPath folderPath,
com.vasoftware.sf.server.types.PageKey pageKey,
String loggedInUser)
Simulate a call to hasViewPermission
|
AttachmentSoapList |
listPageImages(String sessionId,
String projectId)
Simulate a call to listPageImages
|
void |
movePage(String sessionId,
String pageFolderPath,
String destPath)
Simulate a call to movePage
|
void |
prepareAddPageImage(String sessionId,
String projectId,
String fileId,
String filename,
String mimetype,
Object returnValue)
Prepare a simulated response to addPageImage
|
void |
prepareAssertAttributesNotEmpty(com.collabnet.ce.soap60.types.SoapNamedValues attributes)
Prepare a simulated response to assertAttributesNotEmpty
|
void |
prepareAssertAttributesNotEmpty(com.collabnet.ce.soap60.types.SoapNamedValues attributes,
Exception exception)
Prepare a simulated response to assertAttributesNotEmpty
|
void |
prepareCreateComponent(String sessionId,
String pageId,
String compName,
String componentType,
boolean topOfPage,
int visibility,
com.collabnet.ce.soap60.types.SoapNamedValues attributes,
String content,
Object returnValue)
Prepare a simulated response to createComponent
|
void |
prepareCreateComponent2(String sessionId,
String pageId,
String compName,
String componentType,
boolean topOfPage,
int visibility,
com.collabnet.ce.soap60.types.SoapNamedValues attributes,
String content,
Object returnValue)
Prepare a simulated response to createComponent2
|
void |
prepareCreatePage(String sessionId,
String projectId,
String parentId,
String title,
boolean visible,
boolean freeform,
Object returnValue)
Prepare a simulated response to createPage
|
void |
prepareDeletePage(String sessionId,
String pageId)
Prepare a simulated response to deletePage
|
void |
prepareDeletePage(String sessionId,
String pageId,
Exception exception)
Prepare a simulated response to deletePage
|
void |
prepareDeletePageComponent(String sessionId,
String pageComponentId)
Prepare a simulated response to deletePageComponent
|
void |
prepareDeletePageComponent(String sessionId,
String pageComponentId,
Exception exception)
Prepare a simulated response to deletePageComponent
|
void |
prepareDeletePageImage(String sessionId,
String projectId,
String attachmentId)
Prepare a simulated response to deletePageImage
|
void |
prepareDeletePageImage(String sessionId,
String projectId,
String attachmentId,
Exception exception)
Prepare a simulated response to deletePageImage
|
void |
prepareGetHTMLSource(com.vasoftware.sf.server.services.page.PageComponentDO htmlPageCompDO,
String loggedInUser,
Object returnValue)
Prepare a simulated response to getHTMLSource
|
void |
prepareGetPageComponent(String sessionId,
String pageComponentId,
Object returnValue)
Prepare a simulated response to getPageComponent
|
void |
prepareGetPageComponents(String sessionId,
String pageId,
Object returnValue)
Prepare a simulated response to getPageComponents
|
void |
prepareGetPageData(String sessionId,
String pageId,
Object returnValue)
Prepare a simulated response to getPageData
|
void |
prepareGetPageImageUrl(String sessionId,
String projectId,
String attachmentId,
Object returnValue)
Prepare a simulated response to getPageImageUrl
|
void |
prepareGetPageList(String sessionId,
String projectId,
Object returnValue)
Prepare a simulated response to getPageList
|
void |
prepareGetTextComponentContent(String sessionId,
String pageCompId,
Object returnValue)
Prepare a simulated response to getTextComponentContent
|
void |
prepareHasViewPermission(com.vasoftware.sf.server.types.UserSessionKey sessionKey,
com.vasoftware.sf.server.types.FolderPath folderPath,
com.vasoftware.sf.server.types.PageKey pageKey,
String loggedInUser,
Object returnValue)
Prepare a simulated response to hasViewPermission
|
void |
prepareListPageImages(String sessionId,
String projectId,
Object returnValue)
Prepare a simulated response to listPageImages
|
void |
prepareMovePage(String sessionId,
String pageFolderPath,
String destPath)
Prepare a simulated response to movePage
|
void |
prepareMovePage(String sessionId,
String pageFolderPath,
String destPath,
Exception exception)
Prepare a simulated response to movePage
|
void |
prepareSetComponentDisplayOrder(String sessionId,
String pageId,
String[] componentIds)
Prepare a simulated response to setComponentDisplayOrder
|
void |
prepareSetComponentDisplayOrder(String sessionId,
String pageId,
String[] componentIds,
Exception exception)
Prepare a simulated response to setComponentDisplayOrder
|
void |
prepareSetLifecycleMetricComponentContent(String sessionId,
PageComponent2SoapDO pageComponent,
String content)
Prepare a simulated response to setLifecycleMetricComponentContent
|
void |
prepareSetLifecycleMetricComponentContent(String sessionId,
PageComponent2SoapDO pageComponent,
String content,
Exception exception)
Prepare a simulated response to setLifecycleMetricComponentContent
|
void |
prepareSetPageComponentData(String sessionId,
PageComponentSoapDO pageComponent)
Prepare a simulated response to setPageComponentData
|
void |
prepareSetPageComponentData(String sessionId,
PageComponentSoapDO pageComponent,
Exception exception)
Prepare a simulated response to setPageComponentData
|
void |
prepareSetPageData(String sessionId,
PageSoapDO pageData)
Prepare a simulated response to setPageData
|
void |
prepareSetPageData(String sessionId,
PageSoapDO pageData,
Exception exception)
Prepare a simulated response to setPageData
|
void |
prepareSetPageDisplayOrder(String sessionId,
String folderId,
String[] childrenPageIds,
Object returnValue)
Prepare a simulated response to setPageDisplayOrder
|
void |
prepareSetTextComponentContent(String sessionId,
String pageCompId,
String content)
Prepare a simulated response to setTextComponentContent
|
void |
prepareSetTextComponentContent(String sessionId,
String pageCompId,
String content,
Exception exception)
Prepare a simulated response to setTextComponentContent
|
void |
prepareValidateMetricProperties(com.vasoftware.sf.server.types.UserSessionKey sessionKey,
com.vasoftware.sf.server.types.NamedValues metricProperties,
String loggedInUser)
Prepare a simulated response to validateMetricProperties
|
void |
prepareValidateMetricProperties(com.vasoftware.sf.server.types.UserSessionKey sessionKey,
com.vasoftware.sf.server.types.NamedValues metricProperties,
String loggedInUser,
Exception exception)
Prepare a simulated response to validateMetricProperties
|
void |
setComponentDisplayOrder(String sessionId,
String pageId,
String[] componentIds)
Simulate a call to setComponentDisplayOrder
|
void |
setLifecycleMetricComponentContent(String sessionId,
PageComponent2SoapDO pageComponent,
String content)
Simulate a call to setLifecycleMetricComponentContent
|
void |
setPageComponentData(String sessionId,
PageComponentSoapDO pageComponent)
Simulate a call to setPageComponentData
|
void |
setPageData(String sessionId,
PageSoapDO pageData)
Simulate a call to setPageData
|
boolean |
setPageDisplayOrder(String sessionId,
String folderId,
String[] childrenPageIds)
Simulate a call to setPageDisplayOrder
|
void |
setTextComponentContent(String sessionId,
String pageCompId,
String content)
Simulate a call to setTextComponentContent
|
void |
validateMetricProperties(com.vasoftware.sf.server.types.UserSessionKey sessionKey,
com.vasoftware.sf.server.types.NamedValues metricProperties,
String loggedInUser)
Simulate a call to validateMetricProperties
|
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCall
public PageAppSoapMockStub(String soapServerUrl)
public void prepareGetPageData(String sessionId, String pageId, Object returnValue)
PageAppSoap.getPageData(java.lang.String, java.lang.String)
public PageSoapDO getPageData(String sessionId, String pageId) throws RemoteException
getPageData
in interface IPageAppSoap
sessionId
- User session id.pageId
- the pageId for which data is to be fetched.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified page 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
PageAppSoap.getPageData(java.lang.String, java.lang.String)
public void prepareGetTextComponentContent(String sessionId, String pageCompId, Object returnValue)
PageAppSoap.getTextComponentContent(java.lang.String, java.lang.String)
public String getTextComponentContent(String sessionId, String pageCompId) throws RemoteException
getTextComponentContent
in interface IPageAppSoap
sessionId
- User session id.pageCompId
- page component id for which the content/source is to be fetched.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified page component id is invalid.com.collabnet.ce.soap60.fault.InvalidComponentTypeFault
- if the type of the component is not Textcom.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
PageAppSoap.getTextComponentContent(java.lang.String, java.lang.String)
public void prepareSetTextComponentContent(String sessionId, String pageCompId, String content)
PageAppSoap.setTextComponentContent(java.lang.String, java.lang.String, java.lang.String)
public void prepareSetTextComponentContent(String sessionId, String pageCompId, String content, Exception exception)
PageAppSoap.setTextComponentContent(java.lang.String, java.lang.String, java.lang.String)
public void setTextComponentContent(String sessionId, String pageCompId, String content) throws RemoteException
setTextComponentContent
in interface IPageAppSoap
sessionId
- User session id.pageCompId
- page component id for which the content/source is to be fetched.content
- the new contentcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified page component id is invalid.com.collabnet.ce.soap60.fault.InvalidComponentTypeFault
- if the type of the component is not Textcom.collabnet.ce.soap60.fault.VersionMismatchFault
- when component data is stalecom.collabnet.ce.soap60.fault.IllegalArgumentFault
- for invalid contentcom.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
PageAppSoap.setTextComponentContent(java.lang.String, java.lang.String, java.lang.String)
public void prepareSetLifecycleMetricComponentContent(String sessionId, PageComponent2SoapDO pageComponent, String content)
PageAppSoap.setLifecycleMetricComponentContent(java.lang.String, com.collabnet.ce.soap60.webservices.page.PageComponent2SoapDO, java.lang.String)
public void prepareSetLifecycleMetricComponentContent(String sessionId, PageComponent2SoapDO pageComponent, String content, Exception exception)
PageAppSoap.setLifecycleMetricComponentContent(java.lang.String, com.collabnet.ce.soap60.webservices.page.PageComponent2SoapDO, java.lang.String)
public void setLifecycleMetricComponentContent(String sessionId, PageComponent2SoapDO pageComponent, String content) throws RemoteException
setLifecycleMetricComponentContent
in interface IPageAppSoap
sessionId
- User session id.pageComponent
- the page component to be updated.content
- the html contentcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified page component id is invalid.com.collabnet.ce.soap60.fault.InvalidComponentTypeFault
- if the type of the component is not metricscom.collabnet.ce.soap60.fault.VersionMismatchFault
- when component data is stalecom.collabnet.ce.soap60.fault.IllegalArgumentFault
- for invalid contentcom.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
PageAppSoap.setLifecycleMetricComponentContent(java.lang.String, com.collabnet.ce.soap60.webservices.page.PageComponent2SoapDO, java.lang.String)
public void prepareGetPageList(String sessionId, String projectId, Object returnValue)
PageAppSoap.getPageList(java.lang.String, java.lang.String)
public PageSoapList getPageList(String sessionId, String projectId) throws RemoteException
getPageList
in interface IPageAppSoap
sessionId
- User session id.projectId
- the project for which the pages are to be fetchedcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified page component id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
PageAppSoap.getPageList(java.lang.String, java.lang.String)
public void prepareCreatePage(String sessionId, String projectId, String parentId, String title, boolean visible, boolean freeform, Object returnValue)
PageAppSoap.createPage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
public PageSoapDO createPage(String sessionId, String projectId, String parentId, String title, boolean visible, boolean freeform) throws RemoteException
createPage
in interface IPageAppSoap
sessionId
- User session id.projectId
- Id of the project in which the page is to be createdparentId
- parent folder id under which the page is to be created, if null
then a top level page under the project will be created.title
- title of the pagevisible
- visibility of the pagefreeform
- true if the page link must be hidden in the left navigationcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified page component id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- If a page with the same name already exists in the projectcom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
PageAppSoap.createPage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
public void prepareSetPageData(String sessionId, PageSoapDO pageData)
PageAppSoap.setPageData(java.lang.String, com.collabnet.ce.soap60.webservices.page.PageSoapDO)
public void prepareSetPageData(String sessionId, PageSoapDO pageData, Exception exception)
PageAppSoap.setPageData(java.lang.String, com.collabnet.ce.soap60.webservices.page.PageSoapDO)
public void setPageData(String sessionId, PageSoapDO pageData) throws RemoteException
setPageData
in interface IPageAppSoap
sessionId
- User session id.pageData
- the page to be edited.com.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 page component id is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when page data is stalecom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
PageAppSoap.setPageData(java.lang.String, com.collabnet.ce.soap60.webservices.page.PageSoapDO)
public void prepareGetPageComponents(String sessionId, String pageId, Object returnValue)
PageAppSoap.getPageComponents(java.lang.String, java.lang.String)
public PageComponentSoapDO[] getPageComponents(String sessionId, String pageId) throws RemoteException
getPageComponents
in interface IPageAppSoap
sessionId
- User session id.pageId
- the id of the page from which to get the list of componentscom.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 page component id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
PageAppSoap.getPageComponents(java.lang.String, java.lang.String)
public void prepareDeletePage(String sessionId, String pageId)
PageAppSoap.deletePage(java.lang.String, java.lang.String)
public void prepareDeletePage(String sessionId, String pageId, Exception exception)
PageAppSoap.deletePage(java.lang.String, java.lang.String)
public void deletePage(String sessionId, String pageId) throws RemoteException
deletePage
in interface IPageAppSoap
sessionId
- User session id.pageId
- the page to be deleted.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified page id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.CannotDeleteHomePageFault
- when the user tries to delete the home page.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
PageAppSoap.deletePage(java.lang.String, java.lang.String)
public void prepareDeletePageComponent(String sessionId, String pageComponentId)
PageAppSoap.deletePageComponent(java.lang.String, java.lang.String)
public void prepareDeletePageComponent(String sessionId, String pageComponentId, Exception exception)
PageAppSoap.deletePageComponent(java.lang.String, java.lang.String)
public void deletePageComponent(String sessionId, String pageComponentId) throws RemoteException
deletePageComponent
in interface IPageAppSoap
sessionId
- User session id.pageComponentId
- the id of the page component to be deleted.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified page id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the specified page id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
PageAppSoap.deletePageComponent(java.lang.String, java.lang.String)
public void prepareSetComponentDisplayOrder(String sessionId, String pageId, String[] componentIds)
PageAppSoap.setComponentDisplayOrder(java.lang.String, java.lang.String, java.lang.String[])
public void prepareSetComponentDisplayOrder(String sessionId, String pageId, String[] componentIds, Exception exception)
PageAppSoap.setComponentDisplayOrder(java.lang.String, java.lang.String, java.lang.String[])
public void setComponentDisplayOrder(String sessionId, String pageId, String[] componentIds) throws RemoteException
setComponentDisplayOrder
in interface IPageAppSoap
sessionId
- User session id.pageId
- the id of the page where the components belongcomponentIds
- ids of component in the order which is to be setcom.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified page component 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
PageAppSoap.setComponentDisplayOrder(java.lang.String, java.lang.String, java.lang.String[])
public void prepareCreateComponent(String sessionId, String pageId, String compName, String componentType, boolean topOfPage, int visibility, com.collabnet.ce.soap60.types.SoapNamedValues attributes, String content, Object returnValue)
PageAppSoap.createComponent(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, int, com.collabnet.ce.soap60.types.SoapNamedValues, java.lang.String)
public PageComponentSoapDO createComponent(String sessionId, String pageId, String compName, String componentType, boolean topOfPage, int visibility, com.collabnet.ce.soap60.types.SoapNamedValues attributes, String content) throws RemoteException
createComponent
in interface IPageAppSoap
sessionId
- User session id.pageId
- the id of the page where the component is to be created.compName
- component namecomponentType
- component type. Valid component types are defined as constants in PageComponentSoapDO
.topOfPage
- true if the component is to be created at top of the pagevisibility
- defines the visibility of this component, 1= visible, 0 = hidden.attributes
- component attributes. The values varies with the component: COMPONENT_TYPE_DOCUMENTS
, attribute documentFolder
must be specified.COMPONENT_TYPE_GRAPH
, no attributes are required but cannot be null.COMPONENT_TYPE_TEXT
, no attributes are required but cannot be null.COMPONENT_TYPE_NEWS
, no attributes are required but cannot be null.COMPONENT_TYPE_TRACKER
, attributes trackerSearchesIds
and count
must be specified.COMPONENT_TYPE_WIKI
, attribute wikiTopic
must be specified.COMPONENT_TYPE_SUBPROJECTS
, attribute subprojects
must be specified.PageComponentSoapDO
has constant declarations for all attribute keys to be used for the attributes.content
- text component content, applicable for Text components and Lifecycle metrics components.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified page component id is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- for incorrect parameter valuescom.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- If a component with the same name already exists in the pagecom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
PageAppSoap.createComponent(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, int, com.collabnet.ce.soap60.types.SoapNamedValues, java.lang.String)
public void prepareCreateComponent2(String sessionId, String pageId, String compName, String componentType, boolean topOfPage, int visibility, com.collabnet.ce.soap60.types.SoapNamedValues attributes, String content, Object returnValue)
PageAppSoap.createComponent2(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, int, com.collabnet.ce.soap60.types.SoapNamedValues, java.lang.String)
public PageComponent2SoapDO createComponent2(String sessionId, String pageId, String compName, String componentType, boolean topOfPage, int visibility, com.collabnet.ce.soap60.types.SoapNamedValues attributes, String content) throws RemoteException
createComponent2
in interface IPageAppSoap
sessionId
- User session id.pageId
- the id of the page where the component is to be created.compName
- component namecomponentType
- component type. Valid component types are defined as constants in PageComponent2SoapDO
.topOfPage
- true if the component is to be created at top of the pagevisibility
- defines the visibility of this component, 1= visible, 0 = hidden.attributes
- component attributes. The values varies with the component: COMPONENT_TYPE_DOCUMENTS
, attribute documentFolder
must be specified.COMPONENT_TYPE_GRAPH
, no attributes are required but cannot be null.COMPONENT_TYPE_TEXT
, no attributes are required but cannot be null.COMPONENT_TYPE_LIFECYCLE_METRICS
, no attributes are required but cannot be null.COMPONENT_TYPE_NEWS
, no attributes are required but cannot be null.COMPONENT_TYPE_TRACKER
, attributes trackerSearchesIds
and count
must be specified.COMPONENT_TYPE_WIKI
, attribute wikiTopic
must be specified.COMPONENT_TYPE_SUBPROJECTS
, attribute subprojects
must be specified.PageComponent2SoapDO
has constant declarations for all attribute keys to be used for the attributes.content
- text component content, applicable for Text components and Lifecycle metrics components.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified page component id is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- for incorrect parameter valuescom.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.ObjectAlreadyExistsFault
- If a component with the same name already exists in the pagecom.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
PageAppSoap.createComponent2(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, int, com.collabnet.ce.soap60.types.SoapNamedValues, java.lang.String)
public void prepareSetPageComponentData(String sessionId, PageComponentSoapDO pageComponent)
PageAppSoap.setPageComponentData(java.lang.String, com.collabnet.ce.soap60.webservices.page.PageComponentSoapDO)
public void prepareSetPageComponentData(String sessionId, PageComponentSoapDO pageComponent, Exception exception)
PageAppSoap.setPageComponentData(java.lang.String, com.collabnet.ce.soap60.webservices.page.PageComponentSoapDO)
public void setPageComponentData(String sessionId, PageComponentSoapDO pageComponent) throws RemoteException
setPageComponentData
in interface IPageAppSoap
sessionId
- User session id.pageComponent
- the page component to be updated.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified page id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the specified page id is invalid.com.collabnet.ce.soap60.fault.VersionMismatchFault
- when the component data is stale.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- for incorrect data.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
PageAppSoap.setPageComponentData(java.lang.String, com.collabnet.ce.soap60.webservices.page.PageComponentSoapDO)
public void prepareAssertAttributesNotEmpty(com.collabnet.ce.soap60.types.SoapNamedValues attributes)
PageAppSoap.assertAttributesNotEmpty(com.collabnet.ce.soap60.types.SoapNamedValues)
public void prepareAssertAttributesNotEmpty(com.collabnet.ce.soap60.types.SoapNamedValues attributes, Exception exception)
PageAppSoap.assertAttributesNotEmpty(com.collabnet.ce.soap60.types.SoapNamedValues)
public void assertAttributesNotEmpty(com.collabnet.ce.soap60.types.SoapNamedValues attributes) throws RemoteException
RemoteException
PageAppSoap.assertAttributesNotEmpty(com.collabnet.ce.soap60.types.SoapNamedValues)
public void prepareValidateMetricProperties(com.vasoftware.sf.server.types.UserSessionKey sessionKey, com.vasoftware.sf.server.types.NamedValues metricProperties, String loggedInUser)
PageAppSoap.validateMetricProperties(com.vasoftware.sf.server.types.UserSessionKey, com.vasoftware.sf.server.types.NamedValues, java.lang.String)
public void prepareValidateMetricProperties(com.vasoftware.sf.server.types.UserSessionKey sessionKey, com.vasoftware.sf.server.types.NamedValues metricProperties, String loggedInUser, Exception exception)
PageAppSoap.validateMetricProperties(com.vasoftware.sf.server.types.UserSessionKey, com.vasoftware.sf.server.types.NamedValues, java.lang.String)
public void validateMetricProperties(com.vasoftware.sf.server.types.UserSessionKey sessionKey, com.vasoftware.sf.server.types.NamedValues metricProperties, String loggedInUser) throws RemoteException
RemoteException
PageAppSoap.validateMetricProperties(com.vasoftware.sf.server.types.UserSessionKey, com.vasoftware.sf.server.types.NamedValues, java.lang.String)
public void prepareGetHTMLSource(com.vasoftware.sf.server.services.page.PageComponentDO htmlPageCompDO, String loggedInUser, Object returnValue)
PageAppSoap.getHTMLSource(com.vasoftware.sf.server.services.page.PageComponentDO, java.lang.String)
public String getHTMLSource(com.vasoftware.sf.server.services.page.PageComponentDO htmlPageCompDO, String loggedInUser) throws RemoteException
RemoteException
PageAppSoap.getHTMLSource(com.vasoftware.sf.server.services.page.PageComponentDO, java.lang.String)
public void prepareHasViewPermission(com.vasoftware.sf.server.types.UserSessionKey sessionKey, com.vasoftware.sf.server.types.FolderPath folderPath, com.vasoftware.sf.server.types.PageKey pageKey, String loggedInUser, Object returnValue)
PageAppSoap.hasViewPermission(com.vasoftware.sf.server.types.UserSessionKey, com.vasoftware.sf.server.types.FolderPath, com.vasoftware.sf.server.types.PageKey, java.lang.String)
public boolean hasViewPermission(com.vasoftware.sf.server.types.UserSessionKey sessionKey, com.vasoftware.sf.server.types.FolderPath folderPath, com.vasoftware.sf.server.types.PageKey pageKey, String loggedInUser) throws RemoteException
RemoteException
PageAppSoap.hasViewPermission(com.vasoftware.sf.server.types.UserSessionKey, com.vasoftware.sf.server.types.FolderPath, com.vasoftware.sf.server.types.PageKey, java.lang.String)
public void prepareSetPageDisplayOrder(String sessionId, String folderId, String[] childrenPageIds, Object returnValue)
PageAppSoap.setPageDisplayOrder(java.lang.String, java.lang.String, java.lang.String[])
public boolean setPageDisplayOrder(String sessionId, String folderId, String[] childrenPageIds) throws RemoteException
setPageDisplayOrder
in interface IPageAppSoap
sessionId
- User session id.folderId
- the folder to be used.childrenPageIds
- page keys in the new intended order based on array order must pass in all pages.com.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 page component id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
PageAppSoap.setPageDisplayOrder(java.lang.String, java.lang.String, java.lang.String[])
public void prepareMovePage(String sessionId, String pageFolderPath, String destPath)
PageAppSoap.movePage(java.lang.String, java.lang.String, java.lang.String)
public void prepareMovePage(String sessionId, String pageFolderPath, String destPath, Exception exception)
PageAppSoap.movePage(java.lang.String, java.lang.String, java.lang.String)
public void movePage(String sessionId, String pageFolderPath, String destPath) throws RemoteException
movePage
in interface IPageAppSoap
sessionId
- User session id.pageFolderPath
- The path to the page to movedestPath
- The path of the destination parent foldercom.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 folder component id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
PageAppSoap.movePage(java.lang.String, java.lang.String, java.lang.String)
public void prepareAddPageImage(String sessionId, String projectId, String fileId, String filename, String mimetype, Object returnValue)
PageAppSoap.addPageImage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public String addPageImage(String sessionId, String projectId, String fileId, String filename, String mimetype) throws RemoteException
addPageImage
in interface IPageAppSoap
sessionId
- User session id.projectId
- Project id.fileId
- Image file ID returned by FileStorageApp/SimpleFileStorageApp webservice.filename
- Image file name.mimetype
- Image file type.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
PageAppSoap.addPageImage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public void prepareListPageImages(String sessionId, String projectId, Object returnValue)
PageAppSoap.listPageImages(java.lang.String, java.lang.String)
public AttachmentSoapList listPageImages(String sessionId, String projectId) throws RemoteException
listPageImages
in interface IPageAppSoap
sessionId
- User session id.projectId
- Project id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
PageAppSoap.listPageImages(java.lang.String, java.lang.String)
public void prepareGetPageImageUrl(String sessionId, String projectId, String attachmentId, Object returnValue)
PageAppSoap.getPageImageUrl(java.lang.String, java.lang.String, java.lang.String)
public String getPageImageUrl(String sessionId, String projectId, String attachmentId) throws RemoteException
getPageImageUrl
in interface IPageAppSoap
sessionId
- User session id.projectId
- Project id.attachmentId
- Attachment id of the image.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the sessionId is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when permission is denied for the specified operation.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified object is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system error occurs.RemoteException
PageAppSoap.getPageImageUrl(java.lang.String, java.lang.String, java.lang.String)
public void prepareDeletePageImage(String sessionId, String projectId, String attachmentId)
PageAppSoap.deletePageImage(java.lang.String, java.lang.String, java.lang.String)
public void prepareDeletePageImage(String sessionId, String projectId, String attachmentId, Exception exception)
PageAppSoap.deletePageImage(java.lang.String, java.lang.String, java.lang.String)
public void deletePageImage(String sessionId, String projectId, String attachmentId) throws RemoteException
deletePageImage
in interface IPageAppSoap
sessionId
- User session id.projectId
- Project id.attachmentId
- The attachment 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 error occurs.RemoteException
PageAppSoap.deletePageImage(java.lang.String, java.lang.String, java.lang.String)
public void prepareGetPageComponent(String sessionId, String pageComponentId, Object returnValue)
PageAppSoap.getPageComponent(java.lang.String, java.lang.String)
public PageComponent2SoapDO getPageComponent(String sessionId, String pageComponentId) throws RemoteException
getPageComponent
in interface IPageAppSoap
sessionId
- User session id.pageComponentId
- the id of the page component from which to get the componentcom.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 page component id is invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.RemoteException
PageAppSoap.getPageComponent(java.lang.String, java.lang.String)
Copyright © 2016 CollabNet. All Rights Reserved.