|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface IFeedback represents a service for handling
feedback related to resources. Feedback is always assigned to a resource.
Permissions are required to give or view feedback for a resource:
| Method Summary | |
boolean |
addFeedback(IResource resource,
java.lang.String Text)
Adds a feedback item to the specified resource. |
boolean |
addFeedback(IResource resource,
java.lang.String Text,
com.sapportals.portal.security.usermanagement.IUMPrincipal receiver)
Adds a feedback item to the specified resource. |
boolean |
delFeedback(IResource resource,
IResource fedbackres)
Deletes a feedback item belonging to a resource |
IResourceList |
getFeedback(IResource resource)
Gets all feedback for a specifed resource sorted by creation date. |
int |
getFeedbackCount(IResource resource)
Returns number of feedback items that exist for a resource. |
java.util.Properties |
getProperties()
Gets all configuration data for this service. |
boolean |
isSecure()
Checks if service is set to be a secure service. |
| Method Detail |
public boolean addFeedback(IResource resource,
java.lang.String Text)
throws WcmException
resource - the resource for which the feedback is givenText - text of the feedback
public boolean addFeedback(IResource resource,
java.lang.String Text,
com.sapportals.portal.security.usermanagement.IUMPrincipal receiver)
throws WcmException
resource - the resource for which the feedback is givenText - text of the feedbackreceiver - recipient of a "New Feedback" notificationIUMPrincipalpublic IResourceList getFeedback(IResource resource)
resource - the resource for which feedback exists
public boolean delFeedback(IResource resource,
IResource fedbackres)
resource - resource for which the feedback existsfedbackres - resource that stores the feedback to be deletedpublic java.util.Properties getProperties()
public int getFeedbackCount(IResource resource)
resource - resource for which feedback existspublic boolean isSecure()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||