public class OwStandardHistoryObjectChangeEvent extends Object implements OwHistoryObjectChangeEvent
Standard implementation of the OwHistoryObjectChangeEvent 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 |
---|
OwStandardHistoryObjectChangeEvent(Collection objects_p,
OwObjectReference parent_p)
construct a history object change event with a list of objects and parent / root
|
OwStandardHistoryObjectChangeEvent(OwObjectReference object_p,
OwObjectReference parent_p)
construct a history object change event with one object and parent / root
|
Modifier and Type | Method and Description |
---|---|
Collection |
getAffectedObjects()
return a list of the affected OwObjectReference, or null if no objects where affected
|
OwObjectReference |
getParent()
return the parent or root object, or null if no parent / root exists
|
String |
getSummary()
get a summary of the event for systems that do only want to write a single string to the history database
|
public OwStandardHistoryObjectChangeEvent(OwObjectReference object_p, OwObjectReference parent_p)
object_p
- object that was involved / changed in the eventparent_p
- parent or root object of the given objectpublic OwStandardHistoryObjectChangeEvent(Collection objects_p, OwObjectReference parent_p)
objects_p
- collection of OwObjectReference objects that where involved / changed in the eventparent_p
- parent or root object of the given objectpublic String getSummary() throws Exception
getSummary
in interface OwEvent
Exception
public OwObjectReference getParent() throws Exception
getParent
in interface OwHistoryObjectChangeEvent
Exception
public Collection getAffectedObjects() throws Exception
getAffectedObjects
in interface OwHistoryObjectChangeEvent
Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.