fr.paris.lutece.plugins.appointment.service
Class EntryService

java.lang.Object
  extended by fr.paris.lutece.portal.service.util.RemovalListenerService
      extended by fr.paris.lutece.plugins.appointment.service.EntryService
All Implemented Interfaces:
Serializable

public class EntryService
extends fr.paris.lutece.portal.service.util.RemovalListenerService
implements Serializable

Service to manage entries

See Also:
Serialized Form

Field Summary
static String BEAN_NAME
          Name of the bean of this service
 
Constructor Summary
EntryService()
           
 
Method Summary
static EntryService getService()
          Get an instance of the service
 void moveDownEntryOrder(int nOrderToSet, fr.paris.lutece.plugins.genericattributes.business.Entry entryToChangeOrder)
          Change the attribute's order to a greater one (move down in the list)
 void moveEntryIntoGroup(fr.paris.lutece.plugins.genericattributes.business.Entry entryToMove, fr.paris.lutece.plugins.genericattributes.business.Entry entryGroup)
          Move EntryToMove into entryGroup
 void moveOutEntryFromGroup(fr.paris.lutece.plugins.genericattributes.business.Entry entryToMove)
          Remove an entry from a group
 void moveUpEntryOrder(int nOrderToSet, fr.paris.lutece.plugins.genericattributes.business.Entry entryToChangeOrder)
          Change the attribute's order to a lower one (move up in the list)
 void removeEntriesByIdAppointmentForm(int nIdForm)
          Remove every entries associated with a given appointment form
 
Methods inherited from class fr.paris.lutece.portal.service.util.RemovalListenerService
checkForRemoval, registerListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_NAME

public static final String BEAN_NAME
Name of the bean of this service

See Also:
Constant Field Values
Constructor Detail

EntryService

public EntryService()
Method Detail

getService

public static EntryService getService()
Get an instance of the service

Returns:
An instance of the service

moveDownEntryOrder

public void moveDownEntryOrder(int nOrderToSet,
                               fr.paris.lutece.plugins.genericattributes.business.Entry entryToChangeOrder)
Change the attribute's order to a greater one (move down in the list)

Parameters:
nOrderToSet - the new order for the attribute
entryToChangeOrder - the attribute which will change

moveUpEntryOrder

public void moveUpEntryOrder(int nOrderToSet,
                             fr.paris.lutece.plugins.genericattributes.business.Entry entryToChangeOrder)
Change the attribute's order to a lower one (move up in the list)

Parameters:
nOrderToSet - the new order for the attribute
entryToChangeOrder - the attribute which will change

moveEntryIntoGroup

public void moveEntryIntoGroup(fr.paris.lutece.plugins.genericattributes.business.Entry entryToMove,
                               fr.paris.lutece.plugins.genericattributes.business.Entry entryGroup)
Move EntryToMove into entryGroup

Parameters:
entryToMove - the entry which will be moved
entryGroup - the entry group

moveOutEntryFromGroup

public void moveOutEntryFromGroup(fr.paris.lutece.plugins.genericattributes.business.Entry entryToMove)
Remove an entry from a group

Parameters:
entryToMove - the entry to remove from a group

removeEntriesByIdAppointmentForm

public void removeEntriesByIdAppointmentForm(int nIdForm)
Remove every entries associated with a given appointment form

Parameters:
nIdForm - The id of the appointment to remove entries of


Copyright © 2014 Mairie de Paris. All Rights Reserved.