public class OwStandardHistoryAnnotationEvent extends Object implements OwHistoryAnnotationEvent
Standard implementation of the OwStandardHistoryAnnotationEvent interface.
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
CHANGE_TYPE_ADD, CHANGE_TYPE_DELETE, CHANGE_TYPE_MODIFY, CHANGE_TYPE_UNKNOWN| Constructor and Description |
|---|
OwStandardHistoryAnnotationEvent(OwObjectReference object_p,
int iChangeType_p,
String sText_p,
String sAnnotationType_p,
String sID_p)
constructs a annotation changed event
|
| Modifier and Type | Method and Description |
|---|---|
OwObjectReference |
getAffectedObject()
return a 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 |
getSummary()
get a summary of the event for systems that do only want to write a single string to the history database
|
String |
getText()
get the text of the annotation, can be null
|
public OwStandardHistoryAnnotationEvent(OwObjectReference object_p, int iChangeType_p, String sText_p, String sAnnotationType_p, String sID_p)
object_p - OwObjectReferenceiChangeType_p - int as defined with CHANGE_TYPE_...sText_p - String, can be nullsAnnotationType_p - String, can be nullsID_p - String, can be nullpublic OwObjectReference getAffectedObject() throws Exception
getAffectedObject in interface OwHistoryAnnotationEventExceptionpublic int getChangeType()
getChangeType in interface OwHistoryAnnotationEventpublic String getText()
getText in interface OwHistoryAnnotationEventpublic String getAnnotationID()
getAnnotationID in interface OwHistoryAnnotationEventpublic String getAnnotationType()
getAnnotationType in interface OwHistoryAnnotationEventCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.