com.wewebu.ow.server.history
Class OwStandardHistoryObjectCreateEvent

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

public class OwStandardHistoryObjectCreateEvent
extends Object
implements OwHistoryObjectCreateEvent

Standard implementation of the OwHistoryObjectCreateEvent 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 Summary
OwStandardHistoryObjectCreateEvent(String classname_p, String dmsid_p, OwPropertyCollection properties_p)
           
OwStandardHistoryObjectCreateEvent(String classname_p, String dmsid_p, OwPropertyCollection properties_p, OwResource resource_p, OwObject parent_p, OwPermissionCollection permissions_p)
           
OwStandardHistoryObjectCreateEvent(String classname_p, String dmsid_p, OwPropertyCollection properties_p, OwResource resource_p, OwObject parent_p, OwPermissionCollection permissions_p, Boolean promote_p, Object mode_p)
           
 
Method Summary
 String getClassName()
          get the classname of the new object
 String getDmsid()
          get the DMSID of the new object
 Object getMode()
          get the create mode of the new object, or null if not used in the creation of the object
 OwObject getParent()
          get the parent object of the new object, or null if not used in the creation of the object
 OwPermissionCollection getPermissions()
          get the permissions of the new object, or null if not used in the creation of the object
 Boolean getPromote()
          get the promote flag of the new object, or null if not used in the creation of the object
 OwPropertyCollection getProperties()
          return a list of the new properties (OwField), or null if no properties where used in the creation of the object
 OwResource getResource()
          get the resource of the new object, or null if not used in the creation of the object
 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

OwStandardHistoryObjectCreateEvent

public OwStandardHistoryObjectCreateEvent(String classname_p,
                                          String dmsid_p,
                                          OwPropertyCollection properties_p,
                                          OwResource resource_p,
                                          OwObject parent_p,
                                          OwPermissionCollection permissions_p,
                                          Boolean promote_p,
                                          Object mode_p)

OwStandardHistoryObjectCreateEvent

public OwStandardHistoryObjectCreateEvent(String classname_p,
                                          String dmsid_p,
                                          OwPropertyCollection properties_p,
                                          OwResource resource_p,
                                          OwObject parent_p,
                                          OwPermissionCollection permissions_p)

OwStandardHistoryObjectCreateEvent

public OwStandardHistoryObjectCreateEvent(String classname_p,
                                          String dmsid_p,
                                          OwPropertyCollection properties_p)
Method Detail

getProperties

public OwPropertyCollection getProperties()
Description copied from interface: OwHistoryObjectCreateEvent
return a list of the new properties (OwField), or null if no properties where used in the creation of the object

Specified by:
getProperties in interface OwHistoryObjectCreateEvent

getClassName

public String getClassName()
Description copied from interface: OwHistoryObjectCreateEvent
get the classname of the new object

Specified by:
getClassName in interface OwHistoryObjectCreateEvent

getDmsid

public String getDmsid()
Description copied from interface: OwHistoryObjectCreateEvent
get the DMSID of the new object

Specified by:
getDmsid in interface OwHistoryObjectCreateEvent

getSummary

public String getSummary()
                  throws Exception
Description copied from interface: OwEvent
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

getMode

public Object getMode()
Description copied from interface: OwHistoryObjectCreateEvent
get the create mode of the new object, or null if not used in the creation of the object

Specified by:
getMode in interface OwHistoryObjectCreateEvent

getParent

public OwObject getParent()
Description copied from interface: OwHistoryObjectCreateEvent
get the parent object of the new object, or null if not used in the creation of the object

Specified by:
getParent in interface OwHistoryObjectCreateEvent

getPermissions

public OwPermissionCollection getPermissions()
Description copied from interface: OwHistoryObjectCreateEvent
get the permissions of the new object, or null if not used in the creation of the object

Specified by:
getPermissions in interface OwHistoryObjectCreateEvent

getPromote

public Boolean getPromote()
Description copied from interface: OwHistoryObjectCreateEvent
get the promote flag of the new object, or null if not used in the creation of the object

Specified by:
getPromote in interface OwHistoryObjectCreateEvent

getResource

public OwResource getResource()
Description copied from interface: OwHistoryObjectCreateEvent
get the resource of the new object, or null if not used in the creation of the object

Specified by:
getResource in interface OwHistoryObjectCreateEvent


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.