UNPKG

com.phloxui

Version:

PhloxUI Ng2+ Framework

736 lines 73.7 kB
import { Response, Headers } from '@angular/http'; import { ConnectionManager } from './ConnectionManager.service'; export declare class ClassesDataService { private connectionMgr; protected basePath: string; defaultHeaders: Headers; constructor(connectionMgr: ConnectionManager); private addingSessionIdHeader(headers); /** * Configure the persisent class metadata. * * @param body The metadata object to configure. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ configure(body: any, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Create a new persistent object (insert new row). * * @param body The object to be created. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ create(body: any, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Create a new persistent object (insert new row) with the specified \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param body The object to be created. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ createLang(lang: string, body: any, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Create a new persistent object (insert new row) with the specified \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param body The object to be created. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ createUUIDLang(lang: string, body: any, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Delete the object (row) from the given \&quot;uuid\&quot;. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param permanent To permanent delete (destroy) the object or not. The destroyed objects will not be able to be recycled. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ delete(uuid: string, classname: string, permanent?: boolean, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Delete the object (row) from the given \&quot;uuid\&quot; and \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param permanent To permanent delete (destroy) the object or not. The destroyed objects will not be able to be recycled. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ deleteLang(lang: string, uuid: string, classname: string, permanent?: boolean, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Delete (destroy) the specified \&quot;version\&quot; copy of the given object \&quot;uuid\&quot; and \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be deleted (ISO-639) * @param version The object \&quot;version\&quot; number to be deleted. * @param permanent You must explicitly set this header to \&quot;true\&quot; to perform this operation. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ destroyLangVersion(lang: string, version: number, permanent: boolean, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Delete (destroy) the specified \&quot;version\&quot; of the given object \&quot;uuid\&quot;. * * @param version The object \&quot;version\&quot; number to be deleted. * @param permanent You must explicitly set this header to \&quot;true\&quot; to perform this operation. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ destroyVersion(version: number, permanent: boolean, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Find the object (row) from the given \&quot;uuid\&quot;. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param deleted To query the deleted [true], in-used [false] or both [both|all] object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ find(uuid: string, classname: string, deleted?: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Find the object (row) from the given \&quot;uuid\&quot; and \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param deleted To query the deleted [true], in-used [false] or both [both|all] object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ findLang(lang: string, uuid: string, classname: string, deleted?: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Find the specified \&quot;version\&quot; copy of the given object \&quot;uuid\&quot; and \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to find (ISO-639) * @param version The object \&quot;version\&quot; number to find. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ findLangVersion(lang: string, version: number, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Find the specified \&quot;version\&quot; copy of the given object \&quot;uuid\&quot;. * * @param version The object \&quot;version\&quot; number to find. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ findVersion(version: number, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Get current object&#39;s available actions. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param deleted * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getActions(uuid: string, classname: string, deleted?: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Get persistent class&#39;s info. * * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getClassInfo(classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Get current object&#39;s available actions in the specified \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param deleted To query the deleted [true], in-used [false] or both [both|all] object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getLangActions(lang: string, uuid: string, classname: string, deleted?: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Get the current object&#39;s state in the specified \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param deleted To query the deleted [true], in-used [false] or both [both|all] object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getLangState(lang: string, uuid: string, classname: string, deleted?: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * List all object&#39;s versions from the given \&quot;uuid\&quot; and the specified \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param startIndex The query cursor start index (or the number of first rows to be skipped). * @param endIndex The query cursor end index (the max rows to be returned will be [\&quot;endIndex\&quot; - \&quot;startIndex\&quot;]). * @param sortDescending To sort the result list using field \&quot;_version\&quot; in descending order (newest first). * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getLangVersions(lang: string, uuid: string, classname: string, startIndex?: number, endIndex?: number, sortDescending?: boolean, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Get persistent class&#39;s metadata. * * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getMetadata(classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Get the object&#39;s json schema. * * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getSchemaInfo(classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Get the current object&#39;s state. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param deleted To query the deleted [true], in-used [false] or both [both|all] object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getState(uuid: string, classname: string, deleted?: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * List all object&#39;s versions from the given \&quot;uuid\&quot;. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param startIndex The query cursor start index (or the number of first rows to be skipped). * @param endIndex The query cursor end index (the max rows to be returned will be [\&quot;endIndex\&quot; - \&quot;startIndex\&quot;]). * @param sortDescending To sort the result list using field \&quot;_version\&quot; in descending order (newest first). * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getVersions(uuid: string, classname: string, startIndex?: number, endIndex?: number, sortDescending?: boolean, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * List all available persistent classes. * */ listClassNames(extraHttpRequestParams?: any): Promise<any>; /** * Make a stateless object to be stateful with the given \&quot;uuid\&quot; and \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ makeLangStateful(lang: string, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Make a stateless object to be stateful with the given \&quot;uuid\&quot; and \&quot;lang\&quot; starting at the specified \&quot;activityId\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param activityId The \&quot;activityId\&quot; of object&#39;s starting state. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ makeLangStatefulActivity(lang: string, activityId: string, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Make a stateful object to be stateless with the given \&quot;uuid\&quot; and \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ makeLangStateless(lang: string, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Make a stateless object to be stateful with the given \&quot;uuid\&quot;. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ makeStateful(uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Make a stateless object to be stateful with the given \&quot;uuid\&quot; starting at the specified \&quot;activityId\&quot;. * * @param activityId The \&quot;activityId\&quot; of object&#39;s starting state. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ makeStateful1(activityId: string, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Make a stateful object to be stateless with the given \&quot;uuid\&quot;. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ makeStateless(uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Partial update the object (row) on the given \&quot;uuid\&quot;. @PATCH operation will only update the fields specified in request data. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param body The object fields to be updated. All object fields not presented in this request data will be leaved to be the same. * @param incrementVersion Increment the object \&quot;_version\&quot; (if it is version-controlled). * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ patchUpdate(uuid: string, classname: string, body?: any, incrementVersion?: boolean, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Partial update the object (row) on the given \&quot;uuid\&quot; and \&quot;lang\&quot;. @PATCH operation will only update the fields specified in request data. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param body The object fields to be updated. All object fields not presented in this request data will be leaved to be the same. * @param incrementVersion Increment the object \&quot;_version\&quot; (if it is version-controlled). * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ patchUpdateLang(lang: string, uuid: string, classname: string, body?: any, incrementVersion?: boolean, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Partial update the specified \&quot;version\&quot; copy of the given object \&quot;uuid\&quot; and \&quot;lang\&quot;. @PATCH operation will only update the fields specified in request data. * * @param lang The object&#39;s lang code to be updated (ISO-639) * @param version The object \&quot;version\&quot; number to be updated. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param body The object fields to be updated. All object fields not presented in this request data will be leaved to be the same. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ patchUpdateLangVersion(lang: string, version: number, uuid: string, classname: string, body?: any, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Partial update the specified \&quot;version\&quot; copy of the given object \&quot;uuid\&quot;. @PATCH operation will only update the fields specified in request data. * * @param version The object \&quot;version\&quot; number to be updated. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param body The object fields to be updated. All object fields not presented in this request data will be leaved to be the same. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ patchUpdateVersion(version: number, uuid: string, classname: string, body?: any, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Promote the specified \&quot;version\&quot; copy of the given object \&quot;uuid\&quot; and \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param version The object \&quot;version\&quot; number to be promoted. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ promoteLangVersion(lang: string, version: number, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Promote the specified \&quot;version\&quot; copy of the given object \&quot;uuid\&quot;. * * @param version The object \&quot;version\&quot; number to be promoted. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ promoteVersion(version: number, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Query all persistent object without filter. * * @param classname The persistent class name. * @param startIndex The query cursor start index (or the number of first rows to be skipped). * @param count The number of max rows will be returned in response result [max&#x3D;500]. * @param defaultLangOnly To query the objects in default lang [_lang&#x3D;null] only or not. * @param deleted To query the deleted [true], in-used [false] or both [both|all] objects. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ query(classname: string, startIndex?: number, count?: number, defaultLangOnly?: boolean, deleted?: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Count all objects (rows) of this class. This api will count default lang [_lang&#x3D;null] and in-used [_deleted&#x3D;false] objects only. * * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ queryCount(classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Count the objects (rows) matched by the specified query. * * @param classname The persistent class name. * @param body The query filter object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ queryCountWithFilter(classname: string, body?: any, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Delete persistent objects matched by the specified query. * * @param classname The persistent class name. * @param startIndex The query cursor start index (or the number of first rows to be skipped). * @param count The number of max rows will be returned in response result [max&#x3D;500]. * @param defaultLangOnly To query the objects in default lang [_lang&#x3D;null] only or not. * @param deleted To query the deleted [true], in-used [false] or both [both|all] objects. * @param permanent To permanent delete (destroy) the objects or not. The destroyed objects will not be able to be recycled. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ queryDelete(classname: string, startIndex?: number, count?: number, defaultLangOnly?: boolean, deleted?: string, permanent?: boolean, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Delete persistent objects matched by the specified query. * * @param classname The persistent class name. * @param permanent To permanent delete (destroy) the objects or not. The destroyed objects will not be able to be recycled. * @param body The query filter object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ queryDeleteWithFilter(classname: string, permanent?: boolean, body?: any, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Query all persistent object without filter on the specified \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param classname The persistent class name. * @param startIndex The query cursor start index (or the number of first rows to be skipped). * @param count The number of max rows will be returned in response result [max&#x3D;500]. * @param deleted To query the deleted [true], in-used [false] or both [both|all] objects. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ queryLang(lang: string, classname: string, startIndex?: number, count?: number, deleted?: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Count all objects (rows) of this class in the specified \&quot;lang\&quot;. This api will count in-used [_deleted&#x3D;false] objects only. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ queryLangCount(lang: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Count the objects (rows) matched by the specified query in the given \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param classname The persistent class name. * @param body The query filter object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ queryLangCountWithFilter(lang: string, classname: string, body?: any, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Delete persistent objects matched by the specified query. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param classname The persistent class name. * @param startIndex The query cursor start index (or the number of first rows to be skipped). * @param count The number of max rows will be returned in response result [max&#x3D;500]. * @param deleted To query the deleted [true], in-used [false] or both [both|all] objects. * @param permanent To permanent delete (destroy) the objects or not. The destroyed objects will not be able to be recycled. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ queryLangDelete(lang: string, classname: string, startIndex?: number, count?: number, deleted?: string, permanent?: boolean, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Delete persistent objects matched by the specified query. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param classname The persistent class name. * @param permanent To permanent delete (destroy) the objects or not. The destroyed objects will not be able to be recycled. * @param body The query filter object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ queryLangDeleteWithFilter(lang: string, classname: string, permanent?: boolean, body?: any, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Query persistent objects with filter on the specified \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param classname The persistent class name. * @param body The query filter object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ queryLangWithFilter(lang: string, classname: string, body?: any, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Query persistent objects with filter. * * @param classname The persistent class name. * @param body The query filter object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ queryWithFilter(classname: string, body?: any, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Recycle the deleted object from the given \&quot;uuid\&quot;. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ recycle(uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Recycle the deleted object from the given \&quot;uuid\&quot; and \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ recycleLang(lang: string, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Refresh object&#39;s state according to process engine. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ refresh(uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Refresh object&#39;s state according to process engine in the specified \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ refreshLang(lang: string, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Trigger the object state change with the given \&quot;action\&quot;. * * @param action The object&#39;s \&quot;action\&quot; to be triggerred. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ trigger(action: string, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Trigger the object state change with the given \&quot;action\&quot; in the specified \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param action The object&#39;s \&quot;action\&quot; to be triggerred. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ triggerLang(lang: string, action: string, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Update the object (row) on the given \&quot;uuid\&quot;. @PUT method will replace all field values in persistent object. If you want to perform partial-update, please see @PATCH operation for more info. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param body The object fields to be updated. All object fields not presented in this request data will be set to \&quot;null\&quot; value. * @param incrementVersion Increment the object \&quot;_version\&quot; (if it is version-controlled). * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ update(uuid: string, classname: string, body?: any, incrementVersion?: boolean, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Update the object (row) on the given \&quot;uuid\&quot; and \&quot;lang\&quot;. @PUT method will replace all field values in persistent object. If you want to perform partial-update, please see @PATCH operation for more info. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param body The object fields to be updated. All object fields not presented in this request data will be set to \&quot;null\&quot; value. * @param incrementVersion Increment the object \&quot;_version\&quot; (if it is version-controlled). * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ updateLang(lang: string, uuid: string, classname: string, body?: any, incrementVersion?: boolean, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Update the specified \&quot;version\&quot; copy of the given object \&quot;uuid\&quot; and \&quot;lang\&quot;. @PUT method will replace all field values in persistent object. If you want to perform partial-update, please see @PATCH operation for more info. * * @param lang The object&#39;s lang code to be updated (ISO-639) * @param version The object \&quot;version\&quot; number to be updated. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param body The object fields to be updated. All object fields not presented in this request data will be set to \&quot;null\&quot; value. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ updateLangVersion(lang: string, version: number, uuid: string, classname: string, body?: any, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Update the specified \&quot;version\&quot; copy of the given object \&quot;uuid\&quot;. @PUT method will replace all field values in persistent object. If you want to perform partial-update, please see @PATCH operation for more info * * @param version The object \&quot;version\&quot; number to be updated. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param body The object fields to be updated. All object fields not presented in this request data will be set to \&quot;null\&quot; value. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ updateVersion(version: number, uuid: string, classname: string, body?: any, langPreference?: string, extraHttpRequestParams?: any): Promise<any>; /** * Configure the persisent class metadata. * * @param body The metadata object to configure. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ configureWithHttpInfo(body: any, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Create a new persistent object (insert new row). * * @param body The object to be created. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ createWithHttpInfo(body: any, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Create a new persistent object (insert new row) with the specified \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param body The object to be created. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ createLangWithHttpInfo(lang: string, body: any, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Create a new persistent object (insert new row) with the specified \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param body The object to be created. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ createUUIDLangWithHttpInfo(lang: string, body: any, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Delete the object (row) from the given \&quot;uuid\&quot;. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param permanent To permanent delete (destroy) the object or not. The destroyed objects will not be able to be recycled. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ deleteWithHttpInfo(uuid: string, classname: string, permanent?: boolean, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Delete the object (row) from the given \&quot;uuid\&quot; and \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param permanent To permanent delete (destroy) the object or not. The destroyed objects will not be able to be recycled. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ deleteLangWithHttpInfo(lang: string, uuid: string, classname: string, permanent?: boolean, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Delete (destroy) the specified \&quot;version\&quot; copy of the given object \&quot;uuid\&quot; and \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be deleted (ISO-639) * @param version The object \&quot;version\&quot; number to be deleted. * @param permanent You must explicitly set this header to \&quot;true\&quot; to perform this operation. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ destroyLangVersionWithHttpInfo(lang: string, version: number, permanent: boolean, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Delete (destroy) the specified \&quot;version\&quot; of the given object \&quot;uuid\&quot;. * * @param version The object \&quot;version\&quot; number to be deleted. * @param permanent You must explicitly set this header to \&quot;true\&quot; to perform this operation. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ destroyVersionWithHttpInfo(version: number, permanent: boolean, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Find the object (row) from the given \&quot;uuid\&quot;. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param deleted To query the deleted [true], in-used [false] or both [both|all] object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ findWithHttpInfo(uuid: string, classname: string, deleted?: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Find the object (row) from the given \&quot;uuid\&quot; and \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param deleted To query the deleted [true], in-used [false] or both [both|all] object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ findLangWithHttpInfo(lang: string, uuid: string, classname: string, deleted?: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Find the specified \&quot;version\&quot; copy of the given object \&quot;uuid\&quot; and \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to find (ISO-639) * @param version The object \&quot;version\&quot; number to find. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ findLangVersionWithHttpInfo(lang: string, version: number, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Find the specified \&quot;version\&quot; copy of the given object \&quot;uuid\&quot;. * * @param version The object \&quot;version\&quot; number to find. * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ findVersionWithHttpInfo(version: number, uuid: string, classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Get current object&#39;s available actions. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param deleted * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getActionsWithHttpInfo(uuid: string, classname: string, deleted?: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Get persistent class&#39;s info. * * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getClassInfoWithHttpInfo(classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Get current object&#39;s available actions in the specified \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param deleted To query the deleted [true], in-used [false] or both [both|all] object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getLangActionsWithHttpInfo(lang: string, uuid: string, classname: string, deleted?: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Get the current object&#39;s state in the specified \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param deleted To query the deleted [true], in-used [false] or both [both|all] object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getLangStateWithHttpInfo(lang: string, uuid: string, classname: string, deleted?: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * List all object&#39;s versions from the given \&quot;uuid\&quot; and the specified \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param startIndex The query cursor start index (or the number of first rows to be skipped). * @param endIndex The query cursor end index (the max rows to be returned will be [\&quot;endIndex\&quot; - \&quot;startIndex\&quot;]). * @param sortDescending To sort the result list using field \&quot;_version\&quot; in descending order (newest first). * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getLangVersionsWithHttpInfo(lang: string, uuid: string, classname: string, startIndex?: number, endIndex?: number, sortDescending?: boolean, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Get persistent class&#39;s metadata. * * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getMetadataWithHttpInfo(classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Get the object&#39;s json schema. * * @param classname The persistent class name. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getSchemaInfoWithHttpInfo(classname: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * Get the current object&#39;s state. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param deleted To query the deleted [true], in-used [false] or both [both|all] object. * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getStateWithHttpInfo(uuid: string, classname: string, deleted?: string, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * List all object&#39;s versions from the given \&quot;uuid\&quot;. * * @param uuid The persistent object (row) \&quot;uuid\&quot;. * @param classname The persistent class name. * @param startIndex The query cursor start index (or the number of first rows to be skipped). * @param endIndex The query cursor end index (the max rows to be returned will be [\&quot;endIndex\&quot; - \&quot;startIndex\&quot;]). * @param sortDescending To sort the result list using field \&quot;_version\&quot; in descending order (newest first). * @param langPreference The language preference used to perform the operation (especially in READ operations such as find/query). */ getVersionsWithHttpInfo(uuid: string, classname: string, startIndex?: number, endIndex?: number, sortDescending?: boolean, langPreference?: string, extraHttpRequestParams?: any): Promise<Response>; /** * List all available persistent classes. * */ listClassNamesWithHttpInfo(extraHttpRequestParams?: any): Promise<Response>; /** * Make a stateless object to be stateful with the given \&quot;uuid\&quot; and \&quot;lang\&quot;. * * @param lang The object&#39;s lang code to be queried (ISO-639) * @param