Class ServiceTermsOfService
- java.lang.Object
-
- org.silverpeas.core.web.rs.RESTWebService
-
- org.silverpeas.mobile.server.services.AbstractRestWebService
-
- org.silverpeas.mobile.server.services.ServiceTermsOfService
-
- All Implemented Interfaces:
org.silverpeas.core.web.rs.ProtectedWebResource,org.silverpeas.core.web.rs.WebAuthenticationValidation,org.silverpeas.core.web.rs.WebAuthorizationValidation,org.silverpeas.core.web.SilverpeasWebResource
@WebService @Authorized @Path("mobile/termsOfService") public class ServiceTermsOfService extends AbstractRestWebService
-
-
Field Summary
-
Fields inherited from class org.silverpeas.mobile.server.services.AbstractRestWebService
MAINSESSIONCONTROLLER_ATTRIBUT_NAME
-
-
Constructor Summary
Constructors Constructor Description ServiceTermsOfService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComponentId()StringgetContent()protected StringgetResourceBasePath()BooleanisShow()voidvalidateUserAuthorization(org.silverpeas.core.web.rs.UserPrivilegeValidation validation)-
Methods inherited from class org.silverpeas.mobile.server.services.AbstractRestWebService
createStreamingList, getMainSessionController, getSettings, initSilverpeasSession, makeStreamingList, setMainsessioncontroller
-
Methods inherited from class org.silverpeas.core.web.rs.RESTWebService
createWebResourceUri, fromPage, getBundle, getBundleLocation, getHighestUserRole, getHttpRequest, getHttpServletRequest, getHttpServletResponse, getOrganisationController, getSilverpeasContext, getUri, getUser, getUserPreferences, getUserRoles, identifiedBy, identifiedBy, initContext, initWebResourceUri, isUserDefined, process
-
-
-
-
Method Detail
-
isShow
@GET @Produces("application/json") @Path("show") public Boolean isShow()
-
getContent
@GET @Produces("text/plain") @Path("content") public String getContent()
-
getResourceBasePath
protected String getResourceBasePath()
- Specified by:
getResourceBasePathin classorg.silverpeas.core.web.rs.RESTWebService
-
getComponentId
public String getComponentId()
-
validateUserAuthorization
public void validateUserAuthorization(org.silverpeas.core.web.rs.UserPrivilegeValidation validation)
-
-