public class OwStandardHistoryPropertyChangeEvent extends Object implements OwHistoryPropertyChangeEvent
Standard implementation of the OwHistoryPropertyChangeEvent 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
Constructor and Description |
---|
OwStandardHistoryPropertyChangeEvent(OwObject object_p,
OwPropertyCollection newProperties_p)
constructs a property change event class for historization
if object_p was already modified, use second constructor
|
OwStandardHistoryPropertyChangeEvent(OwObject object_p,
OwPropertyCollection oldProperties_p,
OwPropertyCollection newProperties_p)
constructs a property change event class for historization
|
Modifier and Type | Method and Description |
---|---|
OwPropertyCollection |
getAffectedNewProperties()
return a list of the affected New properties (OwField), or null if no Properties where affected
|
OwObjectReference |
getAffectedObject()
return a the affected OwObjectReference, or null if no object was affected
|
OwPropertyCollection |
getAffectedOldProperties()
return a list of the affected Previous properties (OwField), or null if no Properties where affected
|
String |
getSummary()
get a summary of the event for systems that do only want to write a single string to the history database
|
public OwStandardHistoryPropertyChangeEvent(OwObject object_p, OwPropertyCollection newProperties_p)
object_p
- the OwObject before it was modifiednewProperties_p
- OwPropertyCollection of the new propertiespublic OwStandardHistoryPropertyChangeEvent(OwObject object_p, OwPropertyCollection oldProperties_p, OwPropertyCollection newProperties_p)
object_p
- the OwObject that is modifiedoldProperties_p
- OwPropertyCollection of the old propertiesnewProperties_p
- OwPropertyCollection of the new propertiespublic OwObjectReference getAffectedObject() throws Exception
getAffectedObject
in interface OwHistoryPropertyChangeEvent
Exception
public OwPropertyCollection getAffectedOldProperties() throws Exception
getAffectedOldProperties
in interface OwHistoryPropertyChangeEvent
Exception
public OwPropertyCollection getAffectedNewProperties() throws Exception
getAffectedNewProperties
in interface OwHistoryPropertyChangeEvent
Exception
public String getSummary() throws Exception
getSummary
in interface OwEvent
Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.