Package | Description |
---|---|
de.innovationgate.webgate.api |
Basic functionality of the WGAPI including most of the database-independent functionality.
|
Modifier and Type | Class and Description |
---|---|
class |
WGPortletDefaultBean
Object representing a portlet registration on
WGUserProfile |
class |
WGTransientPortlet
Implementation for a transient portlet, registered only for a single request in memory, used by the
WGTransientPortletRegistry |
Modifier and Type | Method and Description |
---|---|
WGPortlet |
WGTransientPortletRegistry.createPortlet(java.lang.String appDb,
WGPortlet parent) |
abstract WGPortlet |
WGPortletRegistry.createPortlet(java.lang.String appDb,
WGPortlet parent)
Creates a new portlet object that is not yet registered.
|
WGPortlet |
WGTransientPortletRegistry.getOrCreateRootPortlet(java.lang.String appDb) |
abstract WGPortlet |
WGPortletRegistry.getOrCreateRootPortlet(java.lang.String appDb)
Returns the root portlet for the database of the given dbkey.
|
WGPortlet |
WGTransientPortletRegistry.getPortlet(java.lang.String appDb,
java.lang.String key) |
abstract WGPortlet |
WGPortletRegistry.getPortlet(java.lang.String appDb,
java.lang.String key)
Returns the portlet for the given key.
|
WGPortlet |
WGTransientPortletRegistry.getPortletByName(java.lang.String appDb,
WGPortlet parentPortlet,
java.lang.String name) |
abstract WGPortlet |
WGPortletRegistry.getPortletByName(java.lang.String appDb,
WGPortlet parentPortlet,
java.lang.String name)
Returns the portlet for the given name under the given parent portlet.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<WGPortlet> |
WGTransientPortletRegistry.getChildPortlets(WGPortlet portlet) |
abstract java.util.List<WGPortlet> |
WGPortletRegistry.getChildPortlets(WGPortlet portlet)
Returns the child portlets for the given parent portlet
|
Modifier and Type | Method and Description |
---|---|
void |
WGPortletRegistry.clearItems(WGPortlet portlet)
Removes all portlet items for the given portlet
|
WGPortlet |
WGTransientPortletRegistry.createPortlet(java.lang.String appDb,
WGPortlet parent) |
abstract WGPortlet |
WGPortletRegistry.createPortlet(java.lang.String appDb,
WGPortlet parent)
Creates a new portlet object that is not yet registered.
|
java.util.List<WGPortlet> |
WGTransientPortletRegistry.getChildPortlets(WGPortlet portlet) |
abstract java.util.List<WGPortlet> |
WGPortletRegistry.getChildPortlets(WGPortlet portlet)
Returns the child portlets for the given parent portlet
|
java.util.List<java.lang.String> |
WGTransientPortletRegistry.getItemNames(WGPortlet portlet) |
abstract java.util.List<java.lang.String> |
WGPortletRegistry.getItemNames(WGPortlet portlet)
Returns the names of all portlet items for the given portlet
|
java.lang.Object |
WGTransientPortletRegistry.getItemValue(WGPortlet portlet,
java.lang.String name) |
abstract java.lang.Object |
WGPortletRegistry.getItemValue(WGPortlet portlet,
java.lang.String name)
Returns the value of a portlet item
|
WGPortlet |
WGTransientPortletRegistry.getPortletByName(java.lang.String appDb,
WGPortlet parentPortlet,
java.lang.String name) |
abstract WGPortlet |
WGPortletRegistry.getPortletByName(java.lang.String appDb,
WGPortlet parentPortlet,
java.lang.String name)
Returns the portlet for the given name under the given parent portlet.
|
boolean |
WGTransientPortletRegistry.hasItem(WGPortlet portlet,
java.lang.String name) |
abstract boolean |
WGPortletRegistry.hasItem(WGPortlet portlet,
java.lang.String name)
Tests if the given portlet has a portlet item of the given name
|
void |
WGTransientPortletRegistry.insertPortlet(WGPortlet portlet) |
abstract void |
WGPortletRegistry.insertPortlet(WGPortlet portlet)
Inserts a new portlet to the registry
|
void |
WGTransientPortletRegistry.removeItem(WGPortlet portlet,
java.lang.String name) |
abstract void |
WGPortletRegistry.removeItem(WGPortlet portlet,
java.lang.String name)
Removes a portlet item
|
void |
WGTransientPortletRegistry.removePortlet(WGPortlet portlet) |
abstract void |
WGPortletRegistry.removePortlet(WGPortlet portlet)
Removes the portlet of the given key from registry
This method should:
Remove all items registered for this portlet
Remove the registration of the portlet from portlet registry
Remove all child portlets the same way that this portlet was removed (including items and their child portlets)
|
void |
WGTransientPortletRegistry.setItemValue(WGPortlet portlet,
java.lang.String name,
java.lang.Object value) |
abstract void |
WGPortletRegistry.setItemValue(WGPortlet portlet,
java.lang.String name,
java.lang.Object value)
Sets the value of a portlet item, eventually creating it
|
void |
WGTransientPortletRegistry.updatePortlet(WGPortlet portlet) |
abstract void |
WGPortletRegistry.updatePortlet(WGPortlet portlet)
Updates an already registered portlet with the information given in the parameter portlet object
|