com.wewebu.ow.server.history
Class OwStandardHistoryObjectDeleteEvent

java.lang.Object
  extended by com.wewebu.ow.server.history.OwStandardHistoryObjectDeleteEvent
All Implemented Interfaces:
OwEvent, OwHistoryObjectDeleteEvent

public class OwStandardHistoryObjectDeleteEvent
extends Object
implements OwHistoryObjectDeleteEvent

OwStandardHistoryObjectDeleteEvent.

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 Summary
OwStandardHistoryObjectDeleteEvent(Collection objectnames_p, OwObjectReference parent_p)
          construct a history object change event with a list of objects and parent / root
OwStandardHistoryObjectDeleteEvent(String name_p, OwObjectReference parent_p)
          construct a history object delete event with one object and parent / root
 
Method Summary
 Collection getAffectedObjectNames()
          return a list of object names that where deleted
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwStandardHistoryObjectDeleteEvent

public OwStandardHistoryObjectDeleteEvent(String name_p,
                                          OwObjectReference parent_p)
                                   throws Exception
construct a history object delete event with one object and parent / root

Parameters:
name_p - String name of deleted object
parent_p - parent or root object of the given object
Throws:
Exception

OwStandardHistoryObjectDeleteEvent

public OwStandardHistoryObjectDeleteEvent(Collection objectnames_p,
                                          OwObjectReference parent_p)
                                   throws Exception
construct a history object change event with a list of objects and parent / root

Parameters:
objectnames_p - collection of object names of objects that where deleted. only String values are permitted.
parent_p - parent or root object of the given object
Throws:
Exception
Method Detail

getAffectedObjectNames

public Collection getAffectedObjectNames()
                                  throws Exception
Description copied from interface: OwHistoryObjectDeleteEvent
return a list of object names that where deleted

Specified by:
getAffectedObjectNames in interface OwHistoryObjectDeleteEvent
Throws:
Exception

getParent

public OwObjectReference getParent()
                            throws Exception
Description copied from interface: OwHistoryObjectDeleteEvent
return the parent or root object, or null if no parent / root exists

Specified by:
getParent in interface OwHistoryObjectDeleteEvent
Throws:
Exception

getSummary

public String getSummary()
                  throws Exception
get a summary of the event for systems that do only want to write a single string to the history database

Specified by:
getSummary in interface OwEvent
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.