Class ServiceNavigation
java.lang.Object
org.silverpeas.core.web.rs.RESTWebService
org.silverpeas.mobile.server.services.AbstractRestWebService
org.silverpeas.mobile.server.services.ServiceNavigation
- 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/navigation")
public class ServiceNavigation
extends AbstractRestWebService
Service de gestion de la navigation dans les espaces et apps.
- Author:
- svuillet
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.silverpeas.mobile.server.services.AbstractRestWebService
MAINSESSIONCONTROLLER_ATTRIBUT_NAME, USER_ATTRIBUT_NAMEFields inherited from class org.silverpeas.core.web.rs.RESTWebService
RESPONSE_HEADER_ARRAYSIZEFields inherited from interface org.silverpeas.core.web.SilverpeasWebResource
BASE_PATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetHomePageData(String spaceId, String zoom) getPersonnalSpaceContent(String userId) protected StringgetSpacesAndApps(String rootSpaceId) protected org.silverpeas.core.admin.user.model.UserDetailisWorkflowApp(String intanceId) protected voidsetUserInSession(org.silverpeas.core.admin.user.model.UserDetail user) voidstoreTokenMessaging(String token) voidvalidateUserAuthorization(org.silverpeas.core.web.rs.UserPrivilegeValidation validation) Methods inherited from class org.silverpeas.mobile.server.services.AbstractRestWebService
authenticate, createStreamingList, getMainSessionController, getSettings, initSilverpeasSession, makeStreamingListMethods inherited from class org.silverpeas.core.web.rs.RESTWebService
createWebResourceUri, fromPage, getBundle, getBundleLocation, getHighestUserRole, getHttpRequest, getHttpServletRequest, getHttpServletResponse, getLanguage, getOrganisationController, getSilverpeasContext, getUri, getUser, getUserPreferences, getUserRoles, identifiedBy, identifiedBy, initContext, initWebResourceUri, isUserDefined, processMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.silverpeas.core.web.rs.WebAuthenticationValidation
validateUserAuthentication
-
Constructor Details
-
ServiceNavigation
public ServiceNavigation()
-
-
Method Details
-
storeTokenMessaging
@PUT @Path("storeTokenMessaging/{token}/") public void storeTokenMessaging(@PathParam("token") String token) -
getUser
@GET @Produces("application/json") @Path("user/{login}/{domainId}/") public DetailUserDTO getUser(@PathParam("login") String login, @PathParam("domainId") String domainId) -
setTabletMode
-
clearAppCache
@GET @Path("clearAppCache") public void clearAppCache() -
setUserInSession
protected void setUserInSession(org.silverpeas.core.admin.user.model.UserDetail user) -
getUserInSession
protected org.silverpeas.core.admin.user.model.UserDetail getUserInSession() -
getHomePageData
@GET @Produces("application/json") @Path("homepage/{spaceId}/{zoom}/") public HomePageDTO getHomePageData(@PathParam("spaceId") String spaceId, @PathParam("zoom") String zoom) -
isWorkflowApp
-
getPersonnalSpaceContent
@GET @Produces("application/json") @Path("personalSpace/{userId}/") public List<ApplicationInstanceDTO> getPersonnalSpaceContent(@PathParam("userId") String userId) -
getSpace
-
getSpacesAndApps
@GET @Produces("application/json") @Path("spacesAndApps/{rootSpaceId}/") public List<SilverpeasObjectDTO> getSpacesAndApps(@PathParam("rootSpaceId") String rootSpaceId) -
getApp
@GET @Produces("application/json") @Path("app/{instanceId}/{contentId}/{contentType}/") public ApplicationInstanceDTO getApp(@PathParam("instanceId") String instanceId, @PathParam("contentId") String contentId, @PathParam("contentType") String contentType) -
getResourceBasePath
- Specified by:
getResourceBasePathin classorg.silverpeas.core.web.rs.RESTWebService
-
getComponentId
-
validateUserAuthorization
public void validateUserAuthorization(org.silverpeas.core.web.rs.UserPrivilegeValidation validation)
-