Package com.uc4.api.objects
Class ObjectRight
java.lang.Object
com.uc4.api.objects.ObjectRight
- All Implemented Interfaces:
Rights
This class represents a row on the authorizations tab of an object.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCreates a new ObjectRight object.protectedObjectRight(com.uc4.util.XMLDocument doc, Element el) -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns theUC4UserName(User) orUC4ObjectName(UserGroup) for the ObjectRight.booleanisCancel()Returns the access method: Cancel.booleanAccess method: Define SLA.booleanisDelete()Returns the access method: Delete.booleanReturns the access method: Execute.booleanAccess method: Modify at runtime This access method permits the setting of trace options on UC4 Automation Engines or Agents and the ending of RemoteTaskManager and Event objects.booleanisRead()Returns the access method: Read.booleanisReport()Access to Reports.booleanAccess to Statistics.booleanisWrite()Returns the access method: Write.protected voidvoidsetCancel(boolean cancel) Sets the access method: Cancel.voidsetDefineSLA(boolean defineSLA) Sets the access method: Define SLA.voidsetDelete(boolean delete) Sets the access method: Delete.voidsetExecute(boolean execute) Sets the access method: Execute.voidsetModifyAtRuntime(boolean modifyAtRuntime) Sets the access method: Modify at runtime This access method permits the setting of trace options on UC4 Automation Engines or Agents and the ending of RemoteTaskManager and Event objects.voidsetName(UC4ObjectName name) Sets the name for the ObjectRight.voidsetRead(boolean read) Sets the access method: Read.voidsetReport(boolean report) Sets access to Reports.voidsetStatistics(boolean statistics) Sets access to Statistics.voidsetWrite(boolean write) Sets the access method: Write.
-
Constructor Details
-
ObjectRight
public ObjectRight()Creates a new ObjectRight object. -
ObjectRight
-
-
Method Details
-
save
-
isRead
public boolean isRead()Description copied from interface:RightsReturns the access method: Read. -
setRead
public void setRead(boolean read) Description copied from interface:RightsSets the access method: Read. -
isWrite
public boolean isWrite()Description copied from interface:RightsReturns the access method: Write. -
setWrite
public void setWrite(boolean write) Description copied from interface:RightsSets the access method: Write. -
isExecute
public boolean isExecute()Description copied from interface:RightsReturns the access method: Execute. -
setExecute
public void setExecute(boolean execute) Description copied from interface:RightsSets the access method: Execute.- Specified by:
setExecutein interfaceRights- Parameters:
execute-trueto enable,falseto disable this action
-
isDelete
public boolean isDelete()Description copied from interface:RightsReturns the access method: Delete. -
setDelete
public void setDelete(boolean delete) Description copied from interface:RightsSets the access method: Delete. -
isCancel
public boolean isCancel()Description copied from interface:RightsReturns the access method: Cancel. -
setCancel
public void setCancel(boolean cancel) Description copied from interface:RightsSets the access method: Cancel. -
isStatistics
public boolean isStatistics()Description copied from interface:RightsAccess to Statistics.- Specified by:
isStatisticsin interfaceRights- Returns:
trueif enabled,falseif disabled
-
setStatistics
public void setStatistics(boolean statistics) Description copied from interface:RightsSets access to Statistics.- Specified by:
setStatisticsin interfaceRights- Parameters:
statistics-trueto enable,falseto disable this action
-
isReport
public boolean isReport()Description copied from interface:RightsAccess to Reports. -
setReport
public void setReport(boolean report) Description copied from interface:RightsSets access to Reports. -
isModifyAtRuntime
public boolean isModifyAtRuntime()Description copied from interface:RightsAccess method: Modify at runtime This access method permits the setting of trace options on UC4 Automation Engines or Agents and the ending of RemoteTaskManager and Event objects.- Specified by:
isModifyAtRuntimein interfaceRights- Returns:
trueif enabled,falseif disabled
-
setModifyAtRuntime
public void setModifyAtRuntime(boolean modifyAtRuntime) Description copied from interface:RightsSets the access method: Modify at runtime This access method permits the setting of trace options on UC4 Automation Engines or Agents and the ending of RemoteTaskManager and Event objects.- Specified by:
setModifyAtRuntimein interfaceRights- Parameters:
modifyAtRuntime-trueto enable,falseto disable this action
-
isDefineSLA
public boolean isDefineSLA()Description copied from interface:RightsAccess method: Define SLA.- Specified by:
isDefineSLAin interfaceRights- Returns:
trueif enabled,falseif disabled
-
setDefineSLA
public void setDefineSLA(boolean defineSLA) Description copied from interface:RightsSets the access method: Define SLA.- Specified by:
setDefineSLAin interfaceRights- Parameters:
defineSLA-trueto enable,falseto disable this action
-
getName
Returns theUC4UserName(User) orUC4ObjectName(UserGroup) for the ObjectRight.- Returns:
- UC4ObjectName
-
setName
Sets the name for the ObjectRight. For a UserName useUC4UserName, for UserGroupUC4ObjectName.- Parameters:
name- UC4ObjectName
-