Drools Workbench - JCR to UberFire VFS migration 6.0.0.Beta5

org.drools.workbench.jcr2vfsmigration.migrater.util
Class MigrationPathManager

java.lang.Object
  extended by org.drools.workbench.jcr2vfsmigration.migrater.util.MigrationPathManager

@ApplicationScoped
public class MigrationPathManager
extends Object

Generates a Path for every object that needs to be migrated. Guarantees uniqueness. Supports look ups.


Constructor Summary
MigrationPathManager()
           
 
Method Summary
 String escapePathEntry(String pathEntry)
           
 org.uberfire.backend.vfs.Path generatePathForAsset(org.drools.guvnor.client.rpc.Module jcrModule, org.drools.guvnor.client.rpc.Asset jcrAsset)
           
 org.uberfire.backend.vfs.Path generatePathForAsset(org.drools.guvnor.client.rpc.Module jcrModule, org.drools.guvnor.client.rpc.Asset jcrAsset, boolean hasDSL)
           
 org.uberfire.backend.vfs.Path generatePathForAsset(org.drools.guvnor.client.rpc.Module jcrModule, org.drools.repository.AssetItem jcrAssetItem)
           
 org.uberfire.backend.vfs.Path generatePathForAsset(org.drools.guvnor.client.rpc.Module jcrModule, org.drools.repository.AssetItem jcrAssetItem, boolean hasDSL)
           
 org.uberfire.backend.vfs.Path generatePathForModule(org.drools.guvnor.client.rpc.Module jcrModule)
           
 org.uberfire.backend.vfs.Path generateRootPath()
           
 org.uberfire.backend.vfs.Path getPath(String uuid)
           
 String getUuid(org.uberfire.backend.vfs.Path path)
           
protected  void register(String uuid, org.uberfire.backend.vfs.Path path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MigrationPathManager

public MigrationPathManager()
Method Detail

generateRootPath

public org.uberfire.backend.vfs.Path generateRootPath()

generatePathForModule

public org.uberfire.backend.vfs.Path generatePathForModule(org.drools.guvnor.client.rpc.Module jcrModule)

generatePathForAsset

public org.uberfire.backend.vfs.Path generatePathForAsset(org.drools.guvnor.client.rpc.Module jcrModule,
                                                          org.drools.guvnor.client.rpc.Asset jcrAsset,
                                                          boolean hasDSL)

generatePathForAsset

public org.uberfire.backend.vfs.Path generatePathForAsset(org.drools.guvnor.client.rpc.Module jcrModule,
                                                          org.drools.guvnor.client.rpc.Asset jcrAsset)

generatePathForAsset

public org.uberfire.backend.vfs.Path generatePathForAsset(org.drools.guvnor.client.rpc.Module jcrModule,
                                                          org.drools.repository.AssetItem jcrAssetItem,
                                                          boolean hasDSL)

generatePathForAsset

public org.uberfire.backend.vfs.Path generatePathForAsset(org.drools.guvnor.client.rpc.Module jcrModule,
                                                          org.drools.repository.AssetItem jcrAssetItem)

escapePathEntry

public String escapePathEntry(String pathEntry)

register

protected void register(String uuid,
                        org.uberfire.backend.vfs.Path path)

getPath

public org.uberfire.backend.vfs.Path getPath(String uuid)

getUuid

public String getUuid(org.uberfire.backend.vfs.Path path)

Drools Workbench - JCR to UberFire VFS migration 6.0.0.Beta5

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.