Class FileUploadColumnEventHandler
- java.lang.Object
-
- org.openbravo.client.kernel.event.EntityPersistenceEventObserver
-
- org.openbravo.client.application.event.FileUploadColumnEventHandler
-
public class FileUploadColumnEventHandler extends EntityPersistenceEventObserver
This event handler prevents to add File upload references in standard windows. These references are available for ProcessDefinition only
-
-
Constructor Summary
Constructors Constructor Description FileUploadColumnEventHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Entity[]
getObservedEntities()
Must be implemented by subclass to signal whichEntity
types are observed.void
onSave(EntityNewEvent event)
void
onUpdate(EntityUpdateEvent event)
-
Methods inherited from class org.openbravo.client.kernel.event.EntityPersistenceEventObserver
isValidEvent
-
-
-
-
Method Detail
-
getObservedEntities
protected Entity[] getObservedEntities()
Description copied from class:EntityPersistenceEventObserver
Must be implemented by subclass to signal whichEntity
types are observed.- Specified by:
getObservedEntities
in classEntityPersistenceEventObserver
- Returns:
- the array of entity instances to observe.
- See Also:
EntityPersistenceEventObserver.isValidEvent(EntityPersistenceEvent)
-
onUpdate
public void onUpdate(@Observes EntityUpdateEvent event)
-
onSave
public void onSave(@Observes EntityNewEvent event)
-
-