|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.services.PortalToolkit
Commodity static wrapper around the PortalToolit service
Constructor Summary | |
PortalToolkit()
|
Method Summary | |
static PortletControl |
getControl(Control control)
Instanciates a PortletControl based on a PSML Control object |
static PortletControl |
getControl(java.lang.String name)
Instanciates a PortletControl based on a Registry entry, if available or directly from a classname. |
static PortletController |
getController(Controller controller)
Instanciates a PortletController based on a PSML Controller object |
static PortletController |
getController(java.lang.String name)
Instanciates a PortletController based on a Registry entry, if available or directly from a classname. |
static SecurityReference |
getDefaultSecurityRef(Profile profile)
Gets default security ref based on the profile type (user|role|group). |
static SecurityReference |
getDefaultSecurityRef(java.lang.String type)
Gets default security ref based on the profile type (user|role|group). |
static Portlets |
getReference(java.lang.String locatorPath)
Given a locator String path, returns a Portlets collecton |
static PortletSet |
getSet(Portlets portlets)
Creates a PortletSet from a PSML portlets description |
static PortletSkin |
getSkin(Skin skin)
Create a PortletSkin object based on PSML skin description |
static PortletSkin |
getSkin(java.lang.String name)
Create a PortletSkin object based on a Registry entry if available |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PortalToolkit()
Method Detail |
public static PortletControl getControl(java.lang.String name)
name
- a PortletControl name available in the registry or a classname
public static PortletControl getControl(Control control)
control
- the PSML control object
public static PortletController getController(java.lang.String name)
name
- a PortletController name available in the registry or a classname
public static PortletController getController(Controller controller)
public static PortletSkin getSkin(java.lang.String name)
name
- the skin name in the Registry
public static PortletSkin getSkin(Skin skin)
skin
- the PSML Skin object
public static PortletSet getSet(Portlets portlets)
portlets
- the PSML portlet set description
public static Portlets getReference(java.lang.String locatorPath)
locatorPath
- ProfileLocator resource path identifier
public static SecurityReference getDefaultSecurityRef(Profile profile)
profile
-
public static SecurityReference getDefaultSecurityRef(java.lang.String type)
type
- of entity to return default security ref for
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |