public interface IPortletProviderMechanics extends IMechanics
Modifier and Type | Method and Description |
---|---|
String |
getPortletDesriptors(IThingID userId,
IThingID pageId)
Deprecated.
not a supported operation anymore
|
IPortletInfo |
getPortletInfo(File portletDescriptor,
File wmPortletDescriptor)
Returns IPortletInfo loaded from the portlet descriptor files (portlet.xml and wm-portlet.xml)
|
default IPortletInfo |
getPortletInfo(InputStream portletDescriptor,
InputStream wmPortletDescriptor)
Returns IPortletInfo loaded from the portlet descriptor files (portlet.xml and wm-portlet.xml)
|
IPortletInfo |
getPortletInfo(IURI thingUri)
Returns IPortletInfo for the porrtlet/dbo uri
|
IPortletInfo |
getPortletInfo(String typeName)
Returns IPortletInfo for the portlet/dbo type name
|
IThingID |
getPortletTypeID(String typeName)
Return thingID of the portlet default published instance, specified by typeName
|
String |
getPortletTypeName(IURI thingUri)
Returns thing (base/xtype/portlet) type name for the given uri
|
IThingID |
getPortletXTypeID(String typeName)
Return thingID of the portlet xtype name specified by typeName
|
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
@Deprecated String getPortletDesriptors(IThingID userId, IThingID pageId) throws PortalException
userId
- current userpageId
- the page idPortalException
String getPortletTypeName(IURI thingUri) throws PortalException
thingUri
- the uri for the thingPortalException
IThingID getPortletTypeID(String typeName) throws PortalException
typeName
- the name of the portlet/dbo typePortalException
IThingID getPortletXTypeID(String typeName) throws PortalException
typeName
- the name of the portlet/dbo typePortalException
IPortletInfo getPortletInfo(String typeName) throws PortalException
typeName
- PortalException
IPortletInfo getPortletInfo(IURI thingUri) throws PortalException
thingUri
- PortalException
IPortletInfo getPortletInfo(File portletDescriptor, File wmPortletDescriptor) throws PortalException
portletDescriptor
- the portlet.xml descriptor filewmPortletDescriptor
- the wm-portlet.xml descriptor filePortalException
default IPortletInfo getPortletInfo(InputStream portletDescriptor, InputStream wmPortletDescriptor) throws PortalException
portletDescriptor
- the portlet.xml descriptor filewmPortletDescriptor
- the wm-portlet.xml descriptor filePortalException