Class MyDashboardComponent
- java.lang.Object
-
- fr.paris.lutece.plugins.mydashboard.service.MyDashboardComponent
-
- All Implemented Interfaces:
IMyDashboardComponent,java.io.Serializable,java.lang.Comparable<IMyDashboardComponent>,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
MyDashboardComponentMyDashboard,MyDashboardComponentNickname
public abstract class MyDashboardComponent extends java.lang.Object implements IMyDashboardComponent, org.springframework.beans.factory.InitializingBean, java.io.Serializable
Dash board Component- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MyDashboardComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()intcompareTo(IMyDashboardComponent o)booleanequals(java.lang.Object obj)inthashCode()booleanisAvailable(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
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.paris.lutece.plugins.mydashboard.service.IMyDashboardComponent
getComponentDescription, getComponentId, getDashboardData
-
-
-
-
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:
isAvailablein interfaceIMyDashboardComponent- 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:
compareToin interfacejava.lang.Comparable<IMyDashboardComponent>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
-