fr.paris.lutece.plugins.myapps.business
Class MyApps

java.lang.Object
  extended by fr.paris.lutece.plugins.myapps.business.MyApps
All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACResource

public abstract class MyApps
extends java.lang.Object
implements fr.paris.lutece.portal.service.rbac.RBACResource

MyApps


Field Summary
static java.lang.String RESOURCE_TYPE
           
 
Constructor Summary
MyApps()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Override the method equals
 java.lang.String getDescription()
          Returns the Description
 int getIdApplication()
          Returns the IdApplication
 java.lang.String getName()
          Returns the Name
abstract  MyAppsProvider getProvider()
          Get the provider that provides this MyApp
 java.lang.String getResourceId()
          Get the resource ID
 java.lang.String getResourceTypeCode()
          Get the resource type code
 java.lang.String getUrl()
          Returns the Url
 int hashCode()
          Override the method hashCode
abstract  boolean hasIcon()
          Check if the myApp has an icon or not
 void setDescription(java.lang.String strDescription)
          Sets the Description
 void setIdApplication(int nIdApplication)
          Sets the IdApplication
 void setName(java.lang.String strName)
          Sets the Name
 void setUrl(java.lang.String strUrl)
          Sets the Url
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_TYPE

public static final java.lang.String RESOURCE_TYPE
See Also:
Constant Field Values
Constructor Detail

MyApps

public MyApps()
Method Detail

hasIcon

public abstract boolean hasIcon()
Check if the myApp has an icon or not

Returns:
true if it has an icon, false otherwise

getProvider

public abstract MyAppsProvider getProvider()
Get the provider that provides this MyApp

Returns:
a MyAppsProvider

getIdApplication

public int getIdApplication()
Returns the IdApplication

Returns:
The IdApplication

setIdApplication

public void setIdApplication(int nIdApplication)
Sets the IdApplication

Parameters:
nIdApplication - The IdApplication

getName

public java.lang.String getName()
Returns the Name

Returns:
The Name

setName

public void setName(java.lang.String strName)
Sets the Name

Parameters:
strName - The Name

getDescription

public java.lang.String getDescription()
Returns the Description

Returns:
The Description

setDescription

public void setDescription(java.lang.String strDescription)
Sets the Description

Parameters:
strDescription - The Description

getUrl

public java.lang.String getUrl()
Returns the Url

Returns:
The Url

setUrl

public void setUrl(java.lang.String strUrl)
Sets the Url

Parameters:
strUrl - The Url

getResourceId

public java.lang.String getResourceId()
Get the resource ID

Specified by:
getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResource
Returns:
the resource ID

getResourceTypeCode

public java.lang.String getResourceTypeCode()
Get the resource type code

Specified by:
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
Returns:
the resource type code

equals

public boolean equals(java.lang.Object o)
Override the method equals

Overrides:
equals in class java.lang.Object
Parameters:
o - Object
Returns:
true if it is equals to the object o

hashCode

public int hashCode()
Override the method hashCode

Overrides:
hashCode in class java.lang.Object
Returns:
the hashCode


Copyright © 2011 Mairie de Paris. All Rights Reserved.