wt.ixb.publicforhandlers
Class IxbSimpleAttributeHelper
java.lang.Object
wt.ixb.publicforhandlers.IxbSimpleAttributeHelper
- public class IxbSimpleAttributeHelper
- extends Object
Method Summary |
static void |
addAttrConflict(Class importType,
Importer importer,
String importedId,
String attrTag,
String importedString,
String existingString,
boolean isOverridable)
|
static void |
addOverridableAttrConflict(Class importType,
IxbElement fileXML,
Importer importer,
String importedId,
String attrTag,
String existingString)
|
static boolean |
attributeUpdateNeeded(IxbSimpleAttributeHolderIfc handlerClass,
Object existingObject,
Enumeration attrEnum,
IxbElement element)
|
static boolean |
attributeUpdateNeeded(IxbSimpleAttributeHolderIfc handlerClass,
Object existingObject,
IxbElement element,
String attrTag)
|
static boolean |
attributeUpdateNeeded(Object existing,
Object imported)
|
static boolean |
attributeValuesEqual(Object existing,
Object imported)
|
static void |
checkAndAddAttrConflict(IxbSimpleAttributeHolderIfc handlerClass,
Object object,
String importedId,
IxbElement element,
Enumeration attrEnum,
boolean isOverridable,
Importer importer)
|
static void |
checkAndAddAttrConflict(IxbSimpleAttributeHolderIfc handlerClass,
Object object,
String importedId,
IxbElement element,
String attrTag,
boolean isOverridable,
Importer importer)
|
static void |
exportAttribute(IxbSimpleAttributeHolderIfc handlerClass,
Object object,
Enumeration attrEnum,
IxbElement element)
|
static void |
exportAttribute(IxbSimpleAttributeHolderIfc handlerClass,
Object object,
IxbElement element,
String attrTag)
|
static String |
getAttrLocalizedName(Class objectClass,
String attrTag)
|
static Vector |
getObjectConflictSet(String objectId,
Importer importer)
|
static Object |
importAttribute(IxbSimpleAttributeHolderIfc handlerClass,
Object object,
boolean objectExistPriorImport,
IxbElement element,
String attrTag)
|
static Object |
importAttribute(IxbSimpleAttributeHolderIfc handlerClass,
Object object,
Enumeration attrEnum,
boolean objectExistPriorImport,
IxbElement element)
|
static boolean |
isObjectInConflict(String objectId,
Importer importer)
|
protected static void |
logAndThrowWTException(WTException e,
String logMessage)
|
private static void |
printLog(String message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFLICT_RESOURCE
private static final String CONFLICT_RESOURCE
- See Also:
- Constant Field Values
typeTag
private static String typeTag
IxbSimpleAttributeHelper
public IxbSimpleAttributeHelper()
exportAttribute
public static void exportAttribute(IxbSimpleAttributeHolderIfc handlerClass,
Object object,
Enumeration attrEnum,
IxbElement element)
throws WTException
- Throws:
WTException
exportAttribute
public static void exportAttribute(IxbSimpleAttributeHolderIfc handlerClass,
Object object,
IxbElement element,
String attrTag)
throws WTException
- Throws:
WTException
importAttribute
public static Object importAttribute(IxbSimpleAttributeHolderIfc handlerClass,
Object object,
Enumeration attrEnum,
boolean objectExistPriorImport,
IxbElement element)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
importAttribute
public static Object importAttribute(IxbSimpleAttributeHolderIfc handlerClass,
Object object,
boolean objectExistPriorImport,
IxbElement element,
String attrTag)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
checkAndAddAttrConflict
public static void checkAndAddAttrConflict(IxbSimpleAttributeHolderIfc handlerClass,
Object object,
String importedId,
IxbElement element,
Enumeration attrEnum,
boolean isOverridable,
Importer importer)
throws WTException
- Throws:
WTException
checkAndAddAttrConflict
public static void checkAndAddAttrConflict(IxbSimpleAttributeHolderIfc handlerClass,
Object object,
String importedId,
IxbElement element,
String attrTag,
boolean isOverridable,
Importer importer)
throws WTException
- Throws:
WTException
attributeUpdateNeeded
public static boolean attributeUpdateNeeded(IxbSimpleAttributeHolderIfc handlerClass,
Object existingObject,
Enumeration attrEnum,
IxbElement element)
throws WTException
- Throws:
WTException
attributeUpdateNeeded
public static boolean attributeUpdateNeeded(IxbSimpleAttributeHolderIfc handlerClass,
Object existingObject,
IxbElement element,
String attrTag)
throws WTException
- Throws:
WTException
addOverridableAttrConflict
public static void addOverridableAttrConflict(Class importType,
IxbElement fileXML,
Importer importer,
String importedId,
String attrTag,
String existingString)
throws WTException
- Throws:
WTException
addAttrConflict
public static void addAttrConflict(Class importType,
Importer importer,
String importedId,
String attrTag,
String importedString,
String existingString,
boolean isOverridable)
throws WTException
- Throws:
WTException
isObjectInConflict
public static boolean isObjectInConflict(String objectId,
Importer importer)
throws WTException
- Throws:
WTException
getObjectConflictSet
public static Vector getObjectConflictSet(String objectId,
Importer importer)
attributeUpdateNeeded
public static boolean attributeUpdateNeeded(Object existing,
Object imported)
attributeValuesEqual
public static boolean attributeValuesEqual(Object existing,
Object imported)
getAttrLocalizedName
public static String getAttrLocalizedName(Class objectClass,
String attrTag)
printLog
private static void printLog(String message)
logAndThrowWTException
protected static void logAndThrowWTException(WTException e,
String logMessage)
throws WTException
- Throws:
WTException