com.silverpeas.socialnetwork.invitation.web
Class InvitationResource
java.lang.Object
com.silverpeas.web.RESTWebService
com.silverpeas.socialnetwork.invitation.web.InvitationResource
@Service
@Scope(value="request")
@Authenticated
public class InvitationResource
- extends RESTWebService
It represents a resource published in the WEB that represents an invitation emitted by a user to
another one in the Silverpeas platform.
The WEB resource belongs always to the current user in the session underlying at the HTTP
request. Then, it represents an invitation either sent or received by him. With a such policy,
the invitations belonging to another user cannot be fetched by him.
Methods inherited from class com.silverpeas.web.RESTWebService |
getBundle, getBundleLocation, getGreaterUserRole, getHttpRequest, getHttpServletRequest, getHttpServletResponse, getOrganisationController, getUriInfo, getUserDetail, getUserPreferences, getUserRoles, process, validateUserAuthentication, validateUserAuthorization |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvitationResource
public InvitationResource()
getReceivedInvitations
public InvitationEntity[] getReceivedInvitations()
getSentInvitations
public InvitationEntity[] getSentInvitations()
getComponentId
public String getComponentId()
- Description copied from class:
RESTWebService
- Gets the identifier of the component instance to which the requested resource belongs to.
- Specified by:
getComponentId
in class RESTWebService
- Returns:
- the identifier of the Silverpeas component instance.
Copyright © 2016 Silverpeas. All Rights Reserved.