|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@RemoteServiceRelativePath(value="rpcservices/CommentRpcService") public interface CommentRpcService
| Method Summary | |
|---|---|
CommentInfo |
addComment(String referenceId,
String referenceTypeKey,
CommentInfo commentInfo)
Adds a comment to a reference. |
List<CommentInfo> |
getComments(String referenceId,
String referenceTypeKey)
Retrieves comment information for a reference. |
List<CommentInfo> |
getCommentsByType(String referenceId,
String referenceTypeKey,
String commentTypeKey)
Retrieves comment information for a reference of a particular type. |
List<CommentTypeInfo> |
getCommentTypesForReferenceType(String referenceTypeKey)
Gets the comment types for a particular reference type. |
String |
getUserRealName(String userId)
user IdentityService to get user name |
Boolean |
isAuthorizedAddComment(String id,
String referenceTypeKey)
Check for authorization to add a comment |
StatusInfo |
removeComment(String commentId,
String referenceId,
String referenceTypeKey)
Removes a comment. |
CommentInfo |
updateComment(String referenceId,
String referenceTypeKey,
CommentInfo commentInfo)
Updates a comment for a reference. |
| Methods inherited from interface org.kuali.student.common.ui.client.service.BaseRpcService |
|---|
getObjectStructure, getObjectTypes, getSearchCriteriaType, getSearchCriteriaTypes, getSearchResultType, getSearchResultTypes, getSearchType, getSearchTypes, getSearchTypesByCriteria, getSearchTypesByResult, search |
| Method Detail |
|---|
CommentInfo addComment(String referenceId,
String referenceTypeKey,
CommentInfo commentInfo)
throws Exception
referenceId - identifier of referencereferenceTypeKey - reference typecommentInfo - detailed information about the comment
Exception
List<CommentInfo> getComments(String referenceId,
String referenceTypeKey)
throws Exception
referenceId - reference identifierreferenceTypeKey - reference type
Exception
List<CommentInfo> getCommentsByType(String referenceId,
String referenceTypeKey,
String commentTypeKey)
throws Exception
referenceId - reference identifierreferenceTypeKey - reference typecommentTypeKey - comment type
Exception
CommentInfo updateComment(String referenceId,
String referenceTypeKey,
CommentInfo commentInfo)
throws Exception
referenceId - identifier of referencereferenceTypeKey - reference typecommentInfo - detailed information about the comment
Exception
StatusInfo removeComment(String commentId,
String referenceId,
String referenceTypeKey)
throws Exception
commentId - id of comment to be removedreferenceId - identifier of referencereferenceTypeKey - reference type
Exception
List<CommentTypeInfo> getCommentTypesForReferenceType(String referenceTypeKey)
throws Exception
referenceTypeKey - reference type
Exception
Boolean isAuthorizedAddComment(String id,
String referenceTypeKey)
id - identifier of the objectreferenceTypeKey - reference type of the objectString getUserRealName(String userId)
userId -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||