public class EntryService extends fr.paris.lutece.portal.service.util.RemovalListenerService implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_NAME
Name of the bean of this service
|
Constructor and Description |
---|
EntryService() |
Modifier and Type | Method and Description |
---|---|
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 |
removeEntriesByIdCategroy(int nIdCategory)
Remove every entries associated with a given category
|
public static final String BEAN_NAME
public static EntryService getService()
public void moveDownEntryOrder(int nOrderToSet, fr.paris.lutece.plugins.genericattributes.business.Entry entryToChangeOrder)
nOrderToSet
- the new order for the attributeentryToChangeOrder
- the attribute which will changepublic void moveUpEntryOrder(int nOrderToSet, fr.paris.lutece.plugins.genericattributes.business.Entry entryToChangeOrder)
nOrderToSet
- the new order for the attributeentryToChangeOrder
- the attribute which will changepublic void moveEntryIntoGroup(fr.paris.lutece.plugins.genericattributes.business.Entry entryToMove, fr.paris.lutece.plugins.genericattributes.business.Entry entryGroup)
entryToMove
- the entry which will be movedentryGroup
- the entry grouppublic void moveOutEntryFromGroup(fr.paris.lutece.plugins.genericattributes.business.Entry entryToMove)
entryToMove
- the entry to remove from a grouppublic void removeEntriesByIdCategroy(int nIdCategory)
nIdCategory
- The id of the category to remove entries ofCopyright © 2019 City of Paris. All rights reserved.