org.alfresco.cmis.changelog
Class CMISChangeEventImpl

java.lang.Object
  extended by org.alfresco.cmis.changelog.CMISChangeEventImpl
All Implemented Interfaces:
CMISChangeEvent

public class CMISChangeEventImpl
extends java.lang.Object
implements CMISChangeEvent

CMISChangeEvent Implementation


Constructor Summary
CMISChangeEventImpl(CMISChangeType changeType, java.util.Date changeTime, org.alfresco.service.cmr.repository.NodeRef changedNode, java.lang.String objectId)
          Instantiates a new CMIS change event.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 org.alfresco.service.cmr.repository.NodeRef getChangedNode()
          Gets the changed node (may no longer exist).
 java.util.Date getChangeTime()
          Gets the change time.
 CMISChangeType getChangeType()
          Gets the change type.
 java.lang.String getObjectId()
          Gets the object id.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMISChangeEventImpl

public CMISChangeEventImpl(CMISChangeType changeType,
                           java.util.Date changeTime,
                           org.alfresco.service.cmr.repository.NodeRef changedNode,
                           java.lang.String objectId)
Instantiates a new CMIS change event.

Parameters:
changeType - the change type
changeTime - the change time
changedNode - the changed node
objectId - the object id
Method Detail

getChangeType

public CMISChangeType getChangeType()
Description copied from interface: CMISChangeEvent
Gets the change type.

Specified by:
getChangeType in interface CMISChangeEvent
Returns:
CMISChangeType enum value that determines the type of current Change Event
See Also:
CMISChangeEvent.getChangeType()

getChangeTime

public java.util.Date getChangeTime()
Description copied from interface: CMISChangeEvent
Gets the change time.

Specified by:
getChangeTime in interface CMISChangeEvent
Returns:
Date value that represents time of current Change Event
See Also:
CMISChangeEvent.getChangeTime()

getChangedNode

public org.alfresco.service.cmr.repository.NodeRef getChangedNode()
Description copied from interface: CMISChangeEvent
Gets the changed node (may no longer exist).

Specified by:
getChangedNode in interface CMISChangeEvent
Returns:
the changed node
See Also:
CMISChangeEvent.getChangedNode()

getObjectId

public java.lang.String getObjectId()
Description copied from interface: CMISChangeEvent
Gets the object id.

Specified by:
getObjectId in interface CMISChangeEvent
Returns:
the object id
See Also:
CMISChangeEvent.getObjectId()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.