mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Temporary build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -76,6 +76,58 @@ public class ImporterComponentTest extends BaseSpringTest
|
|||||||
System.out.println(NodeStoreInspector.dumpNodeStore(nodeService, storeRef));
|
System.out.println(NodeStoreInspector.dumpNodeStore(nodeService, storeRef));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Temporary build fix
|
||||||
|
*/
|
||||||
|
private static class ImportTimerProgress implements ImporterProgress
|
||||||
|
{
|
||||||
|
|
||||||
|
public void aspectAdded(NodeRef nodeRef, QName aspect)
|
||||||
|
{
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void completed()
|
||||||
|
{
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void contentCreated(NodeRef nodeRef, String sourceUrl)
|
||||||
|
{
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void error(Throwable e)
|
||||||
|
{
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void nodeCreated(NodeRef nodeRef, NodeRef parentRef, QName assocName, QName childName)
|
||||||
|
{
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void nodeLinked(NodeRef nodeRef, NodeRef parentRef, QName assocName, QName childName)
|
||||||
|
{
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void permissionSet(NodeRef nodeRef, AccessPermission permission)
|
||||||
|
{
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void propertySet(NodeRef nodeRef, QName property, Serializable value)
|
||||||
|
{
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void started()
|
||||||
|
{
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public void testBootstrap()
|
public void testBootstrap()
|
||||||
{
|
{
|
||||||
@@ -84,7 +136,6 @@ public class ImporterComponentTest extends BaseSpringTest
|
|||||||
importerBootstrap.bootstrap();
|
importerBootstrap.bootstrap();
|
||||||
authenticationComponent.setSystemUserAsCurrentUser();
|
authenticationComponent.setSystemUserAsCurrentUser();
|
||||||
System.out.println(NodeStoreInspector.dumpNodeStore(nodeService, bootstrapStoreRef));
|
System.out.println(NodeStoreInspector.dumpNodeStore(nodeService, bootstrapStoreRef));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -275,8 +275,7 @@ public class Import extends Tool
|
|||||||
*
|
*
|
||||||
* @author David Caruana
|
* @author David Caruana
|
||||||
*/
|
*/
|
||||||
private class ImportProgress
|
private class ImportProgress implements ImporterProgress
|
||||||
implements ImporterProgress
|
|
||||||
{
|
{
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.alfresco.service.cmr.view.ImporterProgress#nodeCreated(org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.namespace.QName, org.alfresco.service.namespace.QName)
|
* @see org.alfresco.service.cmr.view.ImporterProgress#nodeCreated(org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.namespace.QName, org.alfresco.service.namespace.QName)
|
||||||
@@ -321,6 +320,18 @@ public class Import extends Tool
|
|||||||
public void aspectAdded(NodeRef nodeRef, QName aspect)
|
public void aspectAdded(NodeRef nodeRef, QName aspect)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void started()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public void completed()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public void error(Throwable e)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user