Skip navigation links


com.openmarket.basic.event
Class AbstractAssetEventListener

java.lang.Object
  extended by com.openmarket.basic.event.AbstractAssetEventListener

All Implemented Interfaces:
Listener<AssetEvent>, AssetEventListener

public abstract class AbstractAssetEventListener
extends java.lang.Object
implements AssetEventListener

Helper base class for AssetEventListeners


Constructor Summary
AbstractAssetEventListener()
           

 

Method Summary
abstract  void assetAdded(AssetId id)
          Indicates that an Asset of a given id was added to the system.
 void assetAdded(AssetId id, boolean isPull)
          Indicates that an Asset of a given id was added to the system.
abstract  void assetDeleted(AssetId id)
          Indicates that an Asset of a given id was deleted.
 void assetDeleted(AssetId id, boolean isPull)
          Indicates that an Asset of a given id was deleted.
 void assetUndoCheckOut(AssetId id)
          Indicates that undo checkout was called on an Asset of a given.
 void assetUndoCheckOut(AssetId id, boolean isPull)
          Indicates that undo checkout was called on an Asset of a given.
abstract  void assetUpdated(AssetId id)
          Indicates that an Asset of a given id was updated.
 void assetUpdated(AssetId id, boolean isPull)
          Indicates that an Asset of a given id was updated.
 void init(ICS ics)
           
 void onEvent(AssetEvent e)
          Handler invoked upon arrival of an Event dispatch.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AbstractAssetEventListener

public AbstractAssetEventListener()

Method Detail

init

public void init(ICS ics)
Specified by:
init in interface AssetEventListener

onEvent

public void onEvent(AssetEvent e)
             throws EventException
Description copied from interface: Listener
Handler invoked upon arrival of an Event dispatch.
Specified by:
onEvent in interface Listener<AssetEvent>
Throws:
EventException

assetAdded

public abstract void assetAdded(AssetId id)
Description copied from interface: AssetEventListener
Indicates that an Asset of a given id was added to the system.
Specified by:
assetAdded in interface AssetEventListener
Parameters:
id - Asset id added

assetAdded

public void assetAdded(AssetId id,
                       boolean isPull)
Description copied from interface: AssetEventListener
Indicates that an Asset of a given id was added to the system.
Specified by:
assetAdded in interface AssetEventListener
Parameters:
id - Asset id added

assetUpdated

public abstract void assetUpdated(AssetId id)
Description copied from interface: AssetEventListener
Indicates that an Asset of a given id was updated.
Specified by:
assetUpdated in interface AssetEventListener
Parameters:
id - Asset id updated

assetUpdated

public void assetUpdated(AssetId id,
                         boolean isPull)
Description copied from interface: AssetEventListener
Indicates that an Asset of a given id was updated.
Specified by:
assetUpdated in interface AssetEventListener
Parameters:
id - Asset id updated

assetDeleted

public abstract void assetDeleted(AssetId id)
Description copied from interface: AssetEventListener
Indicates that an Asset of a given id was deleted.
Specified by:
assetDeleted in interface AssetEventListener
Parameters:
id - Asset id deleted

assetDeleted

public void assetDeleted(AssetId id,
                         boolean isPull)
Description copied from interface: AssetEventListener
Indicates that an Asset of a given id was deleted.
Specified by:
assetDeleted in interface AssetEventListener
Parameters:
id - Asset id deleted

assetUndoCheckOut

public void assetUndoCheckOut(AssetId id)
Description copied from interface: AssetEventListener
Indicates that undo checkout was called on an Asset of a given.
Specified by:
assetUndoCheckOut in interface AssetEventListener
Parameters:
id - Asset id deleted

assetUndoCheckOut

public void assetUndoCheckOut(AssetId id,
                              boolean isPull)
Description copied from interface: AssetEventListener
Indicates that undo checkout was called on an Asset of a given.
Specified by:
assetUndoCheckOut in interface AssetEventListener
Parameters:
id - Asset id deleted

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.