wt.ixb.conflictFramework.conflictResolution
Class createFolderResolver

java.lang.Object
  extended bywt.ixb.conflictFramework.conflictResolution.createFolderResolver
All Implemented Interfaces:
IXConfiguredDelegateIfc, IXConflictResolverIfc

public class createFolderResolver
extends Object
implements IXConflictResolverIfc


Field Summary
private  String id
           
 
Fields inherited from interface wt.ixb.conflictFramework.conflictResolution.IXConfiguredDelegateIfc
CLASS, DELEGATE, DELEGATE_XPATH, DELEGATES, ID, INIT_PARAMS, NAME, PARAM, VALUE
 
Constructor Summary
createFolderResolver()
           
 
Method Summary
private static AdministrativeDomain findDomain(String domainPath, WTContainerRef containerRef)
           
private  String getCabinetSubstring(String folderPath)
           
static AdministrativeDomain getDomain(String domainPath, WTContainerRef containerRef)
           
static AdminDomainRef getDomainRef(String domainPath, WTContainerRef container)
           
 String getId()
           
private  String getSubFolderSubstring(String folderPath)
           
 void init(Map config)
           
private  String replaceCabinet(String folderPath)
           
 ArrayList resolve(Object object, IxbElement fileXML, Importer importer, Map map)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private String id
Constructor Detail

createFolderResolver

public createFolderResolver()
Method Detail

init

public void init(Map config)
          throws Exception
Specified by:
init in interface IXConfiguredDelegateIfc
Throws:
Exception

getId

public String getId()
Specified by:
getId in interface IXConflictResolverIfc

resolve

public ArrayList resolve(Object object,
                         IxbElement fileXML,
                         Importer importer,
                         Map map)
                  throws WTException
Specified by:
resolve in interface IXConflictResolverIfc
Throws:
WTException

replaceCabinet

private String replaceCabinet(String folderPath)
                       throws WTException
Throws:
WTException

getDomainRef

public static AdminDomainRef getDomainRef(String domainPath,
                                          WTContainerRef container)
                                   throws WTException
Throws:
WTException

findDomain

private static AdministrativeDomain findDomain(String domainPath,
                                               WTContainerRef containerRef)
                                        throws WTException
Throws:
WTException

getDomain

public static AdministrativeDomain getDomain(String domainPath,
                                             WTContainerRef containerRef)

getSubFolderSubstring

private String getSubFolderSubstring(String folderPath)
                              throws WTException
Throws:
WTException

getCabinetSubstring

private String getCabinetSubstring(String folderPath)
                            throws WTException
Throws:
WTException