Agentflow
V3.1

pe.pase
Class AccessArtifact

java.lang.Object
  extended by pe.pase.AccessArtifact
All Implemented Interfaces:
java.io.Serializable

public class AccessArtifact
extends java.lang.Object
implements java.io.Serializable

The member's access right for artifacts within the specified scope. The access right has two parts: running and reading. The access right for running represents whether the member can use the artifacts. The access right for reading represents whether the member can read the artifacts.

Version:
1.3
Author:
lchuang
See Also:
Serialized Form

Field Summary
static java.lang.String ARTIFACT
          Range type: artifact
static java.lang.String PROCESS
          Range type: artifact
static java.lang.String PROJECT
          Range type: project
 
Constructor Summary
AccessArtifact()
          Constructor.
AccessArtifact(java.lang.String rID)
          Constructor.
 
Method Summary
 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 artifacts.
 java.lang.String getRangeType()
          Get type of the scope which owns the artifacts.
 boolean getRead()
          Get the access right for reading.
 boolean getRun()
          Get the access right for running.
 void setMemberID(java.lang.String mID)
          Set id of the member who owns the access right.
 void setRangeID(java.lang.String id)
          Set id of the scope which owns the artifacts.
 void setRangeType(java.lang.String type)
          Set type of the scope which owns the artifacts.
 void setRead(boolean b)
          Set the access right for reading.
 void setRun(boolean b)
          Set the access right for running.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARTIFACT

public static final java.lang.String ARTIFACT
Range type: artifact

Since:
version 1.0.0
See Also:
Constant Field Values

PROCESS

public static final java.lang.String PROCESS
Range type: artifact

Since:
version 1.0.0
See Also:
Constant Field Values

PROJECT

public static final java.lang.String PROJECT
Range type: project

Since:
version 1.0.0
See Also:
Constant Field Values
Constructor Detail

AccessArtifact

public AccessArtifact()
Constructor. Construct a instance of AccessArtifact without parameters.

Since:
version 1.0.0

AccessArtifact

public AccessArtifact(java.lang.String rID)
Constructor. Construct a instance of AccessArtifact with the specified range.

Parameters:
id - the given range
Since:
version 1.0.0
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getMemberID

public java.lang.String getMemberID()
Get id of the member who owns the access right.

Returns:
the member id
Since:
version 1.0.0

getRangeID

public java.lang.String getRangeID()
Get id of the scope which owns the artifacts.

Returns:
the range id
Since:
version 1.0.0

getRangeType

public java.lang.String getRangeType()
Get type of the scope which owns the artifacts.

Returns:
the range type. (PROCESS, PROJECT, ARTIFACT)
Since:
version 1.0.0

getRead

public boolean getRead()
Get the access right for reading.

Returns:
true the member can read all tasks within the scope; false otherwise.
Since:
version 1.0.0

getRun

public boolean getRun()
Get the access right for running.

Returns:
true the member can use all tasks within the scope; false otherwise.
Since:
version 1.0.0

setMemberID

public void setMemberID(java.lang.String mID)
Set id of the member who owns the access right.

Parameters:
id - the given member id
Since:
version 1.0.0

setRangeID

public void setRangeID(java.lang.String id)
Set id of the scope which owns the artifacts.

Parameters:
id - the given range id
Since:
version 1.0.0

setRangeType

public void setRangeType(java.lang.String type)
Set type of the scope which owns the artifacts.

Parameters:
id - the given range type. (PROCESS, PROJECT, ARTIFACT)
Since:
version 1.0.0

setRead

public void setRead(boolean b)
Set the access right for reading. true the member can read all tasks within the scope; false otherwise.

Parameters:
b - the given boolean value
Since:
version 1.0.0

setRun

public void setRun(boolean b)
Set the access right for running. true the member can use all tasks within the scope; false otherwise.

Parameters:
b - the given boolean value
Since:
version 1.0.0

Agentflow
V3.1

Submit a bug or feature
Copyright 1999-2010 Flowring , Inc. 12F., No.120, Sec2, Gongdao 5th Rd.,
Hsinchu City 300, Taiwan (R.O.C.) All Rights Reserved.