Package io.meeds.layout.service
Class PortletInstanceService
java.lang.Object
io.meeds.layout.service.PortletInstanceService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreatePortletInstance(PortletInstance portletInstance) createPortletInstance(PortletInstance portletInstance, String username) createPortletInstanceCategory(PortletInstanceCategory portletInstanceCategory, String username) voiddeletePortletInstance(long id) voiddeletePortletInstance(long id, String username) voiddeletePortletInstanceCategory(long id) voiddeletePortletInstanceCategory(long id, String username) voidexpandPortletPreferences(org.exoplatform.portal.config.model.Application application) voidexportApplicationPreferences(org.exoplatform.portal.config.model.Application application) longgetApplicationPortletInstanceId(long applicationId) org.exoplatform.portal.pom.spi.portlet.PortletgetApplicationPortletPreferences(org.exoplatform.portal.config.model.Application application) getApplicationPreferences(long applicationId, String username) getPortletInstance(long id) getPortletInstance(long id, String username, Locale locale, boolean expand) org.exoplatform.portal.config.model.ApplicationgetPortletInstanceApplication(long portletInstanceId, long applicationStorageId, String username) longgetPortletInstanceApplicationId(long portletInstanceId) getPortletInstanceCategories(String username, Locale locale, boolean expand) getPortletInstanceCategory(long id) getPortletInstanceCategory(long id, String username, Locale locale, boolean expand) getPortletInstancePreferences(long portletInstanceId, String username) getPortletInstances(long categoryId, String username, Locale locale, boolean expand) voidremovePortletInstancePreferencePlugin(String portletName) updatePortletInstance(PortletInstance portletInstance) updatePortletInstance(PortletInstance portletInstance, String username) updatePortletInstanceCategory(PortletInstanceCategory portletInstanceCategory) updatePortletInstanceCategory(PortletInstanceCategory portletInstanceCategory, String username)
-
Field Details
-
INSTANCE_CREATED_EVENT
- See Also:
-
INSTANCE_UPDATED_EVENT
- See Also:
-
INSTANCE_DELETED_EVENT
- See Also:
-
CATEGORY_CREATED_EVENT
- See Also:
-
CATEGORY_UPDATED_EVENT
- See Also:
-
CATEGORY_DELETED_EVENT
- See Also:
-
-
Constructor Details
-
PortletInstanceService
public PortletInstanceService()
-
-
Method Details
-
addPortletInstancePreferencePlugin
-
removePortletInstancePreferencePlugin
-
getPortletInstances
public List<PortletInstance> getPortletInstances(long categoryId, String username, Locale locale, boolean expand) -
getPortletInstanceCategories
-
getPortletInstanceCategories
public List<PortletInstanceCategory> getPortletInstanceCategories(String username, Locale locale, boolean expand) -
getPortletInstance
public PortletInstance getPortletInstance(long id, String username, Locale locale, boolean expand) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
IllegalAccessExceptionorg.exoplatform.commons.exception.ObjectNotFoundException
-
getPortletInstanceCategory
-
getPortletInstanceCategory
public PortletInstanceCategory getPortletInstanceCategory(long id, String username, Locale locale, boolean expand) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
getPortletInstance
-
createPortletInstance
public PortletInstance createPortletInstance(PortletInstance portletInstance, String username) throws IllegalAccessException - Throws:
IllegalAccessException
-
createPortletInstance
-
createPortletInstanceCategory
public PortletInstanceCategory createPortletInstanceCategory(PortletInstanceCategory portletInstanceCategory, String username) throws IllegalAccessException - Throws:
IllegalAccessException
-
createPortletInstanceCategory
-
deletePortletInstance
public void deletePortletInstance(long id, String username) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
IllegalAccessExceptionorg.exoplatform.commons.exception.ObjectNotFoundException
-
deletePortletInstance
public void deletePortletInstance(long id) throws org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
deletePortletInstanceCategory
public void deletePortletInstanceCategory(long id, String username) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
IllegalAccessExceptionorg.exoplatform.commons.exception.ObjectNotFoundException
-
deletePortletInstanceCategory
public void deletePortletInstanceCategory(long id) throws org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
updatePortletInstance
public PortletInstance updatePortletInstance(PortletInstance portletInstance, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
updatePortletInstance
public PortletInstance updatePortletInstance(PortletInstance portletInstance) throws org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
updatePortletInstanceCategory
public PortletInstanceCategory updatePortletInstanceCategory(PortletInstanceCategory portletInstanceCategory, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
updatePortletInstanceCategory
public PortletInstanceCategory updatePortletInstanceCategory(PortletInstanceCategory portletInstanceCategory) throws org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
getPortletInstanceApplication
public org.exoplatform.portal.config.model.Application getPortletInstanceApplication(long portletInstanceId, long applicationStorageId, String username) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
IllegalAccessExceptionorg.exoplatform.commons.exception.ObjectNotFoundException
-
getPortletInstancePreferences
public List<PortletInstancePreference> getPortletInstancePreferences(long portletInstanceId, String username) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
IllegalAccessExceptionorg.exoplatform.commons.exception.ObjectNotFoundException
-
getApplicationPreferences
public List<PortletInstancePreference> getApplicationPreferences(long applicationId, String username) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
IllegalAccessExceptionorg.exoplatform.commons.exception.ObjectNotFoundException
-
getApplicationPortletInstanceId
public long getApplicationPortletInstanceId(long applicationId) -
getPortletInstanceApplicationId
public long getPortletInstanceApplicationId(long portletInstanceId) -
getPortletInstances
-
exportApplicationPreferences
public void exportApplicationPreferences(org.exoplatform.portal.config.model.Application application) -
getApplicationPortletPreferences
public org.exoplatform.portal.pom.spi.portlet.Portlet getApplicationPortletPreferences(org.exoplatform.portal.config.model.Application application) -
expandPortletPreferences
public void expandPortletPreferences(org.exoplatform.portal.config.model.Application application)
-