|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This service is a Factory for creating new Portal objects from named Registry entries or PSML configuration entries. It handles all the portal specific objects except Portlet which are handled by a separate PortletFactory service
| Field Summary | |
static java.lang.String |
SERVICE_NAME
The default control to use when none is specified |
| Method Summary | |
PortletControl |
getControl(Control control)
Instanciates a PortletControl based on a PSML Control object |
PortletControl |
getControl(java.lang.String name)
Instanciates a PortletControl based on a Registry entry, if available or directly from a classname. |
PortletController |
getController(Controller controller)
Instanciates a PortletController based on a PSML Controller object |
PortletController |
getController(java.lang.String name)
Instanciates a PortletController based on a Registry entry, if available or directly from a classname. |
SecurityReference |
getDefaultSecurityRef(Profile profile)
Gets default security ref based on the profile type (user|role|group). |
SecurityReference |
getDefaultSecurityRef(java.lang.String type)
Gets default security ref based on the profile type (user|role|group). |
Portlets |
getReference(java.lang.String locatorPath)
Given a locator String path, returns a Portlets collecton |
PortletSet |
getSet(Portlets portlets)
Creates a PortletSet from a PSML portlets description |
PortletSkin |
getSkin(Skin skin)
Create a PortletSkin object based on PSML skin description |
PortletSkin |
getSkin(java.lang.String name)
Create a PortletSkin object based on a Registry entry if available |
| Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
| Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, init, setInitableBroker, shutdown |
| Field Detail |
public static final java.lang.String SERVICE_NAME
| Method Detail |
public PortletControl getControl(java.lang.String name)
name - a PortletControl name available in the registry or a classname
public PortletControl getControl(Control control)
control - the PSML control object
public PortletController getController(java.lang.String name)
name - a PortletController name available in the registry or a classname
public PortletController getController(Controller controller)
public PortletSkin getSkin(java.lang.String name)
name - the skin name in the Registry
public PortletSkin getSkin(Skin skin)
skin - the PSML Skin object
public PortletSet getSet(Portlets portlets)
portlets - the PSML portlet set description
public Portlets getReference(java.lang.String locatorPath)
locatorPath - ProfileLocator resource path identifier
public SecurityReference getDefaultSecurityRef(Profile profile)
profile -
public 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 | ||||||||||