|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.history.OwStandardHistoryModifiedPropertyValue
public class OwStandardHistoryModifiedPropertyValue
Base implementation for OwHistoryModifiedPropertyValue 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
| Nested Class Summary | |
|---|---|
static class |
OwStandardHistoryModifiedPropertyValue.OwModifiedField
OwModifiedField. |
| Field Summary | |
|---|---|
static String |
NULL_DISPLAY_VALUE
a display string for the null value |
| Constructor Summary | |
|---|---|
OwStandardHistoryModifiedPropertyValue(String className_p,
boolean isArray_p,
String oldValue_p,
String newValue_p,
OwFieldDefinitionProvider fielddefprovider_p,
String resource_p)
construct a modified property value |
|
| Method Summary | |
|---|---|
String |
getClassName()
get the modified property class name |
OwFieldDefinition |
getFieldDefinition()
get the modified property field definition |
OwField |
getNewValue()
try to get the new 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 |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String NULL_DISPLAY_VALUE
| Constructor Detail |
|---|
public OwStandardHistoryModifiedPropertyValue(String className_p,
boolean isArray_p,
String oldValue_p,
String newValue_p,
OwFieldDefinitionProvider fielddefprovider_p,
String resource_p)
className_p - StringisArray_p - oldValue_p - StringnewValue_p - Stringfielddefprovider_p - OwFieldDefinitionProvider field definition provider to resolve the valuesresource_p - String name of the resource to look up field definitions| Method Detail |
|---|
public String getClassName()
getClassName in interface OwHistoryModifiedPropertyValue
public OwFieldDefinition getFieldDefinition()
throws OwObjectNotFoundException,
Exception
getFieldDefinition in interface OwHistoryModifiedPropertyValueException
OwObjectNotFoundException
public OwField getOldValue()
throws OwObjectNotFoundException,
Exception
getOldValue in interface OwHistoryModifiedPropertyValueOwObjectNotFoundException - if value could not be resolved
Exception
public OwField getNewValue()
throws OwObjectNotFoundException,
Exception
getNewValue in interface OwHistoryModifiedPropertyValueOwObjectNotFoundException - if value could not be resolved
Exceptionpublic String getOldValueString()
getOldValueString in interface OwHistoryModifiedPropertyValuepublic String getNewValueString()
getNewValueString in interface OwHistoryModifiedPropertyValuepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||