All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class icc.face.ControlPage

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

public class ControlPage
extends Presenter
The ControlPage class represents an interface for the selection of documents with respect to a project cube, and an administrative control interface for the definition of new projects and project cubes.

For this purpose, it relies on both a selection folder and a selection cube.

A Folder specifies the project cube and selection criteria for the retrieval of documents. In addition, this control page provides two boolean toggles. The first one specifies whether all information or only the document headers should be retrieved for all document. The second one specifies whether more or fewer selection criteria should be shown in the interface.

A separate Cube allows for the specification of new project cubes.

See Also:
Project, Folder, Cube

Constructor Index

 o ControlPage(Client, Handler, String, String)
Allocates a ControlPage object for the specified client applet and project with the specified display name and url.

Method Index

 o fullDocuments()
Returns whether all information or only the document headers should be retrieved.
 o getNewProjectName()
Returns the new project name, if any.
 o getProjectId()
Returns the current project identifier.
 o getProjectName()
Returns the current project name.
 o getSelectionCube()
Returns the selection project cube.
 o getSelectionFolder()
Returns the folder with the current selection criteria defined.
 o isAdministrator()
Checks if the user is the administrator for the current project.
 o isAdministrator(String)
Checks if the user is the administrator for the specified project.
 o newArea()
Returns whether a new or an existing area is being specified.
 o newProject()
Returns whether a new or an existing project is being specified.
 o newTime()
Returns whether a new or an existing time is being specified.
 o newType()
Returns whether a new or an existing type is being specified.
 o partnerNames()
Returns an array of all partners' usernames.
 o projectAreas()
Returns an array of project area specifiers defined for the current project.
 o projectCubes()
Returns an array of project cubes including user access right.
 o projectNames()
Returns an array of project names defined.
 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 retrieve()
Retrieves the document information with respect to the criteria.
 o setNewProjectName(String)
Sets a new project name.
 o setProjectName(String)
Sets the current project name.
 o setSelectionFolder(Folder)
Sets the folder with the current selection criteria defined to be the specified folder.
 o showMoreCriteria()
Returns whether more or fewer selection criteria should be shown.
 o toggleFull()
Toggles between all and headers only information retrieval.
 o toggleMore()
Toggles between more and fewer selection criteria to be shown.
 o toggleNewArea()
Toggles between a new or an existing area being specified.
 o toggleNewOff()
Sets for all three area, time and type that an existing specifier is to be retrieved.
 o toggleNewProject()
Toggles between a new or an existing project being specified.
 o toggleNewTime()
Toggles between a new or an existing time being specified.
 o toggleNewType()
Toggles between a new or an existing type being specified.

Constructors

 o ControlPage
 public ControlPage(Client client,
                    Handler handler,
                    String display,
                    String url)
Allocates a ControlPage object for the specified client applet and project 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 getProjectId
 public Integer getProjectId()
Returns the current project identifier.

Returns:
a project identifier
 o getNewProjectName
 public String getNewProjectName()
Returns the new project name, if any.

Returns:
a new project name, null otherwise
 o getSelectionFolder
 public Folder getSelectionFolder()
Returns the folder with the current selection criteria defined.

Returns:
the selection folder
 o fullDocuments
 public boolean fullDocuments()
Returns whether all information or only the document headers should be retrieved.

Returns:
a boolean value
 o showMoreCriteria
 public boolean showMoreCriteria()
Returns whether more or fewer selection criteria should be shown.

Returns:
a boolean value
 o getSelectionCube
 public Cube getSelectionCube()
Returns the selection project cube.

Returns:
the selection cube
 o newProject
 public boolean newProject()
Returns whether a new or an existing project is being specified.

Returns:
true if a new project is being specified, false otherwise
 o newArea
 public boolean newArea()
Returns whether a new or an existing area is being specified.

Returns:
true if a new area is being specified, false otherwise
 o newTime
 public boolean newTime()
Returns whether a new or an existing time is being specified.

Returns:
true if a new time is being specified, false otherwise
 o newType
 public boolean newType()
Returns whether a new or an existing type is being specified.

Returns:
true if a new type is being specified, false otherwise
 o projectNames
 public String[] projectNames()
Returns an array of project names defined.

Returns:
an array of project names
 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 projectCubes
 public Cube[] projectCubes()
Returns an array of project cubes including user access right. Returns null if no access right information is available.

Returns:
an array of project cube information
 o partnerNames
 public String[] partnerNames()
Returns an array of all partners' usernames.

Returns:
an array of usernames
 o isAdministrator
 public boolean isAdministrator()
Checks if the user is the administrator for the current project.

Returns:
true if the user is the administrator, false otherwise
 o isAdministrator
 public boolean isAdministrator(String name)
Checks if the user is the administrator for the specified project.

Parameters:
name - a project name
Returns:
true if the user is the administrator, false otherwise
 o setProjectName
 public void setProjectName(String name)
Sets the current project name. This name must be an existing project name.

Parameters:
name - a project name
 o toggleFull
 public void toggleFull()
Toggles between all and headers only information retrieval.

 o toggleMore
 public void toggleMore()
Toggles between more and fewer selection criteria to be shown.

 o retrieve
 public void retrieve()
Retrieves the document information with respect to the criteria.

 o setNewProjectName
 public void setNewProjectName(String name)
Sets a new project name.

Parameters:
name - a project name
 o toggleNewOff
 public void toggleNewOff()
Sets for all three area, time and type that an existing specifier is to be retrieved.

 o toggleNewProject
 public void toggleNewProject()
Toggles between a new or an existing project being specified.

 o toggleNewArea
 public void toggleNewArea()
Toggles between a new or an existing area being specified.

 o toggleNewTime
 public void toggleNewTime()
Toggles between a new or an existing time being specified.

 o toggleNewType
 public void toggleNewType()
Toggles between a new or an existing type being specified.

 o setSelectionFolder
 public void setSelectionFolder(Folder folder)
Sets the folder with the current selection criteria defined to be the specified folder.

Parameters:
folder - a folder

All Packages  Class Hierarchy  This Package  Previous  Next  Index

This website has been archived and is no longer maintained.