Agentflow
V3.1

pe.pase
Class AccessSchedule

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

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

The member's access right for the schedule 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 tasks. The access right for reading represents whether the member can read the tasks.

Version:
1.3
Author:
lchuang
See Also:
Serialized Form

Field Summary
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 ROLE
          Range type: role
 
Constructor Summary
AccessSchedule()
          Constructor.
AccessSchedule(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 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPANY

public static final java.lang.String COMPANY
Range type: company

Since:
version 1.3
See Also:
Constant Field Values

DEPARTMENT

public static final java.lang.String DEPARTMENT
Range type: department

Since:
version 1.3
See Also:
Constant Field Values

MEMBER

public static final java.lang.String MEMBER
Range type: member

See Also:
Constant Field Values

ROLE

public static final java.lang.String ROLE
Range type: role

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

AccessSchedule

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

Since:
version 1.3

AccessSchedule

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

Parameters:
rID - the given range id
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 tasks.

Returns:
the range id
Since:
version 1.0.0

getRangeType

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

Returns:
the range type. (COMPANY, DEPARTMENT, ROLE, MEMBER, PROJECT, PROCESS, 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.3

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.3

setMemberID

public void setMemberID(java.lang.String id)
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 tasks.

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 tasks.

Parameters:
id - the given range type. (COMPANY, DEPARTMENT, ROLE, MEMBER, PROJECT, PROCESS, 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.3

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.3

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.