public interface PortletEntityAccessComponent
PortletEntityAccessComponent
PortletEntity getPortletEntity(String id)
getPortletEntity
id
- PortletEntity generateEntityFromFragment(ContentFragment fragment) throws PortletEntityNotGeneratedException
generateEntityFromFragment
fragment
- PortletEntityNotGeneratedException
String 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
- PortletEntityNotStoredException
void removePortletEntity(PortletEntity portletEntity) throws PortletEntityNotDeletedException
removePortletEntity
portletEntity
- PortletEntityNotDeletedException
void 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
- PortletEntityNotStoredException
void storePortletEntity(PortletEntity portletEntity) throws PortletEntityNotStoredException
storePortletEntity
portletEntity
- PortletEntityNotStoredException
Collection<PortletEntity> getPortletEntities(PortletDefinition portletDefinition)
getPortletEntities
portletDefinition
- Collection<PortletEntity> getPortletEntities(String portletUniqueName)
void removePortletEntities(PortletDefinition portletDefinition) throws PortletEntityNotDeletedException
removePortletEntities
portletDefinition
- PortletEntityNotDeletedException
boolean isMergeSharedPreferences()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.