|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkieker.webgui.web.beans.view.ProjectOverviewBean
@Component @Scope(value="view") public final class ProjectOverviewBean
The ProjectOverviewBean contains the necessary data behind an instance of the project overview.
The class is a Spring managed bean with view scope.
| Constructor Summary | |
|---|---|
ProjectOverviewBean()
Creates a new instance of this class. |
|
| Method Summary | |
|---|---|
void |
addProject(NewProjectBean newProjectBean)
Adds a project to the application, using the given project bean. |
void |
copyProject(CopyProjectBean copyProjectBean)
This method copies the current project. |
void |
delProject()
This method deletes the current project. |
String |
getAnalysisControllerState(String project)
This method can be used to deliver the state of the analysis controller of the given project as a human readable string. |
String |
getCurrTimeStamp(String project)
This method can be used to get the current time stamp of a given project as a human readable date. |
String |
getLastUser(String project)
Delivers the last user of the given project or a substitution if the meta data is corrupt or missing. |
String |
getOwner(String project)
Delivers the owner of the given project or a substitution if the meta data is corrupt or missing. |
String |
getProjectName()
|
List<String> |
getProjects()
|
protected void |
initialialize()
This method initializes the bean. |
void |
renameProject(RenameProjectBean renameProjectBean)
This method renames the current project. |
void |
rowSelectHandler(org.primefaces.event.SelectEvent event)
This is the event handler used to select a row instantaneously. |
void |
setProjectName(String projectName)
|
void |
updateAvailableProjects()
Updates the list with the available availableProjects. |
void |
uploadProject(ImportProjectBean importProjectBean)
This method uploads a project. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectOverviewBean()
| Method Detail |
|---|
@PostConstruct protected void initialialize()
public void addProject(NewProjectBean newProjectBean)
newProjectBean - The bean containing the necessary data to create the project.public void renameProject(RenameProjectBean renameProjectBean)
renameProjectBean - The bean containing the necessary data to rename the current project.public void delProject()
public void copyProject(CopyProjectBean copyProjectBean)
copyProjectBean - The bean containing the necessary data to copy the current project.public void uploadProject(ImportProjectBean importProjectBean)
importProjectBean - The bean containing the necessary data to upload the project.public void rowSelectHandler(org.primefaces.event.SelectEvent event)
event - The select event.public void updateAvailableProjects()
public List<String> getProjects()
public String getProjectName()
public void setProjectName(String projectName)
public String getCurrTimeStamp(String project)
project - The project whose time stamp should be collected.
public String getOwner(String project)
project - The name of the project whose owner should be delivered.
public String getLastUser(String project)
project - The name of the project whose last user should be delivered.
public String getAnalysisControllerState(String project)
project - The project whose state should be delivered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||