Skip to content
Snippets Groups Projects
Commit 5ae6e4de authored by Nils Christian Ehmke's avatar Nils Christian Ehmke
Browse files

Added some comments

parent ebdf55d3
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,9 @@ public interface IProjectDAO {
* @param username
* The name of the user who saves the project.
* @param analysisLayout
* The current layout of the analysis graph. It is valid if this parameter is null.
* The current layout of the analysis graph. It is valid if this parameter is null. In this case the stored layout will not be changed.
* @param cockpitLayout
* The current layout of the cockpit. It is valid if this parameter is null. In this case the stored layout will not be changed.
*
* @throws ProjectNotExistingException
* If a project with the given name does not exist.
......@@ -286,7 +288,7 @@ public interface IProjectDAO {
public abstract String getLastUser(final String projectName);
/**
* Delivers the stored layout for the given project.
* Delivers the stored analysis layout for the given project.
*
* @param projectName
* The name of the project.
......@@ -296,6 +298,14 @@ public interface IProjectDAO {
@PreAuthorize("isAuthenticated()")
public abstract String getAnalysisLayout(String projectName);
/**
* Delivers the stored cockpit layout for the given project.
*
* @param projectName
* The name of the project.
*
* @return The layout string as it is stored within the meta data. If this isn't available, null will be returned.
*/
@PreAuthorize("isAuthenticated()")
public abstract String getCockpitLayout(String projectName);
......
......@@ -163,7 +163,9 @@ public interface IProjectService {
* @param username
* The name of the user who saves the project.
* @param analysisLayout
* The current layout of the analysis graph. It is valid if this parameter is null.
* The current layout of the analysis graph. It is valid if this parameter is null. In this case the stored layout will not be changed.
* @param cockpitLayout
* The current layout of the cockpit. It is valid if this parameter is null. In this case the stored layout will not be changed.
*
* @throws ProjectNotExistingException
* If a project with the given name does not exist.
......@@ -388,7 +390,7 @@ public interface IProjectService {
public boolean deleteLibrary(String projectName, String libName) throws IOException;
/**
* Delivers the stored layout for the given project.
* Delivers the stored analysis layout for the given project.
*
* @param projectName
* The name of the project.
......@@ -398,6 +400,14 @@ public interface IProjectService {
@PreAuthorize("isAuthenticated()")
public abstract String getAnalysisLayout(String projectName);
/**
* Delivers the stored cockpit layout for the given project.
*
* @param projectName
* The name of the project.
*
* @return The layout string as it is stored within the meta data. If this isn't available, null will be returned.
*/
@PreAuthorize("isAuthenticated()")
public abstract String getCockpitLayout(String projectName);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment