Modifier and Type | Class and Description |
---|---|
static class |
UserRight.Type
User rights.
|
Modifier | Constructor and Description |
---|---|
|
UserRight()
Creates a new instance of
UserRight . |
protected |
UserRight(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element el) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFileNameDestination()
Returns the filter for file names.
|
java.lang.String |
getFileNameSource()
Returns the filter for file names.
|
int |
getGrp()
Returns the authorization group or
-1 if NOT is selected. |
java.lang.String |
getHost()
Returns the filter for Agent names.
|
java.lang.String |
getHostDestination()
Returns the filter for Agent names.
|
java.lang.String |
getLogin()
Returns the filter for names of Login objects.
|
java.lang.String |
getLoginDestination()
Returns the filter for names of Login objects.
|
java.lang.String |
getName()
Returns the filter for object name and folder path.
|
UserRight.Type |
getType()
Returns the object type.
|
boolean |
isCancel()
Returns the access method: Cancel.
|
boolean |
isDefineSLA()
Access method: Define SLA.
|
boolean |
isDelete()
Returns the access method: Delete.
|
boolean |
isExecute()
Returns the access method: Execute.
|
protected boolean |
isModified() |
boolean |
isModifyAtRuntime()
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.
|
boolean |
isRead()
Returns the access method: Read.
|
boolean |
isReport()
Access to Reports.
|
boolean |
isStatistics()
Access to Statistics.
|
boolean |
isWrite()
Returns the access method: Write.
|
protected void |
save(org.w3c.dom.Element row) |
void |
setCancel(boolean cancel)
Sets the access method: Cancel.
|
void |
setDefineSLA(boolean defineSLA)
Sets the access method: Define SLA.
|
void |
setDelete(boolean delete)
Sets the access method: Delete.
|
void |
setExecute(boolean execute)
Sets the access method: Execute.
|
void |
setFileNameDestination(java.lang.String fileNameDestination)
Sets the filter for file names (FileTransfer destination).
|
void |
setFileNameSource(java.lang.String fileNameSource)
Sets the filter for file names (FileTransfer source).
|
void |
setGrp(int grp)
Sets the authorization group.
|
void |
setHost(java.lang.String host)
Sets the filter for an Agent name (Job execution, FileTransfer source).
|
void |
setHostDestination(java.lang.String hostDestination)
Sets the filter for Agent names (FileTransfer destination).
|
void |
setLogin(java.lang.String login)
Sets the filter for names of Login objects (Job execution, FileTransfer) source).
|
void |
setLoginDestination(java.lang.String loginDestination)
Sets the filter for names of Login objects (FileTransfer destination).
|
protected void |
setModified(boolean b) |
void |
setModifyAtRuntime(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.
|
void |
setName(java.lang.String name)
Sets the filter for object name and folder path.
|
void |
setRead(boolean read)
Sets the access method: Read.
|
void |
setReport(boolean report)
Sets access to Reports.
|
void |
setStatistics(boolean statistics)
Sets access to Statistics.
|
void |
setType(UserRight.Type type)
Sets the object type.
|
void |
setWrite(boolean write)
Sets the access method: Write.
|
public UserRight()
UserRight
.
The group is set to "1" and the type to "*".protected UserRight(com.uc4.util.XMLDocument doc, org.w3c.dom.Element el)
protected void save(org.w3c.dom.Element row)
public UserRight.Type getType()
public void setType(UserRight.Type type)
type
- Typepublic int getGrp()
-1
if NOT is selected.public void setGrp(int grp)
-1
can be used to set the Group to "NOT".
Access rights are expressed in the authorization groups 1 to 9. These groups are all on the same level.
The numbers are only used to distinguish the particular groups.
All access rights of the same authorization groups are connected to each other via a logical OR.
Access rights defined for an authorization group thus sum up. All access rights of different authorization groups
are connected via a logical AND. Only accesses for which access authorization was granted in all authorization groups are allowed.
"NOT" stands for access denial. It does not depend on an authorization group and applies in all cases.grp
- Authorization grouppublic java.lang.String getName()
public void setName(java.lang.String name)
name
- maximum 200 characterspublic java.lang.String getHost()
public void setHost(java.lang.String host)
host
- maximum 200 characterspublic java.lang.String getLogin()
public void setLogin(java.lang.String login)
login
- maximum 200 characterspublic java.lang.String getFileNameSource()
public void setFileNameSource(java.lang.String fileNameSource)
fileNameSource
- maximum 255 characterspublic java.lang.String getFileNameDestination()
public void setFileNameDestination(java.lang.String fileNameDestination)
fileNameDestination
- maximum 255 characterspublic java.lang.String getHostDestination()
public void setHostDestination(java.lang.String hostDestination)
hostDestination
- maximum 200 characterspublic java.lang.String getLoginDestination()
public void setLoginDestination(java.lang.String loginDestination)
loginDestination
- maximum 200 characterspublic boolean isRead()
Rights
public void setRead(boolean read)
Rights
public boolean isWrite()
Rights
public void setWrite(boolean write)
Rights
public boolean isExecute()
Rights
public void setExecute(boolean execute)
Rights
setExecute
in interface Rights
execute
- true
to enable, false
to disable this actionpublic boolean isDelete()
Rights
public void setDelete(boolean delete)
Rights
public boolean isCancel()
Rights
public void setCancel(boolean cancel)
Rights
public boolean isStatistics()
Rights
isStatistics
in interface Rights
true
if enabled, false
if disabledpublic void setStatistics(boolean statistics)
Rights
setStatistics
in interface Rights
statistics
- true
to enable, false
to disable this actionpublic boolean isReport()
Rights
public void setReport(boolean report)
Rights
public boolean isModifyAtRuntime()
Rights
isModifyAtRuntime
in interface Rights
true
if enabled, false
if disabledpublic void setModifyAtRuntime(boolean modifyAtRuntime)
Rights
setModifyAtRuntime
in interface Rights
modifyAtRuntime
- true
to enable, false
to disable this actionpublic boolean isDefineSLA()
Rights
isDefineSLA
in interface Rights
true
if enabled, false
if disabledpublic void setDefineSLA(boolean defineSLA)
Rights
setDefineSLA
in interface Rights
defineSLA
- true
to enable, false
to disable this actionprotected boolean isModified()
protected void setModified(boolean b)