com.wewebu.ow.server.history
Class OwSessionHistoryEntry

java.lang.Object
  extended by com.wewebu.ow.server.history.OwStandardHistoryEntry
      extended by com.wewebu.ow.server.history.OwSessionHistoryEntry
All Implemented Interfaces:
OwObject, OwObjectReference, OwFieldProvider, OwHistoryEntry

public class OwSessionHistoryEntry
extends OwStandardHistoryEntry

History entry for in memory stored events.

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

Since:
2.5.2.0

Nested Class Summary
static class OwSessionHistoryEntry.OwSessionHistoryEntryObjectClass
           Object class description of history entry.
 
Nested classes/interfaces inherited from class com.wewebu.ow.server.history.OwStandardHistoryEntry
OwStandardHistoryEntry.OwStandardHistoryEntryObjectClass, OwStandardHistoryEntry.OwStandardHistoryEntryPropertyClass
 
Field Summary
 
Fields inherited from class com.wewebu.ow.server.history.OwStandardHistoryEntry
CARDINALITY_ARRAY, CARDINALITY_SCALAR
 
Fields inherited from interface com.wewebu.ow.server.ecm.OwObject
STANDARD_PATH_DELIMITER
 
Fields inherited from interface com.wewebu.ow.server.ecm.OwObjectReference
OBJECT_TYPE_ALL_CONTAINER_OBJECTS, OBJECT_TYPE_ALL_CONTENT_OBJECTS, OBJECT_TYPE_ALL_TUPLE_OBJECTS, OBJECT_TYPE_ALL_WORKFLOW_OBJECTS, OBJECT_TYPE_BPM_ROOT_FOLDER, OBJECT_TYPE_CONTAINER_USER_START, OBJECT_TYPE_CONTENT_USER_START, OBJECT_TYPE_CROSS_QUEUE_FOLDER, OBJECT_TYPE_CUSTOM, OBJECT_TYPE_DOCUMENT, OBJECT_TYPE_DYNAMIC_VIRTUAL_FOLDER, OBJECT_TYPE_ECM_ROOT_FOLDER, OBJECT_TYPE_FOLDER, OBJECT_TYPE_HISTORY, OBJECT_TYPE_LINK, OBJECT_TYPE_PROXY_QUEUE_FOLDER, OBJECT_TYPE_PUBLIC_QUEUE_FOLDER, OBJECT_TYPE_ROSTER_FOLDER, OBJECT_TYPE_ROSTERITEM, OBJECT_TYPE_STORED_SEARCH, OBJECT_TYPE_SYS_QUEUE_FOLDER, OBJECT_TYPE_TRACKER_QUEUE_FOLDER, OBJECT_TYPE_TUPLE_USER_START, OBJECT_TYPE_UNDEFINED, OBJECT_TYPE_USER_QUEUE_FOLDER, OBJECT_TYPE_VIRTUAL_FOLDER, OBJECT_TYPE_WORKFLOW_USER_START, OBJECT_TYPE_WORKITEM, OBJECT_TYPE_WORKITEM_PROXY, OBJECT_TYPE_WORKITEM_TRACKER
 
Fields inherited from interface com.wewebu.ow.server.field.OwFieldProvider
TYPE_AJAX, TYPE_CHECKIN_OBJECT, TYPE_CREATE_OBJECT, TYPE_META_OBJECT, TYPE_RESULT_LIST, TYPE_SEARCH, TYPE_SMALL
 
Constructor Summary
OwSessionHistoryEntry(OwHistoryManagerContext context_p, Date time_p, String id_p, int type_p, int status_p, String strSummary_p, String strUser_p)
          construct a history entry for non modifying or generic events
OwSessionHistoryEntry(OwHistoryManagerContext context_p, Date time_p, String id_p, int type_p, int status_p, String strSummary_p, String strUser_p, OwObjectReference parent_p, Collection objects_p)
          construct a history entry for object modifying events
OwSessionHistoryEntry(OwHistoryManagerContext context_p, Date time_p, String id_p, int type_p, int status_p, String strSummary_p, String strUser_p, OwObjectReference object_p, OwFieldDefinitionProvider fielddefinitionprovider_p, String resource_p, Collection propertycardinalitiesandnames_p, Collection oldProperties_p, Collection newProperties_p)
          construct a history entry for property modifying events
 
Method Summary
 OwObjectClass getObjectClass()
          get the class description of the object, the class descriptions are defined by the ECM System
static OwObjectClass getStaticObjectClass()
          Get Object class
 
Methods inherited from class com.wewebu.ow.server.history.OwStandardHistoryEntry
add, canAdd, canChangeClass, canDelete, canFilterChilds, canGetContent, canGetPermissions, canGetProperties, canLock, canMove, canRemoveReference, canSetContent, canSetPermissions, canSetProperties, canUndo, changeClass, delete, getChildCount, getChilds, getClassName, getClonedPermissions, getClonedProperties, getColumnInfoList, getContentCollection, getDMSID, getField, getFieldProviderName, getFieldProviderSource, getFieldProviderType, getFields, getFilterProperties, getID, getInstance, getLock, getLockUserID, getMIMEParameter, getMIMEType, getMyLock, getName, getNativeObject, getPageCount, getParents, getPath, getPermissions, getProperties, getProperty, getResource, getResourceID, getSafeFieldValue, getSearchTemplate, getType, getVersion, getVersionSeries, hasChilds, hasContent, hasVersionSeries, move, refreshProperties, refreshProperties, removeReference, setContentCollection, setField, setLock, setPermissions, setProperties, setProperties, setProperty, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwSessionHistoryEntry

public OwSessionHistoryEntry(OwHistoryManagerContext context_p,
                             Date time_p,
                             String id_p,
                             int type_p,
                             int status_p,
                             String strSummary_p,
                             String strUser_p,
                             OwObjectReference parent_p,
                             Collection objects_p)
                      throws Exception
construct a history entry for object modifying events

Parameters:
time_p - time of the event
id_p - pluginid or function name the invoked event
type_p - type of the event as specified in OwEventManager.HISTORY_EVENT_TYPE_...
status_p - type of the event as specified in OwEventManager.HISTORY_STATUS_...
strSummary_p - of the event as specified in OwEvent
parent_p - OwObjectReference as specified in OwHistoryObjectChangeEvent
objects_p - Collection of modified OwObjectReference's as specified in OwHistoryObjectChangeEvent
Throws:
Exception

OwSessionHistoryEntry

public OwSessionHistoryEntry(OwHistoryManagerContext context_p,
                             Date time_p,
                             String id_p,
                             int type_p,
                             int status_p,
                             String strSummary_p,
                             String strUser_p,
                             OwObjectReference object_p,
                             OwFieldDefinitionProvider fielddefinitionprovider_p,
                             String resource_p,
                             Collection propertycardinalitiesandnames_p,
                             Collection oldProperties_p,
                             Collection newProperties_p)
                      throws Exception
construct a history entry for property modifying events

Parameters:
time_p - time of the event
id_p - pluginid or function name the invoked event
type_p - type of the event as specified in OwEventManager.HISTORY_EVENT_TYPE_...
status_p - type of the event as specified in OwEventManager.HISTORY_STATUS_...
strSummary_p - of the event as specified in OwEvent
object_p - modified OwObjectReference as specified in OwHistoryPropertyChangeEvent
fielddefinitionprovider_p - OwFieldDefinitionProvider to lookup the property definitions
resource_p - String name of the resource to lookup the property definitions, or null to use default resource
propertycardinalitiesandnames_p - Collection of modified property cardinality and names as specified in CARDINALITY_.... Each cardinality follows a propertyname. in case of an array, the values are delimited with OwEscapedStringTokenizer.STANDARD_DELIMITER
oldProperties_p - Collection of modified string values specified in OwHistoryPropertyChangeEvent
newProperties_p - Collection of modified string values as specified in OwHistoryPropertyChangeEvent
Throws:
Exception

OwSessionHistoryEntry

public OwSessionHistoryEntry(OwHistoryManagerContext context_p,
                             Date time_p,
                             String id_p,
                             int type_p,
                             int status_p,
                             String strSummary_p,
                             String strUser_p)
                      throws Exception
construct a history entry for non modifying or generic events

Parameters:
time_p - time of the event
id_p - pluginid or function name the invoked event
type_p - type of the event as specified in OwEventManager.HISTORY_EVENT_TYPE_...
status_p - type of the event as specified in OwEventManager.HISTORY_STATUS_...
strSummary_p - of the event as specified in OwEvent
Throws:
Exception
Method Detail

getObjectClass

public OwObjectClass getObjectClass()
Description copied from interface: OwObject
get the class description of the object, the class descriptions are defined by the ECM System

Specified by:
getObjectClass in interface OwObject
Overrides:
getObjectClass in class OwStandardHistoryEntry
Returns:
class description name of object class
See Also:
OwStandardHistoryEntry.getObjectClass()

getStaticObjectClass

public static OwObjectClass getStaticObjectClass()
                                          throws Exception
Get Object class

Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.