Nuxeo Enterprise Platform 5.4

org.nuxeo.theme.perspectives
Class PerspectiveManager

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

public class PerspectiveManager
extends java.lang.Object
implements Registrable


Constructor Summary
PerspectiveManager()
           
 
Method Summary
 void clear()
          This method is called when the object is unregistered.
static PerspectiveType getPerspectiveByName(java.lang.String name)
           
 java.util.List<PerspectiveType> getPerspectivesFor(Element element)
           
static boolean hasPerspective(java.lang.String perspectiveName)
           
 boolean isAlwaysVisible(Element element)
           
 boolean isVisibleInPerspective(Element element, PerspectiveType perspective)
           
static java.util.List<PerspectiveType> listPerspectives()
           
 void setAlwaysVisible(Element element)
           
 void setVisibleInAllPerspectives(Element element)
           
static void setVisibleInPerspective(Element element, PerspectiveType perspective)
           
 void setVisibleInPerspectives(Element element, java.util.List<java.lang.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(java.lang.String name)

hasPerspective

public static boolean hasPerspective(java.lang.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,
                                     java.util.List<java.lang.String> perspectiveNames)

setAlwaysVisible

public void setAlwaysVisible(Element element)

isAlwaysVisible

public boolean isAlwaysVisible(Element element)

getPerspectivesFor

public java.util.List<PerspectiveType> getPerspectivesFor(Element element)

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

listPerspectives

public static java.util.List<PerspectiveType> listPerspectives()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.