User functions
Function | Description |
---|---|
| Returns list of all users |
| Returns list of all users, that are filtered by user |
| Returns list of all users, that are filtered by role |
List<user> listUsersInGroup(groupName) | Return list of all users, that are filtered by groupName |
int findGroupByName(groupName) | Returns ID of group by groupName |
string getUserEmailById(int user_id) | Returns user's email when ID is provided |
Properties of object user from listUsers
Function | Description |
---|---|
| Get user's date format |
| Get user's email |
| Get user's first name |
| Get user's middlename |
String user.info | Get user's information |
String user.surname | Get user's surname |
| Get user's language |
| Get user's time format |
| Get user's time zone |
| Get user's username |
| Get user's phone |
| Get user's mobile |
| Get user's roles |
| Get user's parameters |
| Get user's group |
| Get user's id |
| Get user's group name |
| Get info if user has disabled comments |
Folder functions
Function | Description |
---|---|
| Returns id of created folder. UUID will be used to generate name |
int createFolder(string name) | Returns id of created folder. Name of folder is specified as parameter |
Folder methods
Function | Description |
---|---|
| Shares folder (using folderId) with group (using groupId) |
Dataset functions
Function | Description |
---|---|
List<String> allValues(string attCode) | Returns list of values from current dataset for specific attribute (using attCode) |
| Returns list of values from selected dataset (using dataSetCode) for specific attribute (using attCode) |
List<String> allValuesTranslated(string attCode) | Returns list of values that are converted using appearance formula from current dataset for specific attribute (using attCode) |
| Returns list of values that are converted using appearance formula from selected dataset (using dataSetCode) for specific attribute (using attCode) |
String stringValue() | Returns string for indicator. It is used instead of value() that returns int on indicator place. |
Media Gallery functions
Function | Description |
---|---|
| Returns filename of media gallery file according to it's ID |
String getMediaFile(int ID).title | Returns title of media gallery file according to it's ID |
String getMediaFile(int ID).uploaderUsername | Returns username of file createor according to it's ID |
LocalDateTime getMediaFile(int ID).createdWhen | Returns DateTime when file according to it's ID was created. |
List<ImgData> getMediaFile(int ID).data | Returns additional information about pictures |
Properties of object ImgData
Function | Description |
---|---|
| Returns blob ID |
| Returns content type of an object. |