Class PortletRegistryGenerator
- java.lang.Object
-
- com.sun.portal.portletcontainer.admin.PortletRegistryGenerator
-
- All Implemented Interfaces:
PortletRegistryTags
public class PortletRegistryGenerator extends Object implements PortletRegistryTags
PortletRegistryGenerator is responsible for parsing the portlet.xml using the DeploymentDescriptorReader and generating Portlet Registry Elements like PortletAppRegistry, PortletWindowRegistry and PortletWindowPreferenceRegistry
-
-
Field Summary
-
Fields inherited from interface com.sun.portal.portletcontainer.admin.registry.PortletRegistryTags
ARCHIVE_KEY, ARCHIVE_NAME_KEY, ARCHIVE_TYPE_KEY, COLLECTION_TAG, CONSUMER_ID, DESCRIPTION_KEY, DESCRIPTION_MAP_KEY, DISPLAY_NAME_MAP_KEY, ENTITY_ID_PREFIX_KEY, KEYWORDS_KEY, LANG, NAME_KEY, PORTLET_APP_REGISTRY_TAG, PORTLET_APP_TAG, PORTLET_HANDLE, PORTLET_ID, PORTLET_NAME_KEY, PORTLET_WINDOW_PREFERENCE_REGISTRY_TAG, PORTLET_WINDOW_PREFERENCE_TAG, PORTLET_WINDOW_REGISTRY_TAG, PORTLET_WINDOW_TAG, PREFERENCE_PROPERTIES_KEY, PREFERENCE_READ_ONLY_KEY, PRODUCER_ENTITY_ID, PROPERTIES_TAG, REMOTE_KEY, ROLE_DESCRIPTIONS_KEY, ROLE_MAP_KEY, ROW_KEY, SHORT_TITLE_KEY, STRING_TAG, SUPPORTED_CONTENT_TYPES_KEY, SUPPORTED_LOCALES_KEY, SUPPORTS_MAP_KEY, TITLE_KEY, TRANSPORT_GUARANTEE_KEY, USER_INFO_DESCRIPTIONS_KEY, USER_INFO_MAP_KEY, USER_NAME_KEY, VALUE_KEY, VERSION_KEY, VISIBLE_KEY, WIDTH_KEY
-
-
Constructor Summary
Constructors Constructor Description PortletRegistryGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPortletAppName()
String
getPortletWarName()
void
register(File updatedArchiveFile, String warFileLocation, Properties roleProperties, Properties userInfoProperties, com.sun.portal.container.PortletLang portletLang)
void
registerRemote(String portletWindowName, String consumerId, String producerEntityId, String portletHandle, String portletId)
void
removePortletWar(String warFileLocation, String warName)
Boolean
unregister(String configFileLocation, String warFileLocation, String warName)
void
unregisterRemote(String portletWindowName)
-
-
-
Method Detail
-
register
public void register(File updatedArchiveFile, String warFileLocation, Properties roleProperties, Properties userInfoProperties, com.sun.portal.container.PortletLang portletLang) throws Exception
- Throws:
Exception
-
getPortletAppName
public String getPortletAppName()
-
getPortletWarName
public String getPortletWarName()
-
unregister
public Boolean unregister(String configFileLocation, String warFileLocation, String warName) throws Exception
- Throws:
Exception
-
removePortletWar
public void removePortletWar(String warFileLocation, String warName) throws Exception
- Throws:
Exception
-
registerRemote
public void registerRemote(String portletWindowName, String consumerId, String producerEntityId, String portletHandle, String portletId) throws Exception
- Throws:
Exception
-
-