Class MyDashboardComponent
java.lang.Object
fr.paris.lutece.plugins.mydashboard.service.MyDashboardComponent
- All Implemented Interfaces:
IMyDashboardComponent,Serializable,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, Serializable
Dash board Component
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintbooleaninthashCode()booleanisAvailable(fr.paris.lutece.portal.service.security.LuteceUser user) Check if the dashboard is available or not for a given Lutece UserMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.plugins.mydashboard.service.IMyDashboardComponent
getComponentDescription, getComponentId, getDashboardData
-
Constructor Details
-
MyDashboardComponent
public MyDashboardComponent()
-
-
Method Details
-
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:
isAvailablein interfaceIMyDashboardComponent- Parameters:
user- The user- Returns:
- True if the dashboard is available for the given user, false otherwise
-
compareTo
- Specified by:
compareToin interfaceComparable<IMyDashboardComponent>
-
equals
-
hashCode
public int hashCode() -
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-