org.nuxeo.theme.perspectives
Class PerspectiveManager
java.lang.Object
org.nuxeo.theme.perspectives.PerspectiveManager
- All Implemented Interfaces:
- Registrable
public class PerspectiveManager
- extends Object
- implements Registrable
PerspectiveManager
public PerspectiveManager()
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.