Name |
Description |
ClassDef GetById(int id) |
Function returns class according to the input Id. |
ClassDefList GetAll() |
Function returns all the class. |
ClassDef GetByCode(string mCode, string clCode) |
Function returns class according to the input model code and cass code. If the class does not exist, an exception is returned. |
ClassDef GetByCode( int mId, string clCode) |
Function returns class according to the model Id and class code. If the class does not exist, an exception is returned. |
ClassDef GetByCode(DataRow dr) |
Function returns class accroding to the input datarow. If the class does not exist, an exception is returned. |
ClassDef GetByCode(DataRow dr, string clCode) |
Function returns class. If the class does not exist, an exception is returned.
Input parameter dr defines class and model. The returned class is defined by the input parameter clCode.
|
void DeleteDataRow(ClassDef classDef) |
The method deletes all records in the class. Any bindings are not resolved. |
void ResetId(ClassDef classDef) |
The method resets the identity/sequence on the ID column for the given class. Any existing records and collisions are not resolved. |
void TruncateDataRow(ClassDef classDef) |
The method deletes all records for the given class. |
RoleRight HaveUserRightByClassDef(int classDefId, ClassDefRoleOperation operation) |
Function returns TRUE, if the logged on user has access right for the iclass/query with the given operation. Otherwise, FALSE is returned. |
RoleRight HaveUserRightByOperationCode(int classDefId, string operationCode) |
Function returns TRUE, if the logged on user has access right for the iclass/query with the given operation. Otherwise, FALSE is returned. |
ClassDefRoleOperation ClassDefRoleOperation_ReadList |
Operation for reading class list records. |
ClassDefRoleOperation ClassDefRoleOperation_ReadDetail |
Operation for reading record detail. |
ClassDefRoleOperation ClassDefRoleOperation_Insert |
Operation for creating record in the class. |
ClassDefRoleOperation ClassDefRoleOperation_Update |
Operation for updating record in the class. |
ClassDefRoleOperation ClassDefRoleOperation_Delete |
Operation for deleting record in the class. |
ClassDefRoleOperation ClassDefRoleOperation_MultiChange |
Operation for mass record update in the class. |
ClassDefRoleOperation ClassDefRoleOperation_MultiDelete |
Operation for mass record deletion in the class. |
RoleRight RoleRight_None |
User does not have aby acces right in the class. |
RoleRight RoleRight_OnlyRole |
User has access right by means of assigned role. |
RoleRight RoleRight_RoleWithOrgStructure |
User has access right by means of assigned role with organisation structure, i.e. only certain records will be accessible. |