org.opencms.publish
Class CmsPublishListenerCollection

java.lang.Object
  extended by java.util.AbstractCollection
      extended by java.util.AbstractList
          extended by java.util.Vector
              extended by org.opencms.publish.CmsPublishListenerCollection
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public final class CmsPublishListenerCollection
extends java.util.Vector

Publish job information bean.

Since:
6.5.5
Version:
$Revision: 1.2 $
Author:
Michael Moossen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
protected CmsPublishListenerCollection(CmsPublishEngine publishEngine)
          Default constructor.
 
Method Summary
protected  void fireAbort(CmsUUID userId, CmsPublishJobEnqueued publishJob)
          Fires an abort event to all listeners.
protected  void fireEnqueued(CmsPublishJobBase publishJob)
          Fires an enqueue event to all listeners.
protected  void fireFinish(CmsPublishJobRunning publishJob)
          Fires a finish event to all listeners.
protected  void fireRemove(CmsPublishJobFinished publishJob)
          Fires a remove event to all listeners.
protected  void fireStart(CmsPublishJobEnqueued publishJob)
          Fires a start event to all listeners.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

CmsPublishListenerCollection

protected CmsPublishListenerCollection(CmsPublishEngine publishEngine)
Default constructor.

Parameters:
publishEngine - the publish engine
Method Detail

fireAbort

protected void fireAbort(CmsUUID userId,
                         CmsPublishJobEnqueued publishJob)
Fires an abort event to all listeners.

Parameters:
userId - the id of the user that aborted the job
publishJob - the publish job that is going to be aborted.

fireEnqueued

protected void fireEnqueued(CmsPublishJobBase publishJob)
Fires an enqueue event to all listeners.

Parameters:
publishJob - the publish job that is going to be enqueued.

fireFinish

protected void fireFinish(CmsPublishJobRunning publishJob)
Fires a finish event to all listeners.

Parameters:
publishJob - the publish job that has been finished.

fireRemove

protected void fireRemove(CmsPublishJobFinished publishJob)
Fires a remove event to all listeners.

Parameters:
publishJob - the publish job that is going to be removed.

fireStart

protected void fireStart(CmsPublishJobEnqueued publishJob)
Fires a start event to all listeners.

Parameters:
publishJob - the publish job that is going to start.