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
-
areas
- An array of new area specifiers for the current project.
-
DELETE
- A useful constant to check for or specify delete permission.
-
NONE
- A useful constant to check for or specify no permission.
-
NULL
- A useful constant to check if no individual permission is specified.
-
READ
- A useful constant to check for or specify read permission.
-
times
- An array of new time specifiers for the current project.
-
types
- An array of new type specifiers for the current project.
-
WRITE
- A useful constant to check for or specify write permission.
-
AccessPage(Client, Handler, String, String)
- Allocates an AccessPage object for the specified client applet
and handler and with the specified display name and url.
-
areaSelected(String)
- Checks whether the specified area specifier is selected or not.
-
cubeExists()
- Returns whether the current project cube has access information
specified in the project database.
-
getAccess()
- Returns the current access information.
-
getDefault()
- Returns the default access information.
-
getMembers(Integer)
- Returns an array of all team members for the specified team
-
getPermission(Integer)
- Returns the current access permission for the specified partner.
-
getProjectMembers(Integer)
- Returns an array of team members for the specified team,
that are project partners for the current project.
-
getProjectName()
- Returns the current project name.
-
getProjectTeams()
- Returns an array of teams that contain project partners for the
current project.
-
getUsername(Integer)
-
-
projectAreas()
- Returns an array of project area specifiers defined for the current
project.
-
projectTimes()
- Returns an array of project time specifiers defined for the current
project.
-
projectTypes()
- Returns an array of project type specifiers defined for the current
project.
-
setAccess(Cube)
- Sets the current project cube and retrieves the corresponding access
information.
-
setProject(Integer)
- Sets the current project.
-
submit()
-
-
teams()
- Returns an array of teams for the root project.
-
timeSelected(String)
- Checks whether the specified time specifier is selected or not.
-
toggleArea(String)
- Toggles whether the specified area specifier is selected or not.
-
toggleTime(String)
- Toggles whether the specified time specifier is selected or not.
-
toggleType(String)
- Toggles whether the specified type specifier is selected or not.
-
typeSelected(String)
- Checks whether the specified type specifier is selected or not.
DELETE
public final char DELETE
- A useful constant to check for or specify delete permission.
- See Also:
- DELETE
WRITE
public final char WRITE
- A useful constant to check for or specify write permission.
- See Also:
- WRITE
READ
public final char READ
- A useful constant to check for or specify read permission.
- See Also:
- READ
NONE
public final char NONE
- A useful constant to check for or specify no permission.
- See Also:
- NONE
NULL
public final char NULL
- A useful constant to check if no individual permission is specified.
- See Also:
- NULL
areas
public String areas[]
- An array of new area specifiers for the current project.
times
public String times[]
- An array of new time specifiers for the current project.
types
public String types[]
- An array of new type specifiers for the current project.
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
getProjectName
public String getProjectName()
- Returns the current project name.
- Returns:
- a project name
getAccess
public Access getAccess()
- Returns the current access information.
- Returns:
- the current access information
getDefault
public Access getDefault()
- Returns the default access information.
- Returns:
- the default access information
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
getPermission
public char getPermission(Integer id)
- Returns the current access permission for the specified partner.
- Parameters:
- id - a partner identifier
- Returns:
- an access permission
projectAreas
public String[] projectAreas()
- Returns an array of project area specifiers defined for the current
project.
- Returns:
- an array of project area specifiers
projectTimes
public String[] projectTimes()
- Returns an array of project time specifiers defined for the current
project.
- Returns:
- an array of project time specifiers
projectTypes
public String[] projectTypes()
- Returns an array of project type specifiers defined for the current
project.
- Returns:
- an array of project type specifiers
setProject
public void setProject(Integer id)
- Sets the current project.
- Parameters:
- id - a project identifier
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
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
toggleArea
public void toggleArea(String area)
- Toggles whether the specified area specifier is selected or not.
- Parameters:
- area - an area specifier
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
toggleTime
public void toggleTime(String time)
- Toggles whether the specified time specifier is selected or not.
- Parameters:
- time - an time specifier
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
toggleType
public void toggleType(String type)
- Toggles whether the specified type specifier is selected or not.
- Parameters:
- type - an type specifier
teams
public Integer[] teams()
- Returns an array of teams for the root project.
- Returns:
- an array of team member identifiers
getProjectTeams
public Integer[] getProjectTeams()
- Returns an array of teams that contain project partners for the
current project.
- Returns:
- an array of team identifiers
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
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
getUsername
public String getUsername(Integer id)
submit
public void submit()
All Packages Class Hierarchy This Package Previous Next Index
This website has been archived and is no longer maintained.