Class 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
    • Constructor Detail

      • ServiceNavigation

        public ServiceNavigation()
    • Method Detail

      • 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

        @POST
        @Produces("application/json")
        @Path("setTabletMode")
        public Boolean 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

        @GET
        @Produces("application/json")
        @Path("isWorkflowApp/{instanceId}/")
        public Boolean isWorkflowApp​(@PathParam("instanceId")
                                     String intanceId)
      • getPersonnalSpaceContent

        @GET
        @Produces("application/json")
        @Path("personalSpace/{userId}/")
        public List<ApplicationInstanceDTO> getPersonnalSpaceContent​(@PathParam("userId")
                                                                     String userId)
      • getSpace

        @GET
        @Produces("application/json")
        @Path("space/{spaceId}/")
        public SpaceDTO getSpace​(@PathParam("spaceId")
                                 String spaceId)
      • 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

        protected String getResourceBasePath()
        Specified by:
        getResourceBasePath in class org.silverpeas.core.web.rs.RESTWebService
      • getComponentId

        public String getComponentId()
      • validateUserAuthorization

        public void validateUserAuthorization​(org.silverpeas.core.web.rs.UserPrivilegeValidation validation)