org.silverpeas.attachment.web
Class AbstractSimpleDocumentResource
java.lang.Object
com.silverpeas.web.RESTWebService
org.silverpeas.attachment.web.AbstractSimpleDocumentResource
- Direct Known Subclasses:
- SimpleDocumentResource, SimpleDocumentResourceCreator
public class AbstractSimpleDocumentResource
- extends RESTWebService
Methods inherited from class com.silverpeas.web.RESTWebService |
getBundle, 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 |
AbstractSimpleDocumentResource
public AbstractSimpleDocumentResource()
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.
getBundleLocation
protected String getBundleLocation()
- Description copied from class:
RESTWebService
- Gets the location of the bundle to use.
- Overrides:
getBundleLocation
in class RESTWebService
- Returns:
checkUploadedFile
protected void checkUploadedFile(File fileToCheck)
- Check the file.
- Parameters:
fileToCheck
-
performRuntimeException
protected void performRuntimeException(RuntimeException re)
- Manages the runtime errors.
- Parameters:
re
-
Copyright © 2016 Silverpeas. All Rights Reserved.