Class ResourceTypeDefaultImplementation
java.lang.Object
fr.paris.lutece.plugins.resource.business.ResourceTypeDefaultImplementation
- All Implemented Interfaces:
IResourceType,Serializable
public class ResourceTypeDefaultImplementation
extends Object
implements IResourceType, Serializable
Default implementation of resource types
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResourceTypeDefaultImplementation(String strResourceTypeName, String strResourceTypeDescription) Creates a new resource type -
Method Summary
Modifier and TypeMethodDescriptionGet the description of the resource type.Get the name of the resource type.
-
Constructor Details
-
ResourceTypeDefaultImplementation
public ResourceTypeDefaultImplementation(String strResourceTypeName, 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 Details
-
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
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
-