ObjectTranslationRESTService MembersKentico 8.0 API Reference
The ObjectTranslationRESTService type exposes the following members.
Constructors

  NameDescription
Public methodObjectTranslationRESTService
Back to Top
Methods

  NameDescription
Public methodCreateCurrentSiteObject
Creates an object of given type specified by it's parameters.
(Inherited from RESTService.)
Public methodCreateGlobalObject
Creates global object of given type.
(Inherited from RESTService.)
Public methodCreateObject
Creates an object of given type specified by it's parameters.
(Inherited from RESTService.)
Public methodCreateSiteObject
Creates an object of given type specified by it's parameters.
(Inherited from RESTService.)
Public methodDeleteCurrentSiteObject
Deletes object of given type with given name from current site.
(Inherited from RESTService.)
Public methodDeleteGlobalObject
Deletes global object of given type with given name.
(Inherited from RESTService.)
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.
(Inherited from RESTService.)
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).
(Inherited from RESTService.)
Public methodDeleteSiteObject
Deletes object of given type with given name from specified site.
(Inherited from RESTService.)
Protected methodEnsureCorrectFormat(DataSet, String)
Ensures corrent serialization format of given DataSet.
(Inherited from BaseRESTService.)
Protected methodEnsureCorrectFormat(DataTable, String)
Ensures corrent serialization format of given DataTable.
(Inherited from BaseRESTService.)
Protected methodEnsureSensitiveColumns
Cleares sensitive column values if needed.
(Inherited from BaseRESTService.)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetAllObjects
Returns all objects of given object type.
(Inherited from RESTService.)
Public methodGetBindings
Returns list of binding objects of given type.
(Inherited from RESTService.)
Public methodGetBindingsObjectTypes
Returns list of binding object types of given object.
(Inherited from RESTService.)
Public methodGetCurrentSiteObject
Returns object of given type with given name from current site.
(Inherited from RESTService.)
Public methodGetCurrentSiteObjects
Returns objects of given type from current site.
(Inherited from RESTService.)
Protected methodGetExportSettings
Creates ExportObjectSettings object from query string parameters.
(Overrides BaseRESTService GetExportSettings(String).)
Public methodGetGlobalObject
Returns global object of given type with given name.
(Inherited from RESTService.)
Public methodGetGlobalObjects
Returns global objects of given type.
(Inherited from RESTService.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetHashForURL(String)
Returns hash string which can be than used for given URL instead of authetication.
(Inherited from RESTService.)
Public methodGetChildObjectTypes
Returns list of child object types of given object.
(Inherited from RESTService.)
Public methodGetChildren
Returns list of child objects of given type.
(Inherited from RESTService.)
Public methodGetMacroResult
Returns the result of the macro expression.
(Inherited from RESTService.)
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.
(Inherited from RESTService.)
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.
(Inherited from RESTService.)
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).
(Inherited from RESTService.)
Public methodGetSiteList
Exposes the list of all sites.
(Inherited from RESTService.)
Public methodGetSiteObject
Returns object of given type with given name from specified site.
(Inherited from RESTService.)
Public methodGetSiteObjects
Returns objects of given type from specified site.
(Inherited from RESTService.)
Protected methodGetSiteWhereCondition
Returns WHERE condition for site and combines it with original WHERE condition.
(Inherited from BaseRESTService.)
Protected methodGetStream
Returns proper stream from given object.
(Overrides BaseRESTService GetStream(Object, String, ExportObjectSettings).)
Protected methodGetTotalRecordsTable
Returns table containing one olumn and one row with total records number.
(Inherited from BaseRESTService.)
Public methodStatic memberGetTranslation
Returns XLIFF translation of the given object.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetTypeInfo
Returns TypeInfo of given object type.
(Inherited from RESTService.)
Protected methodCheckQueryStringParameters
Checks WHERE, ORDER BY and COLUMNS query string parameters so non-admin users cannot use malitious code (= SQL injection protection).
(Inherited from BaseRESTService.)
Protected methodIsAuthorizedForObject(BaseInfo, PermissionsEnum)
Returns true if current user is granted with specified permission to process operation on the given objecttype.
(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 methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodReturnForbiddenStatus
Sets the response status to Forbidden.
(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.
(Inherited from RESTService.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodUpdateCurrentSiteObject
Updates object of given type with given name from current site.
(Inherited from RESTService.)
Public methodUpdateGlobalObject
Updates global object of given type with given name.
(Inherited from RESTService.)
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.
(Inherited from RESTService.)
Public methodUpdateSiteObject
Updates object of given type with given name from specified site.
(Inherited from RESTService.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Public propertyAllowedObjectTypes
Gets the list of allowed object types separated by semicolon. Empty string means all object types are allowed.
(Inherited from BaseRESTService.)
Public propertyAllowedSensitiveColumns
If true, global administrators will be able to work with sensitive columns (such as UserPassword) via REST service. Other users than global administrators cannot work with these columns regardless this setting value.
(Inherited from BaseRESTService.)
Protected propertyCurrentSite
Gets current site object recieved from the domain.
(Inherited from BaseRESTService.)
Protected propertyCurrentSiteName
Gets current site name (retrieved from domain accessed).
(Inherited from BaseRESTService.)
Protected propertyCurrentUser
Gets current user object recieved from auth cookie.
(Inherited from BaseRESTService.)
Protected propertyCurrentUserName
Gets current user name recieved from auth cookie.
(Inherited from BaseRESTService.)
Public propertyDefaultEncoding
Returns default Encoding from settings.
(Inherited from BaseRESTService.)
Back to Top
See Also