Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.core.events
Class EventHandler

java.lang.Object
  extended by org.nuxeo.ecm.automation.core.events.EventHandler

public class EventHandler
extends Object

Author:
Bogdan Stefanescu

Constructor Summary
EventHandler()
           
EventHandler(Set<String> eventId, String chainId)
           
EventHandler(String eventId, String chainId)
           
 
Method Summary
 Filter getAttribute()
           
 String getChainId()
           
 Set<String> getDoctypes()
           
 Set<String> getEvents()
           
 Expression getExpr()
           
 String getExpression()
           
 String getFacet()
           
 Boolean getIsAdministrator()
           
 String[] getLifeCycle()
           
 List<String> getMemberOf()
           
 String getPathStartsWith()
           
 boolean isEnabled(OperationContext ctx, EventContext eventCtx)
           
 boolean isPostCommit()
           
 void setAttribute(String attribute)
           
 void setAttributeFilter(Filter attribute)
           
 void setChainId(String chainId)
           
 void setDoctypes(Set<String> doctypes)
           
 void setExpression(String expression)
           
 void setFacet(String facet)
           
 void setIsAdministrator(Boolean isAdministrator)
           
 void setLifeCycle(String[] lifeCycle)
           
 void setMemberOf(List<String> groups)
           
 void setPathStartsWith(String pathStartsWith)
           
 void setPostCommit(boolean isPostCommit)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventHandler

public EventHandler()

EventHandler

public EventHandler(String eventId,
                    String chainId)

EventHandler

public EventHandler(Set<String> eventId,
                    String chainId)
Method Detail

setAttribute

public void setAttribute(String attribute)

getEvents

public Set<String> getEvents()

getChainId

public String getChainId()

setPostCommit

public void setPostCommit(boolean isPostCommit)

isPostCommit

public boolean isPostCommit()

setAttributeFilter

public void setAttributeFilter(Filter attribute)

setIsAdministrator

public void setIsAdministrator(Boolean isAdministrator)

setMemberOf

public void setMemberOf(List<String> groups)

setPathStartsWith

public void setPathStartsWith(String pathStartsWith)

setExpression

public void setExpression(String expression)

setDoctypes

public void setDoctypes(Set<String> doctypes)

setFacet

public void setFacet(String facet)

setLifeCycle

public void setLifeCycle(String[] lifeCycle)

setChainId

public void setChainId(String chainId)

getExpression

public String getExpression()

getFacet

public String getFacet()

getAttribute

public Filter getAttribute()

getLifeCycle

public String[] getLifeCycle()

getMemberOf

public List<String> getMemberOf()

getIsAdministrator

public Boolean getIsAdministrator()

getPathStartsWith

public String getPathStartsWith()

getDoctypes

public Set<String> getDoctypes()

getExpr

public Expression getExpr()

isEnabled

public boolean isEnabled(OperationContext ctx,
                         EventContext eventCtx)
                  throws Exception
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.