Click or drag to resize
RESTService Methods

The RESTService type exposes the following members.

Methods
  NameDescription
Public methodCreateCurrentSiteObject
Creates an object of given type specified by it's parameters.
Public methodCreateGlobalObject
Creates global object of given type.
Public methodCreateObject
Creates an object of given type specified by it's parameters.
Public methodCreateSiteObject
Creates an object of given type specified by it's parameters.
Public methodDeleteCurrentSiteObject
Deletes object of given type with given name from current site.
Public methodDeleteGlobalObject
Deletes global object of given type with given name.
Public methodDeleteObject
Deletes object of given type with specified ID. If ID is not integer, than it's considered object name and object from current site with given name is returned.
Protected methodDeleteObjectInternal
Deletes given objects and returns it as a result.
(Inherited from BaseRESTService.)
Public methodDeleteObjects
Deletes object of given type satisfying given parameters (WHERE/TOPN).
Public methodDeleteSiteObject
Deletes object of given type with given name from specified site.
Protected methodEnsureCorrectFormat(DataSet, String)
Ensures correct serialization format of given DataSet.
(Inherited from BaseRESTService.)
Protected methodEnsureCorrectFormat(DataTable, String)
Ensures correct serialization format of given DataTable.
(Inherited from BaseRESTService.)
Protected methodEnsureSensitiveColumns
Clears sensitive column values if needed.
(Inherited from BaseRESTService.)
Public methodGetAllObjects
Returns all objects of given object type.
Public methodGetBindings
Returns list of binding objects of given type.
Public methodGetBindingsObjectTypes
Returns list of binding object types of given object.
Public methodGetCurrentSiteObject
Returns object of given type with given name from current site.
Public methodGetCurrentSiteObjects
Returns objects of given type from current site.
Protected methodGetExportSettings
Creates ExportObjectSettings object from query string parameters.
(Inherited from BaseRESTService.)
Public methodGetGlobalObject
Returns global object of given type with given name.
Public methodGetGlobalObjects
Returns global objects of given type.
Public methodGetHashForURL(String)
Returns hash string which can be than used for given URL instead of authentication.
Public methodStatic memberGetHashForURL(String, String)
Returns hash string which can be than used for given URL instead of authentication.
Public methodGetChildObjectTypes
Returns list of child object types of given object.
Public methodGetChildren
Returns list of child objects of given type.
Public methodGetMacroResult
Returns the result of the macro expression.
Public methodGetObject
Returns object of given type with specified ID. If ID is not integer, than it's considered object name and object from current site with given name is returned.
Protected methodGetObjectByIDInternal(String, String)
Returns object of given type with specified ID.
(Inherited from BaseRESTService.)
Protected methodGetObjectByIDInternal(String, String, Boolean)
Returns object of given type with specified ID.
(Inherited from BaseRESTService.)
Protected methodGetObjectByNameInternal(String, String, String)
Returns object of given type with specified name from specified site.
(Inherited from BaseRESTService.)
Protected methodGetObjectByNameInternal(String, String, String, Boolean)
Returns object of given type with specified name from specified site.
(Inherited from BaseRESTService.)
Protected methodGetObjectDataSetFeed
Returns SyndicationFeed of object dataset.
(Inherited from BaseRESTService.)
Public methodGetObjects(String)
Returns list of objects of given type.
Protected methodGetObjects(String, ExportObjectSettings)
Returns list of objects of given type.
(Inherited from BaseRESTService.)
Protected methodGetResponse
Returns response for modifying methods - ID and GUID of the modified object.
(Inherited from BaseRESTService.)
Public methodGetServiceDocument
Exposes Service Document (available data).
Public methodGetSiteList
Exposes the list of all sites.
Public methodGetSiteObject
Returns object of given type with given name from specified site.
Public methodGetSiteObjects
Returns objects of given type from specified site.
Protected methodGetStream
Returns proper stream from given object.
(Inherited from BaseRESTService.)
Protected methodGetTotalRecordsTable
Returns table containing one column and one row with total records number.
(Inherited from BaseRESTService.)
Public methodGetTypeInfo
Returns TypeInfo of given object type.
Protected methodCheckQueryStringParameters
Checks WHERE, ORDER BY and COLUMNS query string parameters so non-admin users cannot use malicious code (= SQL injection protection).
(Inherited from BaseRESTService.)
Protected methodIsAuthorizedForObject(String, String, PermissionsEnum)
Returns true if current user is granted with specified permission to process operation on the given objecttype.
(Inherited from BaseRESTService.)
Protected methodIsAuthorizedForObject(BaseInfo, PermissionsEnum, String)
Returns true if current user is granted with specified permission to process operation on the given objecttype.
(Inherited from BaseRESTService.)
Protected methodIsObjectTypeAllowed
Returns true if given object type is allowed to be accessible by the service.
(Inherited from BaseRESTService.)
Protected methodReturnForbiddenStatus
Sets the response status to Forbidden.
(Inherited from BaseRESTService.)
Protected methodReturnNotFoundStatus
Sets the response status to Not found.
(Inherited from BaseRESTService.)
Protected methodReturnSiteNotFoundStatus
Sets the response status to Not found with a comment that the site does not exist.
(Inherited from BaseRESTService.)
Protected methodSetObjectInternal
Deletes given objects and returns it as a result.
(Inherited from BaseRESTService.)
Public methodSetToken
Validates user name and password and sets security token which will protect application against CSRF.
Public methodUpdateCurrentSiteObject
Updates object of given type with given name from current site.
Public methodUpdateGlobalObject
Updates global object of given type with given name.
Public methodUpdateObject
Updates object of given type with specified ID. If ID is not integer, than it's considered object name and object from current site with given name is returned.
Public methodUpdateSiteObject
Updates object of given type with given name from specified site.
Top
See Also