Analysis Security Property

Sepasoft MES Module Suite

Analysis Security Property

Rights of a security role for the Analysis Settings object can be set through this object. The Analysis Security Property object is derived from the AbstractMESComplexProperty and inherits all the exposed properties, methods and events for that object.

Object Creation

The following object methods can be used to create, delete or return this type of object.

  • MESAnalysisSettingsObject.addSecurityRole()
  • MESAnalysisSettingsObject.removeSecurityRole()
  • MESAnalysisSettingsObject.getSecurityRole()

Use

No scripting function or component use this object directly.


Object Properties 

This object has the following properties. These properties are accessible through the provided object functions, but not directly as obj.properties. Property values can be accessed and changed for an object by using the getPropertyValue() and setPropertyValue() method.

Setting Name R/W Description
AnalysisSecurityCanExecute Read/Write If this property is set to True, then the saved analysis can be executed.
AnalysisSecurityCanModify Read/Write If this property is set to True, then the saved analysis can be modified.

Property values can be accessed and changed by using the getPropertyValue() and setPropertyValue() functions provided by the AbstractMESComplexProperty object.

This object also inherits the AbstractMESComplexProperty properties.

See Complex Properties

Object Functions

This object provides the following functions:


getCanExecute()

Description

Gets the boolean assigned for the can execute property.

Syntax

getCanExecute()

Parameters

 None

Returns

boolean - True if analysis setting can be execute for the given role and False otherwise.

Scope

All


getCanModify()

Gets the boolean assigned for the can modify property.

Syntax

getCanModify()

Parameters

 None

Returns

boolean - True if analysis setting can be modified for the given role and False otherwise.

Scope

All


setCanExecute(canExecute)

Sets the can execute property for saved analysis. If this property is set to True, then the saved analysis can be executed.

Syntax

setCanExecute(canExecute)

Parameters

 boolean canExecute - Set to True to allow execution and False otherwise.

Returns

Nothing

Scope

All


setCanModify(canModify)

Sets the can modify property for saved analysis. If this property is set to True, then the saved analysis can be modified.

Syntax

setCanModify(canModify)

Parameters

 boolean canModify -Set to True to allow modification and False otherwise.

Returns

Nothing

Scope

All


Object Events

Besides the common MES Object Events, no other events exist for the Analysis Security Property object.

Sepasoft MES Module Suite