fr.cnes.sitools.client.model
Class ProjectIndexDTO

java.lang.Object
  extended by fr.cnes.sitools.client.model.ProjectIndexDTO

public final class ProjectIndexDTO
extends java.lang.Object

Used to create the index.html page Store temporary a list of AddDatasetOpensearchDTO. It also stores Feeds description

Author:
m.gond (AKKA Technologies)

Constructor Summary
ProjectIndexDTO()
          Constructor.
 
Method Summary
 void addAppDatasetOpensearchDTO(AppDatasetOpensearchDTO appDsOsDTO)
          Add a AppDatasetOpensearchDTO to the collection.
 void addAppDatasetOpensearchDTO(java.lang.String url, java.lang.String shortName, java.lang.String datasetName)
          Add a AppDatasetOpensearchDTO to the collection.
 java.util.List<AppDatasetOpensearchDTO> getAppDsOsDTOs()
          Gets the list of AppDatasetOpensearchDTO.
 java.lang.String getAppUrl()
          Gets the appUrl value
 java.util.List<FeedModelDTO> getFeeds()
          Gets the feeds value
 Project getProject()
          Gets the project value
 java.lang.String getProjectCss()
          Get the project CSS
 java.lang.String getProjectDescription()
          Get the project description
 java.lang.String getProjectName()
          Get the project name
 void setAppUrl(java.lang.String appUrl)
          Sets the value of appUrl
 void setFeeds(java.util.List<FeedModelDTO> feeds)
          Sets the value of feeds
 void setProject(Project project)
          Sets the value of project
 void setProjectCss(java.lang.String projectCss)
          Set the the Project's CSS
 void setProjectDescription(java.lang.String projectDescription)
          Set the project description
 void setProjectName(java.lang.String projectName)
          Set the project name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectIndexDTO

public ProjectIndexDTO()
Constructor.

Method Detail

addAppDatasetOpensearchDTO

public void addAppDatasetOpensearchDTO(AppDatasetOpensearchDTO appDsOsDTO)
Add a AppDatasetOpensearchDTO to the collection.

Parameters:
appDsOsDTO - : The AppDatasetOpensearchDTO to store

addAppDatasetOpensearchDTO

public void addAppDatasetOpensearchDTO(java.lang.String url,
                                       java.lang.String shortName,
                                       java.lang.String datasetName)
Add a AppDatasetOpensearchDTO to the collection.

Parameters:
url - : the DataSet application URL
shortName - : the shortName of the OpenSearch description file
datasetName - : the name of the DataSet

getAppDsOsDTOs

public java.util.List<AppDatasetOpensearchDTO> getAppDsOsDTOs()
Gets the list of AppDatasetOpensearchDTO.

Returns:
the list of AppDatasetOpensearchDTO

getProjectName

public java.lang.String getProjectName()
Get the project name

Returns:
the projectName

setProjectName

public void setProjectName(java.lang.String projectName)
Set the project name

Parameters:
projectName - the projectName to set

getProjectDescription

public java.lang.String getProjectDescription()
Get the project description

Returns:
the project description

setProjectDescription

public void setProjectDescription(java.lang.String projectDescription)
Set the project description

Parameters:
projectDescription - the project description to set

setFeeds

public void setFeeds(java.util.List<FeedModelDTO> feeds)
Sets the value of feeds

Parameters:
feeds - the feeds to set

getFeeds

public java.util.List<FeedModelDTO> getFeeds()
Gets the feeds value

Returns:
the feeds

getProjectCss

public java.lang.String getProjectCss()
Get the project CSS

Returns:
the Project's CSS

setProjectCss

public void setProjectCss(java.lang.String projectCss)
Set the the Project's CSS

Parameters:
projectCss - the CSS to set

getAppUrl

public java.lang.String getAppUrl()
Gets the appUrl value

Returns:
the appUrl

setAppUrl

public void setAppUrl(java.lang.String appUrl)
Sets the value of appUrl

Parameters:
appUrl - the appUrl to set

setProject

public void setProject(Project project)
Sets the value of project

Parameters:
project - the project to set

getProject

public Project getProject()
Gets the project value

Returns:
the project


Copyright © 2010-2013 CNES. All Rights Reserved.