Click or drag to resize
AbstractGetSharePointFileService Class
Abstract SharePoint service that serves SharePoint files.
Inheritance Hierarchy
SystemObject
  CMS.Routing.WebActionResultServiceBase
    CMS.Routing.WebGetFileService
      CMS.SharePointAbstractGetSharePointFileService

Namespace: CMS.SharePoint
Assembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 13.0.131
Syntax
C#
public abstract class AbstractGetSharePointFileService : GetFileService

The AbstractGetSharePointFileService type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractGetSharePointFileService
Top
Fields
  NameDescription
Protected fieldStatic memberCACHE_SIZE_PARAMETER
Name of the query parameter for cache size limit setting.
Protected fieldStatic memberCACHE_TIME_PARAMETER
Name of the query parameter for cache minutes setting.
Protected fieldStatic memberIMAGE_HEIGHT_PARAMETER
Name of the query parameter for image height setting.
Protected fieldStatic memberIMAGE_MAXSIDESIZE_PARAMETER
Name of the query parameter for image max side size setting.
Protected fieldStatic memberIMAGE_WIDTH_PARAMETER
Name of the query parameter for image width setting.
Top
Properties
  NameDescription
Protected propertyAllowCache
Returns true if the process allows cache.
Protected propertyAllowClientCache
Returns true if client cache is allowed for the current request.
(Inherited from GetFileService.)
Protected propertyCacheFileSizeLimit
Maximum size of the file that will be cached (bytes).
Protected propertyCacheItemName
Gets the cache item name for currently requested file that will be used when composing the cache key.
Protected propertyCacheMinutes
Number of minutes the file will be cached. Zero means the file won't be cached.
Protected propertyClientCacheMinutes
Client cache minutes.
(Inherited from GetFileService.)
Protected propertyForceDownload
Indicates whether file forced to be saved on client
Protected propertyHeight
Image height.
Protected propertyIsLiveSite
Indicates if live site mode.
(Inherited from GetFileService.)
Protected propertyMaxSideSize
Image maximum side size.
Protected propertyRequestStatusEnum
Gets current request URL rewriting status.
(Inherited from GetFileService.)
Protected propertyRevalidateClientCache
Indicates if client cache should be revalidated.
(Inherited from GetFileService.)
Protected propertyWidth
Image width.
Top
Methods
  NameDescription
Protected methodETagsMatch
Checks if given and requested ETags match and object has current timestamp.
(Inherited from ActionResultServiceBase.)
Protected methodFileNotFound
Responds HTTP code 404 Not Found.
(Inherited from ActionResultServiceBase.)
Protected methodForbidden
Responds HTTP code 403 Forbidden.
(Inherited from ActionResultServiceBase.)
Public methodGetActionResult
Process the request.
(Inherited from ActionResultServiceBase.)
Protected methodGetActionResultInternal
Process get SharePoint file request.
(Overrides ActionResultServiceBaseGetActionResultInternal.)
Protected methodGetIfModifiedSinceRequestHeader
Returns the value of If-Modified-Since HTTP header or if the header not found.
(Inherited from ActionResultServiceBase.)
Protected methodGetSharePointFile
Gets the requested SharePoint file.
Protected methodHandleClientCache
Sets client cache headers. Returns CMSNotModifiedResult when requested file is in client's cache, otherwise.
(Inherited from GetFileService.)
Protected methodHasIfModifiedSinceRequestHeader
Returns when non-empty If-Modified-Since header is present in current request.
(Inherited from ActionResultServiceBase.)
Protected methodLoadFile
Loads requested SharePoint file. Image is resized when needed.
Protected methodLoadFile(CacheSettings)
Loads requested SharePoint file. Loaded file will be cached if it satisfies the cache conditions.
Protected methodSendFile
Sends the given file within response.
Protected methodSetResponseHeaders
Sets response headers.
(Inherited from GetFileService.)
Protected methodUnauthorized
Responds HTTP code 401 Unauthorized.
(Inherited from ActionResultServiceBase.)
Protected methodValidateRequest
Validates the request. Returns true on success.
Top
See Also