Class ResourceTypeDefaultImplementation

java.lang.Object
fr.paris.lutece.plugins.resource.business.ResourceTypeDefaultImplementation
All Implemented Interfaces:
IResourceType

public class ResourceTypeDefaultImplementation extends Object implements IResourceType
Default implementation of resource types
  • 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

      public 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:
      getResourceTypeName in interface IResourceType
      Returns:
      the name of the resource type
    • getResourceTypeDescription

      public String getResourceTypeDescription()
      Get the description of the resource type. The description is used to be displayed to users.
      Specified by:
      getResourceTypeDescription in interface IResourceType
      Returns:
      The description of the resource type