fr.paris.lutece.plugins.mydashboard.service
Class MyDashboardComponent

java.lang.Object
  extended by fr.paris.lutece.plugins.mydashboard.service.MyDashboardComponent
All Implemented Interfaces:
IMyDashboardComponent, Comparable<IMyDashboardComponent>, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
MyDashboardComponentMyDashboard, MyDashboardComponentNickname

public abstract class MyDashboardComponent
extends Object
implements IMyDashboardComponent, org.springframework.beans.factory.InitializingBean

Dash board Component


Constructor Summary
MyDashboardComponent()
           
 
Method Summary
 void afterPropertiesSet()
          
 int compareTo(IMyDashboardComponent o)
          
 boolean equals(Object obj)
          
 int hashCode()
          
 boolean isAvailable(fr.paris.lutece.portal.service.security.LuteceUser user)
          Check if the dashboard is available or not for a given Lutece User
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.paris.lutece.plugins.mydashboard.service.IMyDashboardComponent
getComponentDescription, getComponentId, getDashboardData
 

Constructor Detail

MyDashboardComponent

public MyDashboardComponent()
Method Detail

isAvailable

public boolean isAvailable(fr.paris.lutece.portal.service.security.LuteceUser user)
Check if the dashboard is available or not for a given Lutece User

Specified by:
isAvailable in interface IMyDashboardComponent
Parameters:
user - The user
Returns:
True if the dashboard is available for the given user, false otherwise

compareTo

public int compareTo(IMyDashboardComponent o)

Specified by:
compareTo in interface Comparable<IMyDashboardComponent>

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2014 Mairie de Paris. All Rights Reserved.