|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommentRpcServiceAsync
Method Summary | |
---|---|
void |
addComment(String referenceId,
String referenceTypeKey,
CommentInfo commentInfo,
com.google.gwt.user.client.rpc.AsyncCallback<CommentInfo> callback)
Adds a comment to a reference. |
void |
getComments(String referenceId,
String referenceTypeKey,
com.google.gwt.user.client.rpc.AsyncCallback<List<CommentInfo>> callback)
Retrieves comment information for a reference. |
void |
getCommentsByType(String referenceId,
String referenceTypeKey,
String commentTypeKey,
com.google.gwt.user.client.rpc.AsyncCallback<List<CommentInfo>> callback)
Retrieves comment information for a reference of a particular type. |
void |
getCommentTypesForReferenceType(String referenceTypeKey,
com.google.gwt.user.client.rpc.AsyncCallback<List<CommentTypeInfo>> callback)
Gets the comment types for a particular reference type. |
void |
getUserRealName(String userId,
com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
user IdentityService to get user name |
void |
isAuthorizedAddComment(String id,
String referenceTypeKey,
com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
Check for authorization to add a comment |
void |
removeComment(String commentId,
String referenceId,
String referenceTypeKey,
com.google.gwt.user.client.rpc.AsyncCallback<StatusInfo> callback)
Removes a comment. |
void |
updateComment(String referenceId,
String referenceTypeKey,
CommentInfo commentInfo,
com.google.gwt.user.client.rpc.AsyncCallback<CommentInfo> callback)
Updates a comment for a reference. |
Methods inherited from interface org.kuali.student.common.ui.client.service.BaseRpcServiceAsync |
---|
getObjectStructure, getObjectTypes, getSearchCriteriaType, getSearchCriteriaTypes, getSearchResultType, getSearchResultTypes, getSearchType, getSearchTypes, getSearchTypesByCriteria, getSearchTypesByResult, search |
Method Detail |
---|
void addComment(String referenceId, String referenceTypeKey, CommentInfo commentInfo, com.google.gwt.user.client.rpc.AsyncCallback<CommentInfo> callback) throws Exception
referenceId
- identifier of referencereferenceTypeKey
- reference typecommentInfo
- detailed information about the commentdetailed
- information about the comment
Exception
void getComments(String referenceId, String referenceTypeKey, com.google.gwt.user.client.rpc.AsyncCallback<List<CommentInfo>> callback) throws Exception
referenceId
- reference identifierreferenceTypeKey
- reference typelist
- of comment information
Exception
void getCommentsByType(String referenceId, String referenceTypeKey, String commentTypeKey, com.google.gwt.user.client.rpc.AsyncCallback<List<CommentInfo>> callback) throws Exception
referenceId
- reference identifierreferenceTypeKey
- reference typecommentTypeKey
- comment typelist
- of comment information
Exception
void updateComment(String referenceId, String referenceTypeKey, CommentInfo commentInfo, com.google.gwt.user.client.rpc.AsyncCallback<CommentInfo> callback) throws Exception
referenceId
- identifier of referencereferenceTypeKey
- reference typecommentInfo
- detailed information about the commentdetailed
- information about the comment
Exception
void removeComment(String commentId, String referenceId, String referenceTypeKey, com.google.gwt.user.client.rpc.AsyncCallback<StatusInfo> callback) throws Exception
commentId
- id of comment to be removedreferenceId
- identifier of referencereferenceTypeKey
- reference type
Exception
void getCommentTypesForReferenceType(String referenceTypeKey, com.google.gwt.user.client.rpc.AsyncCallback<List<CommentTypeInfo>> callback) throws Exception
referenceTypeKey
- reference type
Exception
void isAuthorizedAddComment(String id, String referenceTypeKey, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
id
- identifier of the object related to the reference type keyreferenceTypeKey
- reference type key of the object the comment is being set onvoid getUserRealName(String userId, com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
userId
- callback
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |