org.gcube.portlets.user.homelibrary.util
Class HomeLibraryVisitor

java.lang.Object
  extended by org.gcube.portlets.user.homelibrary.util.IndentedVisitor
      extended by org.gcube.portlets.user.homelibrary.util.HomeLibraryVisitor

public class HomeLibraryVisitor
extends IndentedVisitor

Author:
fedy2

Field Summary
protected  boolean visitHomes
           
 
Fields inherited from class org.gcube.portlets.user.homelibrary.util.IndentedVisitor
DEFAULT_INDENTATION_STRING, indentationChar, indentationLevel, logger, os, sdf
 
Constructor Summary
HomeLibraryVisitor()
           
HomeLibraryVisitor(boolean visitHomes)
           
 
Method Summary
 void visitHomeLibrary(HomeManagerFactory factory)
          Visit the specified home library.
protected  void visitHomeManager(HomeManager homeManager)
           
protected  void visitUser(Home home)
           
 void visitUser(Home home, org.gcube.common.core.scope.GCUBEScope scope)
           
 
Methods inherited from class org.gcube.portlets.user.homelibrary.util.IndentedVisitor
indent, outdent, println, println, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

visitHomes

protected boolean visitHomes
Constructor Detail

HomeLibraryVisitor

public HomeLibraryVisitor()

HomeLibraryVisitor

public HomeLibraryVisitor(boolean visitHomes)
Parameters:
visitHomes - if visit the homes.
Method Detail

visitHomeLibrary

public void visitHomeLibrary(HomeManagerFactory factory)
                      throws InternalErrorException,
                             HomeNotFoundException,
                             WorkspaceFolderNotFoundException
Visit the specified home library.

Parameters:
factory - the home manager factory.
Throws:
InternalErrorException - if an internal error occurs.
HomeNotFoundException - if an home is not found.
WorkspaceFolderNotFoundException - if a workspace is not found.

visitHomeManager

protected void visitHomeManager(HomeManager homeManager)
                         throws InternalErrorException,
                                HomeNotFoundException,
                                WorkspaceFolderNotFoundException
Throws:
InternalErrorException
HomeNotFoundException
WorkspaceFolderNotFoundException

visitUser

protected void visitUser(Home home)
                  throws InternalErrorException,
                         WorkspaceFolderNotFoundException
Throws:
InternalErrorException
WorkspaceFolderNotFoundException

visitUser

public void visitUser(Home home,
                      org.gcube.common.core.scope.GCUBEScope scope)
               throws InternalErrorException,
                      WorkspaceFolderNotFoundException
Throws:
InternalErrorException
WorkspaceFolderNotFoundException


Copyright © 2013. All Rights Reserved.