public interface INewsAppSoap
Modifier and Type | Method and Description |
---|---|
NewsPostSoapDO |
createNewsPost(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String title,
java.lang.String body)
Posts a news item to the project.
|
void |
deleteNewsPost(java.lang.String sessionId,
java.lang.String postId)
Deletes a news post.
|
void |
editNewsPost(java.lang.String sessionId,
java.lang.String postId,
java.lang.String title,
java.lang.String body)
Modifies a news post.
|
NewsPostSoapList |
findNews(java.lang.String sessionId,
java.lang.String queryString,
java.lang.String projectId,
boolean searchAttachments)
Finds a list of news posts matching a search string.
|
NewsPostSoapList |
getAllNewsPostList(java.lang.String sessionId)
Returns news for all user projects.
|
NewsPostSoapList |
getNewsPostList(java.lang.String sessionId,
java.lang.String projectId)
Returns project news.
|
NewsPostSoapList getNewsPostList(java.lang.String sessionId, java.lang.String projectId) throws java.rmi.RemoteException
sessionId
- User session id.projectId
- Project id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project 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
NewsPostSoapList getAllNewsPostList(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 project 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
NewsPostSoapDO createNewsPost(java.lang.String sessionId, java.lang.String projectId, java.lang.String title, java.lang.String body) throws java.rmi.RemoteException
sessionId
- User session id.projectId
- Project id.title
- News post title.body
- News post body.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more parameters are 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
void editNewsPost(java.lang.String sessionId, java.lang.String postId, java.lang.String title, java.lang.String body) throws java.rmi.RemoteException
sessionId
- User session id.postId
- Post id.title
- News post title.body
- News post body.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified post id is invalid.com.collabnet.ce.soap60.fault.IllegalArgumentFault
- when one or more parameters are 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
void deleteNewsPost(java.lang.String sessionId, java.lang.String postId) throws java.rmi.RemoteException
sessionId
- User session id.postId
- News post id.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project 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
NewsPostSoapList findNews(java.lang.String sessionId, java.lang.String queryString, java.lang.String projectId, boolean searchAttachments) throws java.rmi.RemoteException
sessionId
- User session id.queryString
- Query string.projectId
- The project in which to find news posts. (if null, search all projects)searchAttachments
- Whether to search attachments.com.collabnet.ce.soap60.fault.InvalidSessionFault
- when the specified session id is invalid.com.collabnet.ce.soap60.fault.NoSuchObjectFault
- when the specified project id is invalid.com.collabnet.ce.soap60.fault.PermissionDeniedFault
- when the user has insufficient privileges.com.collabnet.ce.soap60.fault.SearchQuerySyntaxFault
- when the specified search query string is syntactically invalid.com.collabnet.ce.soap60.fault.SystemFault
- when an unexpected system level error occurs.java.rmi.RemoteException