com.wewebu.ow.server.history
Interface OwHistoryModifiedPropertyValue

All Known Implementing Classes:
OwStandardHistoryModifiedPropertyValue

public interface OwHistoryModifiedPropertyValue

Interface for a property change property used by OwHistoryEtnry.

Keeps information about a modified property and its previous and new value.

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


Method Summary
 String getClassName()
          get the modified property class name
 OwFieldDefinition getFieldDefinition()
          get the modified property field definition
 OwField getNewValue()
          try to get the old value before the modification happens
 String getNewValueString()
          get a string representation of the new value
 OwField getOldValue()
          try to get the old value before the modification happens
 String getOldValueString()
          get a string representation of the old value
 

Method Detail

getClassName

String getClassName()
get the modified property class name

Returns:
String classname of property

getFieldDefinition

OwFieldDefinition getFieldDefinition()
                                     throws OwObjectNotFoundException,
                                            Exception
get the modified property field definition

Returns:
OwFieldDefinition field definition of the property
Throws:
OwObjectNotFoundException - if value could not be resolved
Exception

getOldValue

OwField getOldValue()
                    throws OwObjectNotFoundException,
                           Exception
try to get the old value before the modification happens

Returns:
OwField
Throws:
OwObjectNotFoundException - if value could not be resolved
Exception

getNewValue

OwField getNewValue()
                    throws OwObjectNotFoundException,
                           Exception
try to get the old value before the modification happens

Returns:
OwField
Throws:
OwObjectNotFoundException - if value could not be resolved
Exception

getOldValueString

String getOldValueString()
                         throws OwObjectNotFoundException,
                                Exception
get a string representation of the old value

Returns:
String
Throws:
OwObjectNotFoundException
Exception

getNewValueString

String getNewValueString()
get a string representation of the new value

Returns:
String


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.