Returns a tuple with the list of companies that pertain to the selection filters and the total number of matching records that were found.
Returns a tuple with the list of companies 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.Company for synchronization with mobile devices.
Gets a list of com.atomizesoftware.spin.models.Company for synchronization with mobile devices.
Gets the number of records that correspond to the complex select statement.
Gets the number of records that correspond to the complex select statement.
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.Company with the requested filters.
Gets a list of com.atomizesoftware.spin.models.Company with the requested filters.
of the company that are to be included
to apply to the requested companies.
to apply to the requested companies.
to apply to the requested companies.
of companies to return
where to start the list of returned companies from.
Generates a random api key.
Generates a random api key.
Updates several companies taking into account the fields chosen to be updated.
Updates several companies taking into account the fields chosen to be updated.
Updates a com.atomizesoftware.spin.models.Company
Updates a com.atomizesoftware.spin.models.Company
If fields are specified only those are updated, otherwise the whole entity is updated
to update
of the company to update
Implements functions related to com.atomizesoftware.spin.models.Company