|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PortletRegistry
PortletRegistryComponentImpl
| Method Summary | |
|---|---|
void |
addRegistryListener(RegistryEventListener listener)
|
org.apache.pluto.om.common.Language |
createLanguage(Locale locale,
String title,
String shortTitle,
String description,
Collection keywords)
|
Collection |
getAllPortletDefinitions()
|
MutablePortletApplication |
getPortletApplication(org.apache.pluto.om.common.ObjectID id)
Retreives a PortletApplication by it's unique ObjectID. |
MutablePortletApplication |
getPortletApplication(String name)
Retreives a PortletApplication by it's unique name. |
MutablePortletApplication |
getPortletApplicationByIdentifier(String identifier)
Locates a portlet application using it's unique identifier
field. |
Collection |
getPortletApplications()
|
PortletDefinitionComposite |
getPortletDefinition(org.apache.pluto.om.common.ObjectID id)
Locates the portlet defintion by its unique ObjectID. |
PortletDefinitionComposite |
getPortletDefinitionByIdentifier(String identifier)
Locates a portlet using it's unique identifier
field. |
PortletDefinitionComposite |
getPortletDefinitionByUniqueName(String name)
unique name is a string formed by the combination of a portlet's unique within it's parent application plus the parent application's unique name within the portlet container using ":" as a delimiter. |
boolean |
namedPortletApplicationExists(String appName)
namedPortletApplicationExists |
boolean |
portletApplicationExists(String appIentity)
Checks whether or not a portlet application with this identity has all ready been registered to the container. |
boolean |
portletDefinitionExists(String portletIndentity)
Checks whether or not a portlet with this identity has all ready been registered to the container. |
boolean |
portletDefinitionExists(String portletName,
MutablePortletApplication app)
Checks whether or not a portlet with this identity has all ready been registered to the PortletApplication. |
void |
registerPortletApplication(org.apache.pluto.om.portlet.PortletApplicationDefinition newApp)
Creates a new PortletApplicationDefinition
within the Portal. |
void |
removeApplication(org.apache.pluto.om.portlet.PortletApplicationDefinition app)
|
void |
removeRegistryEventListner(RegistryEventListener listener)
|
void |
savePortletDefinition(org.apache.pluto.om.portlet.PortletDefinition portlet)
savePortletDefinition |
void |
updatePortletApplication(org.apache.pluto.om.portlet.PortletApplicationDefinition app)
Makes any changes to the PortletApplicationDefinition
persistent. |
| Method Detail |
|---|
org.apache.pluto.om.common.Language createLanguage(Locale locale,
String title,
String shortTitle,
String description,
Collection keywords)
throws RegistryException
RegistryExceptionCollection getAllPortletDefinitions()
MutablePortletApplication getPortletApplication(org.apache.pluto.om.common.ObjectID id)
id -
MutablePortletApplication getPortletApplication(String name)
id -
MutablePortletApplication getPortletApplicationByIdentifier(String identifier)
identifier
field.
identifier - Unique id for this portlet application
Collection getPortletApplications()
PortletDefinitionComposite getPortletDefinitionByIdentifier(String identifier)
identifier
field.
getStoreableInstance(PortletDefinitionComposite portlet)
on the returned PortletEntityInstance
identifier - Unique id for this portlet
IllegalStateException - If PortletDefinitionComposite != null AND
PortletDefinitionComposite.getPortletApplicationDefinition() == null.
The reason for this is that every PortletDefinition is required to
have a parent PortletApplicationDefinitionPortletDefinitionComposite getPortletDefinition(org.apache.pluto.om.common.ObjectID id)
ObjectID.
The ObjectID is generated internally by the portal when the portlet
definition is first registered and has no connection to the information
stored within the portlet.xml.
id -
PortletDefinitionComposite getPortletDefinitionByUniqueName(String name)
getStoreableInstance(PortletDefinitionComposite portlet)
on the returned PortletEntityInstance
name - portlets unique name.
IllegalStateException - If PortletDefinitionComposite != null AND
PortletDefinitionComposite.getPortletApplicationDefinition() == null.
The reason for this is that every PortletDefinition is required to
have a parent PortletApplicationDefinitionboolean portletApplicationExists(String appIentity)
appIdentity - portlet application indetity to check for.
true if a portlet application with this identity
is alreay registered, false if it has not.boolean namedPortletApplicationExists(String appName)
namedPortletApplicationExists
appName -
boolean portletDefinitionExists(String portletIndentity)
portletIndentity - portlet indetity to check for.
true if a portlet with this identity
is alreay registered, false if it has not.
boolean portletDefinitionExists(String portletName,
MutablePortletApplication app)
portletIndentity - portlet indetity to check for.app - PortletApplication to check .
true if a portlet with this identity
is alreay registered, false if it has not.
void registerPortletApplication(org.apache.pluto.om.portlet.PortletApplicationDefinition newApp)
throws RegistryException
PortletApplicationDefinition
within the Portal.
newApp -
RegistryException
void removeApplication(org.apache.pluto.om.portlet.PortletApplicationDefinition app)
throws RegistryException
RegistryException
void updatePortletApplication(org.apache.pluto.om.portlet.PortletApplicationDefinition app)
throws RegistryException
PortletApplicationDefinition
persistent.
app -
RegistryException
void savePortletDefinition(org.apache.pluto.om.portlet.PortletDefinition portlet)
throws FailedToStorePortletDefinitionException
savePortletDefinition
portlet -
FailedToStorePortletDefinitionExceptionvoid addRegistryListener(RegistryEventListener listener)
void removeRegistryEventListner(RegistryEventListener listener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||