Class: RoleMethods
| Defined in: | src/methods/role-methods.coffee |
Constant Summary
- CREATE_FIELDS =
-
['_id', 'name', 'description', 'isInternal'] - UPDATE_FIELDS =
-
['name', 'description', 'isInternal']
Instance Method Summary
- - (void) constructor(models) Constructor
- - (void) all(accountId, options = {}, cb = function() {}) Bound
- - (void) get(roleId, options = {}, cb = function() {}) Bound Get a role for it's id.
- - (void) destroy(roleId, options = {}, cb = function() {}) Bound Completely destroys an organization.
- - (void) create(accountId, objs = {}, options = {}, cb = function() {}) Bound Create a new processDefinition
- - (void) patch(roleId, obj = {}, options = {}, cb = function() {}) Bound
Constructor Details
- (void) constructor(models)
Instance Method Details
- (void) all(accountId, options = {}, cb = function() {}) (bound)
- (void) get(roleId, options = {}, cb = function() {}) (bound)
Get a role for it's id.
- (void) destroy(roleId, options = {}, cb = function() {}) (bound)
Completely destroys an organization.
- (void) create(accountId, objs = {}, options = {}, cb = function() {}) (bound)
Create a new processDefinition
- (void) patch(roleId, obj = {}, options = {}, cb = function() {}) (bound)