Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.theme.perspectives
Class PerspectiveManager

java.lang.Object
  extended by org.nuxeo.theme.perspectives.PerspectiveManager
All Implemented Interfaces:
Registrable

public class PerspectiveManager
extends Object
implements Registrable


Constructor Summary
PerspectiveManager()
           
 
Method Summary
 void clear()
          This method is called when the object is unregistered.
static PerspectiveType getPerspectiveByName(String name)
           
 List<PerspectiveType> getPerspectivesFor(Element element)
           
static boolean hasPerspective(String perspectiveName)
           
 boolean isAlwaysVisible(Element element)
           
 boolean isVisibleInPerspective(Element element, PerspectiveType perspective)
           
static List<PerspectiveType> listPerspectives()
           
 void setAlwaysVisible(Element element)
           
 void setVisibleInAllPerspectives(Element element)
           
static void setVisibleInPerspective(Element element, PerspectiveType perspective)
           
 void setVisibleInPerspectives(Element element, List<String> perspectiveNames)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerspectiveManager

public PerspectiveManager()
Method Detail

getPerspectiveByName

public static PerspectiveType getPerspectiveByName(String name)

hasPerspective

public static boolean hasPerspective(String perspectiveName)

isVisibleInPerspective

public boolean isVisibleInPerspective(Element element,
                                      PerspectiveType perspective)

setVisibleInPerspective

public static void setVisibleInPerspective(Element element,
                                           PerspectiveType perspective)

setVisibleInAllPerspectives

public void setVisibleInAllPerspectives(Element element)

setVisibleInPerspectives

public void setVisibleInPerspectives(Element element,
                                     List<String> perspectiveNames)

setAlwaysVisible

public void setAlwaysVisible(Element element)

isAlwaysVisible

public boolean isAlwaysVisible(Element element)

getPerspectivesFor

public List<PerspectiveType> getPerspectivesFor(Element element)

listPerspectives

public static List<PerspectiveType> listPerspectives()

clear

public void clear()
Description copied from interface: Registrable
This method is called when the object is unregistered. Clean up local variables here.

Specified by:
clear in interface Registrable

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.