org.silverpeas.thumbnail.web
Class ThumbnailResource
java.lang.Object
com.silverpeas.web.RESTWebService
org.silverpeas.thumbnail.web.ThumbnailResource
@Service
@RequestScoped
@Authorized
public class ThumbnailResource
- extends RESTWebService
A REST Web resource representing a given thumbnail.
It is a web service that provides an access to a thumbnail referenced by its URL.
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 |
ThumbnailResource
public ThumbnailResource()
getComponentId
public String getComponentId()
- Description copied from class:
RESTWebService
- Gets the identifier of the component instance to which the requested resource belongs to.
- Specified by:
getComponentId
in class RESTWebService
- Returns:
- the identifier of the Silverpeas component instance.
deleteThumbnail
public void deleteThumbnail()
setContributionType
public void setContributionType(String contributionType)
getContributionType
public String getContributionType()
setContributionId
public void setContributionId(String contributionId)
getContributionId
public String getContributionId()
Copyright © 2016 Silverpeas. All Rights Reserved.