fr.paris.lutece.plugins.directory.business
Class DirectoryActionHome

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.business.DirectoryActionHome

public final class DirectoryActionHome
extends Object

This class provides instances management methods (create, find, ...) for DirectortyAction objects


Method Summary
static void addNewActionInDirectoryRecordAction(DirectoryAction directoryAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Add a new action for directory record for module which uses plugin-directory
static boolean checkActionsDirectoryRecord(DirectoryAction directoryAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          This method add new actions for directory record
static void deleteActionsDirectoryRecord(DirectoryAction directoryAction, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a directory record action
static List<DirectoryAction> selectActionsByDirectoryXsl(fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale)
          Load the list of actions for directory Xsl
static List<DirectoryAction> selectActionsByFormState(int nState, fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale)
          Load the list of actions by directory state
static List<DirectoryAction> selectActionsRecordByFormState(int nState, fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale)
          Load the list of actions by directory state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

selectActionsByFormState

public static List<DirectoryAction> selectActionsByFormState(int nState,
                                                             fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                             Locale locale)
Load the list of actions by directory state

Parameters:
nState - the state of the directory
locale - the locale
plugin - the plugin
Returns:
The Collection of actions

selectActionsRecordByFormState

public static List<DirectoryAction> selectActionsRecordByFormState(int nState,
                                                                   fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                                   Locale locale)
Load the list of actions by directory state

Parameters:
nState - the state of the directory
locale - the locale
plugin - the plugin
Returns:
The Collection of actions

addNewActionInDirectoryRecordAction

public static void addNewActionInDirectoryRecordAction(DirectoryAction directoryAction,
                                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
Add a new action for directory record for module which uses plugin-directory

Parameters:
directoryAction - The action builded in module which uses plugin-directory
plugin - the plugin

deleteActionsDirectoryRecord

public static void deleteActionsDirectoryRecord(DirectoryAction directoryAction,
                                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a directory record action

Parameters:
plugin - plugin
directoryAction - The action to delete

checkActionsDirectoryRecord

public static boolean checkActionsDirectoryRecord(DirectoryAction directoryAction,
                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
This method add new actions for directory record

Parameters:
plugin - plugin
directoryAction - action to check
Returns:
True if the action exists, false otherwise

selectActionsByDirectoryXsl

public static List<DirectoryAction> selectActionsByDirectoryXsl(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                                Locale locale)
Load the list of actions for directory Xsl

Parameters:
locale - the locale
plugin - the plugin
Returns:
The Collection of actions


Copyright © 2013 Mairie de Paris. All Rights Reserved.