Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.operation
Class DefaultOperationEvent

java.lang.Object
  extended by org.nuxeo.ecm.core.api.operation.DefaultOperationEvent
All Implemented Interfaces:
Serializable, OperationEvent

public class DefaultOperationEvent
extends Object
implements OperationEvent

This class is not thread safe TODO: should remove this class -> the command itself may be used as the event

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Field Summary
 Object details
           
 Object dirtyUpdateTag
           
 String id
           
 ModificationSet modifications
           
 String repository
           
 String sessionId
           
 String userName
           
 
Constructor Summary
DefaultOperationEvent()
           
DefaultOperationEvent(CoreSession session, String id, ModificationSet modifs)
           
DefaultOperationEvent(CoreSession session, String id, ModificationSet modifs, Serializable details)
           
DefaultOperationEvent(String sessionId, String repositoryName, String principal, String id, ModificationSet modifs, Object details)
           
 
Method Summary
 Object getDetails()
           
 Object getDirtyUpdateTag()
           
 String getId()
           
 ModificationSet getModifications()
           
 String getRepositoryName()
           
 String getSessionId()
           
 String getUserName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public String id

sessionId

public String sessionId

repository

public String repository

userName

public String userName

modifications

public ModificationSet modifications

details

public Object details

dirtyUpdateTag

public Object dirtyUpdateTag
Constructor Detail

DefaultOperationEvent

public DefaultOperationEvent()

DefaultOperationEvent

public DefaultOperationEvent(CoreSession session,
                             String id,
                             ModificationSet modifs)

DefaultOperationEvent

public DefaultOperationEvent(CoreSession session,
                             String id,
                             ModificationSet modifs,
                             Serializable details)

DefaultOperationEvent

public DefaultOperationEvent(String sessionId,
                             String repositoryName,
                             String principal,
                             String id,
                             ModificationSet modifs,
                             Object details)
Method Detail

getDetails

public Object getDetails()
Specified by:
getDetails in interface OperationEvent

getId

public String getId()
Specified by:
getId in interface OperationEvent

getModifications

public ModificationSet getModifications()
Specified by:
getModifications in interface OperationEvent

getUserName

public String getUserName()
Specified by:
getUserName in interface OperationEvent

getRepositoryName

public String getRepositoryName()
Specified by:
getRepositoryName in interface OperationEvent

getSessionId

public String getSessionId()
Specified by:
getSessionId in interface OperationEvent

getDirtyUpdateTag

public Object getDirtyUpdateTag()
Specified by:
getDirtyUpdateTag in interface OperationEvent

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.