|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
PortletRegistryComponentImpl
| Method Summary | |
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 |
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 |
public org.apache.pluto.om.common.Language createLanguage(Locale locale,
String title,
String shortTitle,
String description,
Collection keywords)
throws RegistryException
RegistryExceptionpublic Collection getAllPortletDefinitions()
public MutablePortletApplication getPortletApplication(org.apache.pluto.om.common.ObjectID id)
id -
public MutablePortletApplication getPortletApplication(String name)
public MutablePortletApplication getPortletApplicationByIdentifier(String identifier)
identifier
field.
identifier - Unique id for this portlet application
public Collection getPortletApplications()
public 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 PortletApplicationDefinitionpublic PortletDefinitionComposite 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 -
public 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 PortletApplicationDefinitionpublic boolean portletApplicationExists(String appIentity)
true if a portlet application with this identity
is alreay registered, false if it has not.public boolean namedPortletApplicationExists(String appName)
namedPortletApplicationExists
appName -
public 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.
public boolean portletDefinitionExists(String portletName,
MutablePortletApplication app)
app - PortletApplication to check .
true if a portlet with this identity
is alreay registered, false if it has not.
public void registerPortletApplication(org.apache.pluto.om.portlet.PortletApplicationDefinition newApp)
throws RegistryException
PortletApplicationDefinition
within the Portal.
newApp -
RegistryException
public void removeApplication(org.apache.pluto.om.portlet.PortletApplicationDefinition app)
throws RegistryException
RegistryException
public void updatePortletApplication(org.apache.pluto.om.portlet.PortletApplicationDefinition app)
throws RegistryException
PortletApplicationDefinition
persistent.
app -
RegistryException
public void savePortletDefinition(org.apache.pluto.om.portlet.PortletDefinition portlet)
throws FailedToStorePortletDefinitionException
savePortletDefinition
portlet -
FailedToStorePortletDefinitionException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||