com.wewebu.ow.server.history
Interface OwHistoryAnnotationEvent

All Superinterfaces:
OwEvent
All Known Implementing Classes:
OwStandardHistoryAnnotationEvent

public interface OwHistoryAnnotationEvent
extends OwEvent

Interface for history events used with the history manager to add new events to the database.
Created for annotation change events.

To be implemented with the specific ECM system.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Field Summary
static int CHANGE_TYPE_ADD
          change type see getChangeType()
static int CHANGE_TYPE_DELETE
          change type see getChangeType()
static int CHANGE_TYPE_MODIFY
          change type see getChangeType()
static int CHANGE_TYPE_UNKNOWN
          change type see getChangeType()
 
Method Summary
 OwObjectReference getAffectedObject()
          return the affected OwObjectReference
 String getAnnotationID()
          get a identifying ID of the annotation in question, can be null if not defined
 String getAnnotationType()
          get the annotation type that was modified, can be null
 int getChangeType()
          return the change type of the annotation as defined with CHANGE_TYPE_...
 String getText()
          get the text of the annotation, can be null
 
Methods inherited from interface com.wewebu.ow.server.event.OwEvent
getSummary
 

Field Detail

CHANGE_TYPE_UNKNOWN

static final int CHANGE_TYPE_UNKNOWN
change type see getChangeType()

See Also:
Constant Field Values

CHANGE_TYPE_ADD

static final int CHANGE_TYPE_ADD
change type see getChangeType()

See Also:
Constant Field Values

CHANGE_TYPE_DELETE

static final int CHANGE_TYPE_DELETE
change type see getChangeType()

See Also:
Constant Field Values

CHANGE_TYPE_MODIFY

static final int CHANGE_TYPE_MODIFY
change type see getChangeType()

See Also:
Constant Field Values
Method Detail

getAffectedObject

OwObjectReference getAffectedObject()
                                    throws Exception
return the affected OwObjectReference

Throws:
Exception

getChangeType

int getChangeType()
return the change type of the annotation as defined with CHANGE_TYPE_...


getText

String getText()
get the text of the annotation, can be null


getAnnotationType

String getAnnotationType()
get the annotation type that was modified, can be null


getAnnotationID

String getAnnotationID()
get a identifying ID of the annotation in question, can be null if not defined



Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.