Methods
# static addNew(name, principals)
Parameters:
Name | Type | Description |
---|---|---|
name |
||
principals |
Properties:
Name | Type | Description |
---|---|---|
type |
string | ADD_NEW |
# static delete(id)
Parameters:
Name | Type | Description |
---|---|---|
id |
Properties:
Name | Type | Description |
---|---|---|
type |
string | DELETE |
# static openAddEditRoleModal(id, isNewRole)
Parameters:
Name | Type | Description |
---|---|---|
id |
||
isNewRole |
Properties:
Name | Type | Description |
---|---|---|
type |
string | OPEN_ADD_EDIT_ROLE_MODAL |
# static saveRole(roleData)
Parameters:
Name | Type | Description |
---|---|---|
roleData |
Properties:
Name | Type | Description |
---|---|---|
type |
string | SAVE_ROLE |
# static setDisableSave(disableSave)
Parameters:
Name | Type | Description |
---|---|---|
disableSave |
Properties:
Name | Type | Description |
---|---|---|
type |
string | SET_DISABLE_SAVE |
# static setError(property, error)
Parameters:
Name | Type | Description |
---|---|---|
property |
||
error |
Properties:
Name | Type | Description |
---|---|---|
type |
string | SET_ERROR |
# static setPristinity(pristine)
Parameters:
Name | Type | Description |
---|---|---|
pristine |
Properties:
Name | Type | Description |
---|---|---|
type |
string | SET_PRISTINITY |
# static setRoleModalName(name)
Parameters:
Name | Type | Description |
---|---|---|
name |
Properties:
Name | Type | Description |
---|---|---|
type |
string | SET_ROLE_MODAL_NAME |
# static setRoleModalPrincipals(principals)
Parameters:
Name | Type | Description |
---|---|---|
principals |
Properties:
Name | Type | Description |
---|---|---|
type |
string | SET_ROLE_MODAL_PRINCIPALS |
# static showModal(data)
Parameters:
Name | Type | Description |
---|---|---|
data |
Properties:
Name | Type | Description |
---|---|---|
type |
string | SHOW_MODAL |
# static update(id, name, principals)
Parameters:
Name | Type | Description |
---|---|---|
id |
||
name |
||
principals |
Properties:
Name | Type | Description |
---|---|---|
type |
string | UPDATE |
# static updateRoleModalName(name)
Parameters:
Name | Type | Description |
---|---|---|
name |
Properties:
Name | Type | Description |
---|---|---|
type |
string | UPDATE_ROLE_NAME |
# static updateRoleModalPrincipals(principals)
Parameters:
Name | Type | Description |
---|---|---|
principals |
Properties:
Name | Type | Description |
---|---|---|
type |
string | UPDATE_ROLE_PRINCIPALS |