public class AccessTask
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARTIFACT
Range type: artifact
|
static java.lang.String |
COMPANY
Range type: company
|
static java.lang.String |
DEPARTMENT
Range type: department
|
static java.lang.String |
MEMBER
Range type: member
|
static java.lang.String |
PROCESS
Range type: process
|
static java.lang.String |
PROJECT
Range type: project
|
static java.lang.String |
ROLE
Range type: role
|
Constructor and Description |
---|
AccessTask()
Constructor.
|
AccessTask(java.lang.String rID)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.String |
getMemberID()
Get id of the member who owns the access right.
|
java.lang.String |
getRangeID()
Get id of the scope which owns the tasks.
|
java.lang.String |
getRangeType()
Get type of the scope which owns the tasks.
|
boolean |
getRead()
Get the access right for reading.
|
boolean |
getRun()
Get the access right for running.
|
void |
setMemberID(java.lang.String id)
Set id of the member who owns the access right.
|
void |
setRangeID(java.lang.String id)
Set id of the scope which owns the tasks.
|
void |
setRangeType(java.lang.String type)
Set type of the scope which owns the tasks.
|
void |
setRead(boolean b)
Set the access right for reading.
|
void |
setRun(boolean b)
Set the access right for running.
|
public static final java.lang.String COMPANY
public static final java.lang.String DEPARTMENT
public static final java.lang.String ROLE
public static final java.lang.String MEMBER
public static final java.lang.String PROJECT
public static final java.lang.String PROCESS
public static final java.lang.String ARTIFACT
public AccessTask()
AccessTask
without parameters.public AccessTask(java.lang.String rID)
AccessTask
with the specified scope.rID
- the given range idpublic void setMemberID(java.lang.String id)
id
- the given member idpublic java.lang.String getMemberID()
public void setRangeID(java.lang.String id)
id
- the given range idpublic java.lang.String getRangeID()
public void setRangeType(java.lang.String type)
id
- the given range type. (COMPANY, DEPARTMENT, ROLE, MEMBER, PROJECT, PROCESS, ARTIFACT)public java.lang.String getRangeType()
public void setRun(boolean b)
b
- the given boolean valuepublic boolean getRun()
public void setRead(boolean b)
b
- the given boolean valuepublic boolean getRead()
public java.lang.Object clone()
clone
in class java.lang.Object
Copyright ? 2022. All Rights Reserved.