Deletes a com.atomizesoftware.spin.models.Group
Deletes a com.atomizesoftware.spin.models.Group
In order to delete a group we need to delete all the associations with permissions.
Deletes a language
Deletes a language
Deletes a menu and its association with groups.
Deletes a menu and its association with groups.
In order to be able to delete a menu we have to also delete all its associations with groups.
Deletes a com.atomizesoftware.spin.models.Permission
Deletes a com.atomizesoftware.spin.models.Permission
In order to delete a permission we also need to delete its associations with groups.
Deletes a user and its association with groups.
Deletes a user and its association with groups.
In order to be able to delete a user we have to also delete all its associations with groups.
Receives a password string and encodes it to md5.
Receives a password string and encodes it to md5.
Gets a list of com.atomizesoftware.spin.models.Group with the requested filters.
Gets a list of com.atomizesoftware.spin.models.Group with the requested filters.
of the group that are to be included
to apply to the requested groups.
to apply to the requested groups.
to apply to the requested groups.
of groups to return
where to start the list of returned groups from.
Gets a list of com.atomizesoftware.spin.models.Language with the requested filters.
Gets a list of com.atomizesoftware.spin.models.Language with the requested filters.
Gets a list of com.atomizesoftware.spin.models.Menu with the requested filters.
Gets a list of com.atomizesoftware.spin.models.Menu with the requested filters.
Gets a list of com.atomizesoftware.spin.models.Permission with the requested filters.
Gets a list of com.atomizesoftware.spin.models.Permission with the requested filters.
of the permission that are to be included
to apply to the requested permissions.
to apply to the requested permissions.
to apply to the requested permissions.
of permissions to return
where to start the list of returned permissions from.
Gets a list of com.atomizesoftware.spin.models.User with the requested filters.
Gets a list of com.atomizesoftware.spin.models.User with the requested filters.
of the user that are to be included
to apply to the requested users.
to apply to the requested users.
to apply to the requested users.
of users to return
where to start the list of returned users from.
Generates a random api key.
Generates a random api key.
Gets the number of records that correspond to the complex select statement.
Gets the number of records that correspond to the complex select statement.
Fetches a group with the specified associations that can be: users, permissions, menus and movement types.
Fetches a group with the specified associations that can be: users, permissions, menus and movement types.
to apply to the requested associations.
to apply to the requested associations.
a com.atomizesoftware.spin.models.Group with specified associations if one is found, none otherwise.
Returns a tuple with the list of groups that pertain to the selection filters and the total number of matching records that were found.
Returns a tuple with the list of groups that pertain to the selection filters and the total number of matching records that were found.
If no limit was imposed in the selection filters, we do not make another query to get the total number of records, as they were already returned.
Creates a user taking into account the fact that the password needs to be encoded.
Creates a user taking into account the fact that the password needs to be encoded.
Gets the number of records that correspond to the complex select statement.
Gets the number of records that correspond to the complex select statement.
Gets the number of records that correspond to the complex select statement.
Gets the number of records that correspond to the complex select statement.
Returns a com.atomizesoftware.spin.models.Menu with a list of its associated com.atomizesoftware.spin.models.Groups
Returns a com.atomizesoftware.spin.models.Menu with a list of its associated com.atomizesoftware.spin.models.Groups
of the requested menu
menu and its groups
Gets the number of records that correspond to the complex select statement.
Gets the number of records that correspond to the complex select statement.
Returns a com.atomizesoftware.spin.models.Permission with its associated com.atomizesoftware.spin.models.Groups
Returns a com.atomizesoftware.spin.models.Permission with its associated com.atomizesoftware.spin.models.Groups
of the requested permission
permission and a list of associated groups
Returns a tuple with the list of permissions that pertain to the selection filters and the total number of matching records that were found.
Returns a tuple with the list of permissions that pertain to the selection filters and the total number of matching records that were found.
If no limit was imposed in the selection filters, we do not make another query to get the total number of records, as they were already returned.
Gets the user with the username system.
Gets the user with the username system.
a User if the user was found.
Updates a com.atomizesoftware.spin.models.Group
Updates a com.atomizesoftware.spin.models.Group
If fields are specified, only those are update, otherwise the whole entity is updated.
to update
Updates the associations between a com.atomizesoftware.spin.models.Group and its com.atomizesoftware.spin.models.Users and com.atomizesoftware.spin.models.Permissions.
Updates the associations between a com.atomizesoftware.spin.models.Group and its com.atomizesoftware.spin.models.Users and com.atomizesoftware.spin.models.Permissions.
Receives a group with a list of users that are to be associated with the specified group, removes all associations that aren't present in that list and adds those that are. Does the same to the permissions, menus and movement types.
that we want to update the associations.
Updates the associations between a group and locations.
Updates the associations between a group and locations.
Updates the associations between a group and menus.
Updates the associations between a group and menus.
Updates the associations between a group and movement types.
Updates the associations between a group and movement types.
Updates the associations between a group and permissions
Updates the associations between a group and permissions
Updates the associations between a group and users
Updates the associations between a group and users
Updates a com.atomizesoftware.spin.models.Language
Updates a com.atomizesoftware.spin.models.Language
If fields are specified, only those are updated, otherwise the whole entity is updated.
to update
Updates a com.atomizesoftware.spin.models.Menu
Updates a com.atomizesoftware.spin.models.Menu
If fields are specified, only those are updated, otherwise the whole entity is updated.
to update
Updates the associations between a com.atomizesoftware.spin.models.Menu and its com.atomizesoftware.spin.models.Groups.
Updates the associations between a com.atomizesoftware.spin.models.Menu and its com.atomizesoftware.spin.models.Groups.
Receives a list representing the current groups that are to be associated with the specified menu, removes all associations that aren't present in that list and adds those that are.
that we want to update the associations.
Updates a com.atomizesoftware.spin.models.Permission
Updates a com.atomizesoftware.spin.models.Permission
If fields are specified, only those are updated, otherwise the whole entity is updated.
to update
Updates the associations between a com.atomizesoftware.spin.models.Permission and its com.atomizesoftware.spin.models.Groups.
Updates the associations between a com.atomizesoftware.spin.models.Permission and its com.atomizesoftware.spin.models.Groups.
Receives a list representing the current groups that are to be associated with the specified permission, removes all associations that aren't present in that list and adds those that are.
that we want to update the associations.
Updates a com.atomizesoftware.spin.models.User
Updates a com.atomizesoftware.spin.models.User
If fields are specified, only those are updated, otherwise the whole entity is updated. A check is performed in order to take into account that the user password is encoded before saving it.
to update.
true if the update was successful, false otherwise
Updates the associations between a com.atomizesoftware.spin.models.User and its com.atomizesoftware.spin.models.Groups.
Updates the associations between a com.atomizesoftware.spin.models.User and its com.atomizesoftware.spin.models.Groups.
Receives a user with the current groups that are to be associated, removes all associations that aren't present in that list and adds those that are.
Gets the number of records that correspond to the complex select statement.
Gets the number of records that correspond to the complex select statement.
Gets a user by its username with the specified associations and references.
Gets a user by its username with the specified associations and references.
a com.atomizesoftware.spin.models.User when one is found, None otherwise.
Gets a user with the specified associations.
Gets a user with the specified associations.
a com.atomizesoftware.spin.models.User when one is found, None otherwise.
Gets a user by its username with the specified associations.
Gets a user by its username with the specified associations.
a com.atomizesoftware.spin.models.User when one is found, None otherwise.
Gets a user by its username with the specified associations and references.
Gets a user by its username with the specified associations and references.
a com.atomizesoftware.spin.models.User when one is found, None otherwise.
Returns a tuple with the list of users that pertain to the selection filters and the total number of matching records that were found.
Returns a tuple with the list of users that pertain to the selection filters and the total number of matching records that were found.
If no limit was imposed in the selection filters, we do not make another query to get the total number of records, as they were already returned.
Gets a list of com.atomizesoftware.spin.models.User for synchronization with mobile devices.
Gets a list of com.atomizesoftware.spin.models.User for synchronization with mobile devices.
Implements functions related to com.atomizesoftware.spin.models.User and its related entities: com.atomizesoftware.spin.models.Group, com.atomizesoftware.spin.models.Permission