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

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)