Class ResourceTypeDefaultImplementation
- java.lang.Object
-
- fr.paris.lutece.plugins.resource.business.ResourceTypeDefaultImplementation
-
- All Implemented Interfaces:
IResourceType
public class ResourceTypeDefaultImplementation extends java.lang.Object implements IResourceType
Default implementation of resource types
-
-
Constructor Summary
Constructors Constructor Description ResourceTypeDefaultImplementation(java.lang.String strResourceTypeName, java.lang.String strResourceTypeDescription)Creates a new resource type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetResourceTypeDescription()Get the description of the resource type.java.lang.StringgetResourceTypeName()Get the name of the resource type.
-
-
-
Constructor Detail
-
ResourceTypeDefaultImplementation
public ResourceTypeDefaultImplementation(java.lang.String strResourceTypeName, java.lang.String strResourceTypeDescription)Creates a new resource type- Parameters:
strResourceTypeName- The name of the resource type. The name is used as primary key and is not displayed to users.strResourceTypeDescription- The description of the resource type. The description is used to be displayed to users.
-
-
Method Detail
-
getResourceTypeName
public java.lang.String getResourceTypeName()
Get the name of the resource type. The name of a resource type must be unique and id used as a primary key.- Specified by:
getResourceTypeNamein interfaceIResourceType- Returns:
- the name of the resource type
-
getResourceTypeDescription
public java.lang.String getResourceTypeDescription()
Get the description of the resource type. The description is used to be displayed to users.- Specified by:
getResourceTypeDescriptionin interfaceIResourceType- Returns:
- The description of the resource type
-
-