Package com.jalios.jcms.jportal
Class JPortalListener
- java.lang.Object
-
- com.jalios.jcms.BasicStoreListener
-
- com.jalios.jcms.jportal.JPortalListener
-
- All Implemented Interfaces:
PluginComponent
,StoreListener
public class JPortalListener extends BasicStoreListener
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
REVISION
-
Constructor Summary
Constructors Constructor Description JPortalListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleCommitUpdate(Storable storable, Storable oldStorable, boolean firstTime)
When a jportal is updated reset it's mapping in case structure changed-
Methods inherited from class com.jalios.jcms.BasicStoreListener
handleCreate, handleDelete, handlePrepareUpdate, init
-
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleCommitUpdate
public void handleCommitUpdate(Storable storable, Storable oldStorable, boolean firstTime)
When a jportal is updated reset it's mapping in case structure changed- Specified by:
handleCommitUpdate
in interfaceStoreListener
- Overrides:
handleCommitUpdate
in classBasicStoreListener
- Parameters:
storable
- the storable, this instance is the object that was created at first and that will be stored in jcms until deletion of the storable with this ID. You should always manipulate this object if you maintain any index.oldStorable
- the previous version of the storable, it is a clone, do not use in any index, it should only be used to access old values.firstTime
- true if it is the first time this operation is processed- See Also:
StoreListener.handleCommitUpdate(Storable, Storable, boolean)
-
-