Class EntryTypeService


  • public final class EntryTypeService
    extends java.lang.Object
    EntryTypeService
    Author:
    Laurent Payen
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      fr.paris.lutece.plugins.genericattributes.business.EntryType getEntryType​(int nId)
      Get the entry type given the class name
      fr.paris.lutece.util.ReferenceList getEntryTypeReferenceList()
      Get a reference list containing entry types
      static EntryTypeService getInstance()
      Get the instance of the service
      java.util.List<fr.paris.lutece.plugins.genericattributes.business.EntryType> getListActiveEntryType()
      Get a list containing the active EntryType elements
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstance

        public static EntryTypeService getInstance()
        Get the instance of the service
        Returns:
        The instance of the service
      • getEntryType

        public fr.paris.lutece.plugins.genericattributes.business.EntryType getEntryType​(int nId)
        Get the entry type given the class name
        Parameters:
        nId - the id of the entry type
        Returns:
        an EntryType
      • getEntryTypeReferenceList

        public fr.paris.lutece.util.ReferenceList getEntryTypeReferenceList()
        Get a reference list containing entry types
        Returns:
        A reference list containing entry types
      • getListActiveEntryType

        public java.util.List<fr.paris.lutece.plugins.genericattributes.business.EntryType> getListActiveEntryType()
        Get a list containing the active EntryType elements
        Returns:
        a List of currently active EntryTypes