public interface PortletEntityAccessComponent
PortletEntityAccessComponent
PortletEntity getPortletEntity(String id)
getPortletEntity
id - PortletEntity generateEntityFromFragment(ContentFragment fragment) throws PortletEntityNotGeneratedException
generateEntityFromFragment
fragment - PortletEntityNotGeneratedExceptionString generateEntityKey(ContentFragment fragment)
generateEntityKey
fragment - PortletEntity newPortletEntityInstance(PortletDefinition portletDefinition)
newPortletEntityInstance
portletDefinition - PortletEntity newPortletEntityInstance(PortletDefinition portletDefinition, String id)
PortletEntity getPortletEntityForFragment(ContentFragment fragment) throws PortletEntityNotStoredException
getPortletEntityForFragment
fragment - PortletEntityNotStoredExceptionvoid removePortletEntity(PortletEntity portletEntity) throws PortletEntityNotDeletedException
removePortletEntity
portletEntity - PortletEntityNotDeletedExceptionvoid removeFromCache(PortletEntity entity)
removeFromCache
Removes a PortletEntity from the cache.entity - void updatePortletEntity(PortletEntity portletEntity, ContentFragment fragment) throws PortletEntityNotStoredException
updatePortletEntity
Updates portlet definition associated with the portlet entity to match the fragment configurationportletEntity - fragment - PortletEntityNotStoredExceptionvoid storePortletEntity(PortletEntity portletEntity) throws PortletEntityNotStoredException
storePortletEntity
portletEntity - PortletEntityNotStoredExceptionCollection<PortletEntity> getPortletEntities(PortletDefinition portletDefinition)
getPortletEntities
portletDefinition - Collection<PortletEntity> getPortletEntities(String portletUniqueName)
void removePortletEntities(PortletDefinition portletDefinition) throws PortletEntityNotDeletedException
removePortletEntities
portletDefinition - PortletEntityNotDeletedExceptionboolean isMergeSharedPreferences()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.