org.silverpeas.admin.web
Class SpaceResourceMock

java.lang.Object
  extended by com.silverpeas.web.RESTWebService
      extended by org.silverpeas.admin.web.AbstractAdminResource
          extended by org.silverpeas.admin.web.SpaceResource
              extended by org.silverpeas.admin.web.SpaceResourceMock

@Service
@RequestScoped
@Authenticated
public class SpaceResourceMock
extends SpaceResource

Author:
Yohann Chastagnier

Nested Class Summary
 
Nested classes/interfaces inherited from class com.silverpeas.web.RESTWebService
RESTWebService.WebProcess<RETURN_VALUE>, RESTWebService.WebTreatment<RETURN_VALUE>
 
Field Summary
 
Fields inherited from class com.silverpeas.web.RESTWebService
RESPONSE_HEADER_ARRAYSIZE, REST_WEB_SERVICES_URI_BASE
 
Constructor Summary
SpaceResourceMock()
           
 
Method Summary
protected  AdminPersonalWebDelegate getAdminPersonalDelegate()
           
protected  LookWebDelegate getLookDelegate()
           
protected  boolean isUserAuthorizedToAccessLookContext()
           
 
Methods inherited from class org.silverpeas.admin.web.SpaceResource
discardComponent, get, getAll, getAppearance, getComponentId, getComponents, getContent, getPersonals, getSpaces, getUsersAndGroupsRoles, update, useComponent
 
Methods inherited from class org.silverpeas.admin.web.AbstractAdminResource
asWebEntities, asWebEntities, asWebEntity, asWebEntity, asWebEntity, asWebEntity, asWebPersonalEntities, asWebPersonalEntity, asWebPersonalEntity, asWebPersonalEntity, getAdminServices, loadComponent, loadComponents, loadSpace, loadSpaces, verifyUserAuthorizedToAccessLookContext, verifyUserAuthorizedToAccessSpace
 
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
 

Constructor Detail

SpaceResourceMock

public SpaceResourceMock()
Method Detail

isUserAuthorizedToAccessLookContext

protected boolean isUserAuthorizedToAccessLookContext()
Overrides:
isUserAuthorizedToAccessLookContext in class AbstractAdminResource

getLookDelegate

protected LookWebDelegate getLookDelegate()
Overrides:
getLookDelegate in class AbstractAdminResource

getAdminPersonalDelegate

protected AdminPersonalWebDelegate getAdminPersonalDelegate()
Overrides:
getAdminPersonalDelegate in class AbstractAdminResource


Copyright © 2016 Silverpeas. All Rights Reserved.