org.gcube.portlets.user.homelibrary.jcr.workspace.util
Class HomeLibraryImporter
java.lang.Object
org.gcube.portlets.user.homelibrary.jcr.workspace.util.HomeLibraryImporter
public class HomeLibraryImporter
- extends Object
|
Method Summary |
static void |
copyItem(org.gcube.portlets.user.homelibrary.home.workspace.Workspace newWorkspace,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem oldRoot,
String newRoot)
|
static org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem |
createJCRWorkspaceFolderItem(org.gcube.portlets.user.homelibrary.home.workspace.Workspace newWorkspace,
String destinationFolderId,
org.gcube.portlets.user.homelibrary.home.workspace.folder.FolderItem oldItem)
|
static org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem |
createJCRWorkspaceItem(org.gcube.portlets.user.homelibrary.home.workspace.Workspace newWorkspace,
String destinationFolderId,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem oldItem)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
errors
public static int errors
notImported
public static int notImported
HomeLibraryImporter
public HomeLibraryImporter()
copyItem
public static void copyItem(org.gcube.portlets.user.homelibrary.home.workspace.Workspace newWorkspace,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem oldRoot,
String newRoot)
throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WrongDestinationException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemNotFoundException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WorkspaceFolderNotFoundException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WrongItemTypeException
- Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WrongDestinationException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemNotFoundException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WorkspaceFolderNotFoundException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WrongItemTypeException
createJCRWorkspaceItem
public static org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem createJCRWorkspaceItem(org.gcube.portlets.user.homelibrary.home.workspace.Workspace newWorkspace,
String destinationFolderId,
org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem oldItem)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WrongDestinationException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemNotFoundException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WorkspaceFolderNotFoundException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WrongItemTypeException
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemAlreadyExistException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WrongDestinationException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.ItemNotFoundException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WorkspaceFolderNotFoundException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WrongItemTypeException
createJCRWorkspaceFolderItem
public static org.gcube.portlets.user.homelibrary.home.workspace.WorkspaceItem createJCRWorkspaceFolderItem(org.gcube.portlets.user.homelibrary.home.workspace.Workspace newWorkspace,
String destinationFolderId,
org.gcube.portlets.user.homelibrary.home.workspace.folder.FolderItem oldItem)
throws org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WorkspaceFolderNotFoundException,
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WrongDestinationException,
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
- Throws:
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.InsufficientPrivilegesException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WorkspaceFolderNotFoundException
org.gcube.portlets.user.homelibrary.home.workspace.exceptions.WrongDestinationException
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
Copyright © 2012. All Rights Reserved.