Class MyDashboardConfiguration

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

public class MyDashboardConfiguration extends Object implements Comparable<MyDashboardConfiguration>, Serializable
User configuration of dashboards
See Also:
  • Constructor Details

    • MyDashboardConfiguration

      public MyDashboardConfiguration()
  • Method Details

    • 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