Sepasoft MES Module Suite
RecipeValueSecurityRole Object
A RecipeValueSecurityRole object contains the security information for a security role for a recipe value.
Object Properties
getMaxValue()
Description
Returns the maximum value for this role.
Syntax
getMaxValue()
- Parameters
None
- Returns
The maximum value of the role.
- Scope
All
getMinValue()
Description
Returns the minimum value for this role.
Syntax
getMinValue()
- Parameters
None
- Returns
The minimum value of the role.
- Scope
All
isAdministratorRole()
Description
Returns true if this role is 'Administrator'.
Syntax
isAdministratorRole()
- Parameters
None
- Returns
True, if this role is 'Administrator'.
- Scope
All
isAllowEdit()
Description
Returns true if this value is editable.
Syntax
isAllowEdit()
- Parameters
None
- Returns
True, if the value is editable.
- Scope
All
isModified()
Description
Checks whether the security role is modified or not.
Syntax
isModified()
- Parameters
None
- Returns
boolean modified - True, if the security role is been modified and False otherwise.
- Scope
All
restorePreviousValues()
Description
This script function will restore the previous values associated with this recipe security role.
Syntax
restorePreviousValues()
- Parameters
None
- Returns
Nothing
- Scope
All
setAllowEdit(allowEdit)
Description
Sets the allow edit property for this security role.
Syntax
setAllowEdit(allowEdit)
- Parameters
boolean allowEdit - Set to True inorder to allow editing of this security role and False otherwise.
- Returns
Nothing
- Scope
All
setMinValue(minValue)
Description
Sets the minimum value for this security role.
Syntax
setMinValue(minValue)
- Parameters
Object minValue - The minimum value to set the security role for.
- Returns
Nothing
- Scope
All
setMaxValue(maxValue)
Description
Sets the maximum value for this security role.
Syntax
setMaxValue(maxValue)
- Parameters
Object maxValue - The maximum value to set the security role for.
- Returns
Nothing
- Scope
All
Sepasoft MES Module Suite