fr.paris.lutece.plugins.mydashboard.business
Class MyDashboardConfiguration

java.lang.Object
  extended by fr.paris.lutece.plugins.mydashboard.business.MyDashboardConfiguration
All Implemented Interfaces:
Comparable<MyDashboardConfiguration>

public class MyDashboardConfiguration
extends Object
implements Comparable<MyDashboardConfiguration>

User configuration of dashboards


Constructor Summary
MyDashboardConfiguration()
           
 
Method Summary
 int compareTo(MyDashboardConfiguration o)
          
 boolean equals(Object o)
          
 boolean getHideDashboard()
          Check if the dashboard should be hidden for the associated user or not
 String getIdConfig()
          Get the id of the config of this dashboard configuration
 String getMyDashboardComponentId()
          Get the id of the dashboard component
 int getOrder()
          Returns the Order
 int hashCode()
          
 void setHideDashboard(boolean bHideDashboard)
          Set the visibility of the dashboard for the associated user
 void setIdConfig(String strIdConfig)
          Set the id of the config of this dashboard configuration
 void setMyDashboardComponentId(String strMyDashboardComponentId)
          Set the id of the dashboard component
 void setOrder(int nOrder)
          Sets the Order
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyDashboardConfiguration

public MyDashboardConfiguration()
Method Detail

getOrder

public int getOrder()
Returns the Order

Returns:
The Order

setOrder

public void setOrder(int nOrder)
Sets the Order

Parameters:
nOrder - The Order

getIdConfig

public String getIdConfig()
Get the id of the config of this dashboard configuration

Returns:
the user name

setIdConfig

public void setIdConfig(String strIdConfig)
Set the id of the config of this dashboard configuration

Parameters:
strIdConfig - the id of the config

getMyDashboardComponentId

public String getMyDashboardComponentId()
Get the id of the dashboard component

Returns:
The id of the dashboard component

setMyDashboardComponentId

public void setMyDashboardComponentId(String strMyDashboardComponentId)
Set the id of the dashboard component

Parameters:
strMyDashboardComponentId - The id of the dashboard component

getHideDashboard

public boolean getHideDashboard()
Check if the dashboard should be hidden for the associated user or not

Returns:
True if the dashboard should be hidden for this user, false otherwise

setHideDashboard

public void setHideDashboard(boolean bHideDashboard)
Set the visibility of the dashboard for the associated user

Parameters:
bHideDashboard - True if the dashboard should be hidden for this user, false otherwise

compareTo

public int compareTo(MyDashboardConfiguration o)

Specified by:
compareTo in interface Comparable<MyDashboardConfiguration>

equals

public boolean equals(Object o)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object


Copyright © 2014 Mairie de Paris. All Rights Reserved.