Daisy Open Source CMS

org.outerj.daisy.repository
Class RepositoryEventType

java.lang.Object
  extended by org.outerj.daisy.repository.RepositoryEventType

public final class RepositoryEventType
extends Object

Enumeration of the possible repository events. See also RepositoryListener and Repository.addListener(RepositoryListener).


Field Summary
static RepositoryEventType ACL_UPDATED
           
static RepositoryEventType BRANCH_CREATED
           
static RepositoryEventType BRANCH_DELETED
           
static RepositoryEventType BRANCH_UPDATED
           
static RepositoryEventType COLLECTION_CREATED
           
static RepositoryEventType COLLECTION_DELETED
           
static RepositoryEventType COLLECTION_UPDATED
           
static RepositoryEventType DOCUMENT_CREATED
           
static RepositoryEventType DOCUMENT_DELETED
           
static RepositoryEventType DOCUMENT_UPDATED
           
static RepositoryEventType DOCUMENT_VARIANT_CREATED
           
static RepositoryEventType DOCUMENT_VARIANT_DELETED
           
static RepositoryEventType DOCUMENT_VARIANT_UPDATED
           
static RepositoryEventType LANGUAGE_CREATED
           
static RepositoryEventType LANGUAGE_DELETED
           
static RepositoryEventType LANGUAGE_UPDATED
           
static RepositoryEventType LOCK_CHANGE
           
static RepositoryEventType NAMESPACE_REGISTERED
           
static RepositoryEventType NAMESPACE_UNREGISTERED
           
static RepositoryEventType ROLE_CREATED
           
static RepositoryEventType ROLE_DELETED
           
static RepositoryEventType ROLE_UPDATED
           
static RepositoryEventType USER_CREATED
           
static RepositoryEventType USER_DELETED
           
static RepositoryEventType USER_UPDATED
           
static RepositoryEventType VERSION_STATE_CHANGED
           
 
Method Summary
 boolean isBranchEvent()
          Returns true if this event is related to branches.
 boolean isDocumentEvent()
          Returns true if this event is related to documents (not document variants).
 boolean isLanguageEvent()
          Returns true if this event is related to languages.
 boolean isNamespaceEvent()
          Returns true if this event is related to namespaces.
 boolean isVariantEvent()
          Returns true if this event is related to document variants (document variant create-delete-update, lock change, version state change).
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COLLECTION_CREATED

public static final RepositoryEventType COLLECTION_CREATED

COLLECTION_DELETED

public static final RepositoryEventType COLLECTION_DELETED

COLLECTION_UPDATED

public static final RepositoryEventType COLLECTION_UPDATED

DOCUMENT_CREATED

public static final RepositoryEventType DOCUMENT_CREATED

DOCUMENT_UPDATED

public static final RepositoryEventType DOCUMENT_UPDATED

DOCUMENT_DELETED

public static final RepositoryEventType DOCUMENT_DELETED

USER_CREATED

public static final RepositoryEventType USER_CREATED

USER_UPDATED

public static final RepositoryEventType USER_UPDATED

USER_DELETED

public static final RepositoryEventType USER_DELETED

ROLE_CREATED

public static final RepositoryEventType ROLE_CREATED

ROLE_UPDATED

public static final RepositoryEventType ROLE_UPDATED

ROLE_DELETED

public static final RepositoryEventType ROLE_DELETED

BRANCH_CREATED

public static final RepositoryEventType BRANCH_CREATED

BRANCH_DELETED

public static final RepositoryEventType BRANCH_DELETED

BRANCH_UPDATED

public static final RepositoryEventType BRANCH_UPDATED

LANGUAGE_CREATED

public static final RepositoryEventType LANGUAGE_CREATED

LANGUAGE_DELETED

public static final RepositoryEventType LANGUAGE_DELETED

LANGUAGE_UPDATED

public static final RepositoryEventType LANGUAGE_UPDATED

ACL_UPDATED

public static final RepositoryEventType ACL_UPDATED

NAMESPACE_REGISTERED

public static final RepositoryEventType NAMESPACE_REGISTERED

NAMESPACE_UNREGISTERED

public static final RepositoryEventType NAMESPACE_UNREGISTERED

DOCUMENT_VARIANT_CREATED

public static final RepositoryEventType DOCUMENT_VARIANT_CREATED

DOCUMENT_VARIANT_DELETED

public static final RepositoryEventType DOCUMENT_VARIANT_DELETED

DOCUMENT_VARIANT_UPDATED

public static final RepositoryEventType DOCUMENT_VARIANT_UPDATED

LOCK_CHANGE

public static final RepositoryEventType LOCK_CHANGE

VERSION_STATE_CHANGED

public static final RepositoryEventType VERSION_STATE_CHANGED
Method Detail

toString

public String toString()
Overrides:
toString in class Object

isBranchEvent

public boolean isBranchEvent()
Returns true if this event is related to branches.


isLanguageEvent

public boolean isLanguageEvent()
Returns true if this event is related to languages.


isNamespaceEvent

public boolean isNamespaceEvent()
Returns true if this event is related to namespaces.


isVariantEvent

public boolean isVariantEvent()
Returns true if this event is related to document variants (document variant create-delete-update, lock change, version state change).


isDocumentEvent

public boolean isDocumentEvent()
Returns true if this event is related to documents (not document variants).


Daisy Open Source CMS