com.silverpeas.gallery.web
Class GalleryResourceMock

java.lang.Object
  extended by com.silverpeas.web.RESTWebService
      extended by com.silverpeas.gallery.web.AbstractGalleryResource
          extended by com.silverpeas.gallery.web.GalleryResource
              extended by com.silverpeas.gallery.web.GalleryResourceMock

@Service
@RequestScoped
@Authorized
public class GalleryResourceMock
extends GalleryResource

Author:
Yohann Chastagnier

Nested Class Summary
 
Nested classes/interfaces inherited from class com.silverpeas.web.RESTWebService
com.silverpeas.web.RESTWebService.WebProcess<RETURN_VALUE>, com.silverpeas.web.RESTWebService.WebTreatment<RETURN_VALUE>
 
Field Summary
 
Fields inherited from class com.silverpeas.web.RESTWebService
RESPONSE_HEADER_ARRAYSIZE, REST_WEB_SERVICES_URI_BASE
 
Constructor Summary
GalleryResourceMock()
           
 
Method Summary
protected  GalleryBm getMediaService()
           
protected  void verifyUserMediaAccess(Media media)
           
 
Methods inherited from class com.silverpeas.gallery.web.GalleryResource
getAlbum, getPhoto, getPhotoContent, getSound, getSoundContent, getSoundEmbed, getStreaming, getStreamingProviderDataFromStreamingId, getStreamingProviderDataFromUrl, getVideo, getVideoContent, getVideoEmbed, getVideoThumbnail
 
Methods inherited from class com.silverpeas.gallery.web.AbstractGalleryResource
asWebEntity, checkNotFoundStatus, getComponentId, getMediaContent, getMediaEmbed, getMediaEntity, getMediaThumbnail, hasUserMediaAccess, isUserPrivileged, isViewAllPhotoAuthorized, verifyMediaIsInAlbum
 
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

GalleryResourceMock

public GalleryResourceMock()
Method Detail

getMediaService

protected GalleryBm getMediaService()
Overrides:
getMediaService in class AbstractGalleryResource

verifyUserMediaAccess

protected void verifyUserMediaAccess(Media media)
Overrides:
verifyUserMediaAccess in class AbstractGalleryResource


Copyright © 2016 Silverpeas. All Rights Reserved.