public interface INewsAppSoap
Modifier and Type | Method and Description |
---|---|
NewsPostSoapDO |
createNewsPost(String sessionId,
String projectId,
String title,
String body)
Posts a news item to the project.
|
void |
deleteNewsPost(String sessionId,
String postId)
Deletes a news post.
|
void |
editNewsPost(String sessionId,
String postId,
String title,
String body)
Modifies a news post.
|
NewsPostSoapList |
findNews(String sessionId,
String queryString,
String projectId,
boolean searchAttachments)
Finds a list of news posts matching a search string.
|
NewsPostSoapList |
getAllNewsPostList(String sessionId)
Returns news for all user projects.
|
NewsPostSoapList |
getNewsPostList(String sessionId,
String projectId)
Returns project news.
|
NewsPostSoapList getNewsPostList(String sessionId, String projectId) throws 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.RemoteException
NewsPostSoapList getAllNewsPostList(String sessionId) throws 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.RemoteException
NewsPostSoapDO createNewsPost(String sessionId, String projectId, String title, String body) throws 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.RemoteException
void editNewsPost(String sessionId, String postId, String title, String body) throws 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.RemoteException
void deleteNewsPost(String sessionId, String postId) throws 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.RemoteException
NewsPostSoapList findNews(String sessionId, String queryString, String projectId, boolean searchAttachments) throws 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.RemoteException
Copyright © 2016 CollabNet. All Rights Reserved.