All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class icc.face.AccessPage

java.lang.Object
   |
   +----icc.face.Presenter
           |
           +----icc.face.AccessPage

public final class AccessPage
extends Presenter
The AccessPage class represents an interface for the presentation and modification of project partners' access information with respect to a given project cube.

See Also:
Cube, Access

Variable Index

 o areas
An array of new area specifiers for the current project.
 o DELETE
A useful constant to check for or specify delete permission.
 o NONE
A useful constant to check for or specify no permission.
 o NULL
A useful constant to check if no individual permission is specified.
 o READ
A useful constant to check for or specify read permission.
 o times
An array of new time specifiers for the current project.
 o types
An array of new type specifiers for the current project.
 o WRITE
A useful constant to check for or specify write permission.

Constructor Index

 o AccessPage(Client, Handler, String, String)
Allocates an AccessPage object for the specified client applet and handler and with the specified display name and url.

Method Index

 o areaSelected(String)
Checks whether the specified area specifier is selected or not.
 o cubeExists()
Returns whether the current project cube has access information specified in the project database.
 o getAccess()
Returns the current access information.
 o getDefault()
Returns the default access information.
 o getMembers(Integer)
Returns an array of all team members for the specified team
 o getPermission(Integer)
Returns the current access permission for the specified partner.
 o getProjectMembers(Integer)
Returns an array of team members for the specified team, that are project partners for the current project.
 o getProjectName()
Returns the current project name.
 o getProjectTeams()
Returns an array of teams that contain project partners for the current project.
 o getUsername(Integer)
 o projectAreas()
Returns an array of project area specifiers defined for the current project.
 o projectTimes()
Returns an array of project time specifiers defined for the current project.
 o projectTypes()
Returns an array of project type specifiers defined for the current project.
 o setAccess(Cube)
Sets the current project cube and retrieves the corresponding access information.
 o setProject(Integer)
Sets the current project.
 o submit()
 o teams()
Returns an array of teams for the root project.
 o timeSelected(String)
Checks whether the specified time specifier is selected or not.
 o toggleArea(String)
Toggles whether the specified area specifier is selected or not.
 o toggleTime(String)
Toggles whether the specified time specifier is selected or not.
 o toggleType(String)
Toggles whether the specified type specifier is selected or not.
 o typeSelected(String)
Checks whether the specified type specifier is selected or not.

Variables

 o DELETE
 public final char DELETE
A useful constant to check for or specify delete permission.

See Also:
DELETE
 o WRITE
 public final char WRITE
A useful constant to check for or specify write permission.

See Also:
WRITE
 o READ
 public final char READ
A useful constant to check for or specify read permission.

See Also:
READ
 o NONE
 public final char NONE
A useful constant to check for or specify no permission.

See Also:
NONE
 o NULL
 public final char NULL
A useful constant to check if no individual permission is specified.

See Also:
NULL
 o areas
 public String areas[]
An array of new area specifiers for the current project.

 o times
 public String times[]
An array of new time specifiers for the current project.

 o types
 public String types[]
An array of new type specifiers for the current project.

Constructors

 o AccessPage
 public AccessPage(Client client,
                   Handler handler,
                   String display,
                   String url)
Allocates an AccessPage object for the specified client applet and handler and with the specified display name and url.

Parameters:
client - the client applet
handler - the client handler
display - a display name
url - a url to be published in this display

Methods

 o getProjectName
 public String getProjectName()
Returns the current project name.

Returns:
a project name
 o getAccess
 public Access getAccess()
Returns the current access information.

Returns:
the current access information
 o getDefault
 public Access getDefault()
Returns the default access information.

Returns:
the default access information
 o cubeExists
 public boolean cubeExists()
Returns whether the current project cube has access information specified in the project database.

Returns:
true if the current cube exists, false otherwise
 o getPermission
 public char getPermission(Integer id)
Returns the current access permission for the specified partner.

Parameters:
id - a partner identifier
Returns:
an access permission
 o projectAreas
 public String[] projectAreas()
Returns an array of project area specifiers defined for the current project.

Returns:
an array of project area specifiers
 o projectTimes
 public String[] projectTimes()
Returns an array of project time specifiers defined for the current project.

Returns:
an array of project time specifiers
 o projectTypes
 public String[] projectTypes()
Returns an array of project type specifiers defined for the current project.

Returns:
an array of project type specifiers
 o setProject
 public void setProject(Integer id)
Sets the current project.

Parameters:
id - a project identifier
 o setAccess
 public void setAccess(Cube cube)
Sets the current project cube and retrieves the corresponding access information. If no access information is specified for this cube, default access information is created. This newly created access information only becomes valid when submitted to the project database.

Parameters:
cube - a new or existing project cube
 o areaSelected
 public boolean areaSelected(String area)
Checks whether the specified area specifier is selected or not.

Parameters:
area - an area specifier
Returns:
true if the area specifier is selected, false otherwise
 o toggleArea
 public void toggleArea(String area)
Toggles whether the specified area specifier is selected or not.

Parameters:
area - an area specifier
 o timeSelected
 public boolean timeSelected(String time)
Checks whether the specified time specifier is selected or not.

Parameters:
time - an time specifier
Returns:
true if the time specifier is selected, false otherwise
 o toggleTime
 public void toggleTime(String time)
Toggles whether the specified time specifier is selected or not.

Parameters:
time - an time specifier
 o typeSelected
 public boolean typeSelected(String type)
Checks whether the specified type specifier is selected or not.

Parameters:
type - an type specifier
Returns:
true if the type specifier is selected, false otherwise
 o toggleType
 public void toggleType(String type)
Toggles whether the specified type specifier is selected or not.

Parameters:
type - an type specifier
 o teams
 public Integer[] teams()
Returns an array of teams for the root project.

Returns:
an array of team member identifiers
 o getProjectTeams
 public Integer[] getProjectTeams()
Returns an array of teams that contain project partners for the current project.

Returns:
an array of team identifiers
 o getMembers
 public Integer[] getMembers(Integer id)
Returns an array of all team members for the specified team

Parameters:
id - a team identifier
Returns:
an array of team member identifiers
 o getProjectMembers
 public Integer[] getProjectMembers(Integer id)
Returns an array of team members for the specified team, that are project partners for the current project.

Parameters:
id - a team identifier
Returns:
an array of team member identifiers
 o getUsername
 public String getUsername(Integer id)
 o submit
 public void submit()

All Packages  Class Hierarchy  This Package  Previous  Next  Index

This website has been archived and is no longer maintained.