Class ModelSdkClientImpl<IT, CT>
Methods
checkAccess
- checkAccess(workingCopyId: string, memberOpenId: string, callback: ICallback<boolean>, errorCallback: IErrorCallback): void
- checkAccess(workingCopyId: string, memberOpenId: string): Promise<boolean>
-
Parameters
-
workingCopyId: string
-
memberOpenId: string
-
callback: ICallback<boolean>
-
Returns void
-
Parameters
-
workingCopyId: string
-
memberOpenId: string
Returns Promise<boolean>
commitToTeamServer
-
Parameters
Returns void
-
Parameters
Returns Promise<void>
createAndOpenWorkingCopy
-
Parameters
Returns void
-
Parameters
Returns Promise<IT>
createWorkingCopy
-
Parameters
Returns void
-
Parameters
createWorkingCopyFromTeamServer
-
Parameters
Returns void
-
Parameters
deleteWorkingCopy
- deleteWorkingCopy(workingCopyId: string, callback: IVoidCallback, errorCallback: IErrorCallback): void
- deleteWorkingCopy(workingCopyId: string): Promise<void>
-
Parameters
Returns void
-
Parameters
Returns Promise<void>
deleteWorkingCopyByProject
- deleteWorkingCopyByProject(projectId: string, callback: IVoidCallback, errorCallback: IErrorCallback): void
- deleteWorkingCopyByProject(projectId: string): Promise<void>
-
Parameters
Returns void
-
Parameters
Returns Promise<void>
exportModuleMpk
- exportModuleMpk(workingCopyId: string, moduleId: string, outFilePath: string, callback: IVoidCallback, errorCallback: IErrorCallback): void
- exportModuleMpk(workingCopyId: string, moduleId: string, outFilePath: string): Promise<void>
-
Parameters
-
workingCopyId: string
-
moduleId: string
-
outFilePath: string
-
-
Returns void
-
Parameters
-
workingCopyId: string
-
moduleId: string
-
outFilePath: string
Returns Promise<void>
exportMpk
-
Parameters
-
workingCopyId: string
-
outFilePath: string
-
-
Returns void
-
Parameters
-
workingCopyId: string
-
outFilePath: string
getMyWorkingCopies
- getMyWorkingCopies(callback: ICallback<IWorkingCopy[]>, errorCallback: IErrorCallback): void
- getMyWorkingCopies(): Promise<IWorkingCopy[]>
-
Parameters
Returns void
-
Returns Promise<IWorkingCopy[]>
getWorkingCopyByProject
- getWorkingCopyByProject(projectId: string, callback: ICallback<string>, errorCallback: IErrorCallback): void
- getWorkingCopyByProject(projectId: string): Promise<string>
-
Parameters
Returns void
-
Parameters
Returns Promise<string>
grantAccess
- grantAccess(workingCopyId: string, memberOpenId: string, callback: IVoidCallback, errorCallback: IErrorCallback): void
- grantAccess(workingCopyId: string, memberOpenId: string): Promise<void>
-
Parameters
-
workingCopyId: string
-
memberOpenId: string
-
-
Returns void
-
Parameters
-
workingCopyId: string
-
memberOpenId: string
Returns Promise<void>
grantAccessByProject
- grantAccessByProject(projectId: string, memberOpenId: string, callback: IVoidCallback, errorCallback: IErrorCallback): void
- grantAccessByProject(projectId: string, memberOpenId: string): Promise<void>
-
Parameters
-
projectId: string
-
memberOpenId: string
-
-
Returns void
-
Parameters
-
projectId: string
-
memberOpenId: string
Returns Promise<void>
loadWorkingCopyMetaData
-
Parameters
Returns void
-
Parameters
lockWorkingCopy
-
Parameters
Returns void
-
Parameters
Returns void
-
Parameters
openWorkingCopy
- openWorkingCopy(workingCopyId: string, callback: ICallback<IT>, errorCallback: IErrorCallback): void
- openWorkingCopy(workingCopyId: string): Promise<IT>
-
Parameters
Returns void
-
Parameters
Returns Promise<IT>
revokeAccess
- revokeAccess(workingCopyId: string, memberOpenId: string, callback: IVoidCallback, errorCallback: IErrorCallback): void
- revokeAccess(workingCopyId: string, memberOpenId: string): Promise<void>
-
Parameters
-
workingCopyId: string
-
memberOpenId: string
-
-
Returns void
-
Parameters
-
workingCopyId: string
-
memberOpenId: string
Returns Promise<void>
revokeAccessByProject
- revokeAccessByProject(projectId: string, memberOpenId: string, callback: IVoidCallback, errorCallback: IErrorCallback): void
- revokeAccessByProject(projectId: string, memberOpenId: string): Promise<void>
-
Parameters
-
projectId: string
-
memberOpenId: string
-
-
Returns void
-
Parameters
-
projectId: string
-
memberOpenId: string
Returns Promise<void>
setProjectMembers
- setProjectMembers(projectId: string, memberOpenids: string[], callback: IVoidCallback, errorCallback: IErrorCallback): void
- setProjectMembers(projectId: string, memberOpenids: string[]): Promise<void>
-
Parameters
-
projectId: string
-
memberOpenids: string[]
-
-
Returns void
-
Parameters
-
projectId: string
-
memberOpenids: string[]
Returns Promise<void>
setWorkingCopyMembers
- setWorkingCopyMembers(workingCopyId: string, memberOpenIds: string[], callback: IVoidCallback, errorCallback: IErrorCallback): void
- setWorkingCopyMembers(workingCopyId: string, memberOpenIds: string[]): Promise<void>
-
Parameters
-
workingCopyId: string
-
memberOpenIds: string[]
-
-
Returns void
-
Parameters
-
workingCopyId: string
-
memberOpenIds: string[]
Returns Promise<void>
unlockWorkingCopy
- unlockWorkingCopy(workingCopyId: string, callback: IVoidCallback, errorCallback: IErrorCallback): void
- unlockWorkingCopy(workingCopyId: string): Promise<void>
- unlockWorkingCopy(workingCopyId: string, lockType: LockType, callback: IVoidCallback, errorCallback: IErrorCallback): void
- unlockWorkingCopy(workingCopyId: string, lockType: LockType): Promise<void>
-
Parameters
Returns void
-
Parameters
Returns Promise<void>
-
Parameters
Returns void
-
Parameters
Returns Promise<void>
updateWorkingCopyByProject
- updateWorkingCopyByProject(projectId: string, workingCopyId: string, callback: IVoidCallback, errorCallback: IErrorCallback): void
- updateWorkingCopyByProject(projectId: string, workingCopyId: string): Promise<void>
-
Parameters
-
projectId: string
-
workingCopyId: string
-
-
Returns void
-
Parameters
-
projectId: string
-
workingCopyId: string
Returns Promise<void>
Client class of the Mendix Model SDK. By instantiating this class with appropriate configuration, you can create and read working copies.