fr.paris.lutece.plugins.dbpage.business.section
Enum DbSectionService

java.lang.Object
  extended by java.lang.Enum<DbSectionService>
      extended by fr.paris.lutece.plugins.dbpage.business.section.DbSectionService
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DbSectionService>

public enum DbSectionService
extends java.lang.Enum<DbSectionService>

Service fetching the declared section


Enum Constant Summary
INSTANCE
           
 
Method Summary
 java.util.Map findAdditionalMap(java.lang.String strIdType)
          Finds the additional map
 DbPageSection findById(java.lang.String strIdType)
          Finds an empty section by its type
 java.lang.String findCreationTemplate(java.lang.String strIdType)
          Finds the template for creation
 fr.paris.lutece.util.ReferenceList findDbPageDatabaseTypesList()
          Finds the sections found in plugin and also in compatible modules
 java.lang.String findModificationTemplate(java.lang.String strIdType)
          Finds the template for modification
static DbSectionService valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DbSectionService[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INSTANCE

public static final DbSectionService INSTANCE
Method Detail

values

public static DbSectionService[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DbSectionService c : DbSectionService.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DbSectionService valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

findDbPageDatabaseTypesList

public fr.paris.lutece.util.ReferenceList findDbPageDatabaseTypesList()
Finds the sections found in plugin and also in compatible modules

Returns:
The list of available section

findById

public DbPageSection findById(java.lang.String strIdType)
Finds an empty section by its type

Parameters:
strIdType - The type of the section
Returns:
the section

findCreationTemplate

public java.lang.String findCreationTemplate(java.lang.String strIdType)
Finds the template for creation

Parameters:
strIdType - The type of the section
Returns:
The path of the template

findModificationTemplate

public java.lang.String findModificationTemplate(java.lang.String strIdType)
Finds the template for modification

Parameters:
strIdType - The type of the section
Returns:
The path of the template

findAdditionalMap

public java.util.Map findAdditionalMap(java.lang.String strIdType)
Finds the additional map

Parameters:
strIdType - The type of the section
Returns:
The additonal map


Copyright © 2010 Mairie de Paris. All Rights Reserved.