com.phloxui
Version:
PhloxUI Ng2+ Framework
736 lines • 73.7 kB
TypeScript
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 \"lang\".
*
* @param lang The object'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 \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param body The object to be created.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\".
*
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\" and \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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 \"version\" copy of the given object \"uuid\" and \"lang\".
*
* @param lang The object's lang code to be deleted (ISO-639)
* @param version The object \"version\" number to be deleted.
* @param permanent You must explicitly set this header to \"true\" to perform this operation.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"version\" of the given object \"uuid\".
*
* @param version The object \"version\" number to be deleted.
* @param permanent You must explicitly set this header to \"true\" to perform this operation.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\".
*
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\" and \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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 \"version\" copy of the given object \"uuid\" and \"lang\".
*
* @param lang The object's lang code to find (ISO-639)
* @param version The object \"version\" number to find.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"version\" copy of the given object \"uuid\".
*
* @param version The object \"version\" number to find.
* @param uuid The persistent object (row) \"uuid\".
* @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's available actions.
*
* @param uuid The persistent object (row) \"uuid\".
* @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'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's available actions in the specified \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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's state in the specified \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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's versions from the given \"uuid\" and the specified \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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 [\"endIndex\" - \"startIndex\"]).
* @param sortDescending To sort the result list using field \"_version\" 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'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'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's state.
*
* @param uuid The persistent object (row) \"uuid\".
* @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's versions from the given \"uuid\".
*
* @param uuid The persistent object (row) \"uuid\".
* @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 [\"endIndex\" - \"startIndex\"]).
* @param sortDescending To sort the result list using field \"_version\" 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 \"uuid\" and \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\" and \"lang\" starting at the specified \"activityId\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param activityId The \"activityId\" of object's starting state.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\" and \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\".
*
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\" starting at the specified \"activityId\".
*
* @param activityId The \"activityId\" of object's starting state.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\".
*
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\". @PATCH operation will only update the fields specified in request data.
*
* @param uuid The persistent object (row) \"uuid\".
* @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 \"_version\" (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 \"uuid\" and \"lang\". @PATCH operation will only update the fields specified in request data.
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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 \"_version\" (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 \"version\" copy of the given object \"uuid\" and \"lang\". @PATCH operation will only update the fields specified in request data.
*
* @param lang The object's lang code to be updated (ISO-639)
* @param version The object \"version\" number to be updated.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"version\" copy of the given object \"uuid\". @PATCH operation will only update the fields specified in request data.
*
* @param version The object \"version\" number to be updated.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"version\" copy of the given object \"uuid\" and \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param version The object \"version\" number to be promoted.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"version\" copy of the given object \"uuid\".
*
* @param version The object \"version\" number to be promoted.
* @param uuid The persistent object (row) \"uuid\".
* @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=500].
* @param defaultLangOnly To query the objects in default lang [_lang=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=null] and in-used [_deleted=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=500].
* @param defaultLangOnly To query the objects in default lang [_lang=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 \"lang\".
*
* @param lang The object'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=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 \"lang\". This api will count in-used [_deleted=false] objects only.
*
* @param lang The object'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 \"lang\".
*
* @param lang The object'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'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=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'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 \"lang\".
*
* @param lang The object'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 \"uuid\".
*
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\" and \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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's state according to process engine.
*
* @param uuid The persistent object (row) \"uuid\".
* @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's state according to process engine in the specified \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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 \"action\".
*
* @param action The object's \"action\" to be triggerred.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"action\" in the specified \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param action The object's \"action\" to be triggerred.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\". @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) \"uuid\".
* @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 \"null\" value.
* @param incrementVersion Increment the object \"_version\" (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 \"uuid\" and \"lang\". @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's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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 \"null\" value.
* @param incrementVersion Increment the object \"_version\" (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 \"version\" copy of the given object \"uuid\" and \"lang\". @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's lang code to be updated (ISO-639)
* @param version The object \"version\" number to be updated.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"null\" 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 \"version\" copy of the given object \"uuid\". @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 \"version\" number to be updated.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"null\" 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 \"lang\".
*
* @param lang The object'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 \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param body The object to be created.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\".
*
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\" and \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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 \"version\" copy of the given object \"uuid\" and \"lang\".
*
* @param lang The object's lang code to be deleted (ISO-639)
* @param version The object \"version\" number to be deleted.
* @param permanent You must explicitly set this header to \"true\" to perform this operation.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"version\" of the given object \"uuid\".
*
* @param version The object \"version\" number to be deleted.
* @param permanent You must explicitly set this header to \"true\" to perform this operation.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\".
*
* @param uuid The persistent object (row) \"uuid\".
* @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 \"uuid\" and \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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 \"version\" copy of the given object \"uuid\" and \"lang\".
*
* @param lang The object's lang code to find (ISO-639)
* @param version The object \"version\" number to find.
* @param uuid The persistent object (row) \"uuid\".
* @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 \"version\" copy of the given object \"uuid\".
*
* @param version The object \"version\" number to find.
* @param uuid The persistent object (row) \"uuid\".
* @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's available actions.
*
* @param uuid The persistent object (row) \"uuid\".
* @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'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's available actions in the specified \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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's state in the specified \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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's versions from the given \"uuid\" and the specified \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param uuid The persistent object (row) \"uuid\".
* @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 [\"endIndex\" - \"startIndex\"]).
* @param sortDescending To sort the result list using field \"_version\" 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'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'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's state.
*
* @param uuid The persistent object (row) \"uuid\".
* @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's versions from the given \"uuid\".
*
* @param uuid The persistent object (row) \"uuid\".
* @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 [\"endIndex\" - \"startIndex\"]).
* @param sortDescending To sort the result list using field \"_version\" 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 \"uuid\" and \"lang\".
*
* @param lang The object's lang code to be queried (ISO-639)
* @param