Package com.liferay.portal.service.impl
Class ResourceActionLocalServiceImpl
Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portal.service.base.ResourceActionLocalServiceBaseImpl
com.liferay.portal.service.impl.ResourceActionLocalServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ResourceActionLocalService
- Author:
- Brian Wing Shun Chan, Shuyang Zhou
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.ResourceActionLocalServiceBaseImpl
counterLocalService, resourceActionLocalService, resourceActionPersistence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.ResourceAction
addResourceAction
(String name, String actionId, long bitwiseValue) void
void
checkResourceActions
(String name, List<String> actionIds) void
checkResourceActions
(String name, List<String> actionIds, boolean addDefaultActions) com.liferay.portal.kernel.model.ResourceAction
deleteResourceAction
(long resourceActionId) Deletes the resource action with the primary key from the database.com.liferay.portal.kernel.model.ResourceAction
deleteResourceAction
(com.liferay.portal.kernel.model.ResourceAction resourceAction) Deletes the resource action from the database.protected String
com.liferay.portal.kernel.model.ResourceAction
fetchResourceAction
(String name, String actionId) com.liferay.portal.kernel.model.ResourceAction
getResourceAction
(String name, String actionId) List<com.liferay.portal.kernel.model.ResourceAction>
getResourceActions
(String name) int
Methods inherited from class com.liferay.portal.service.base.ResourceActionLocalServiceBaseImpl
addResourceAction, afterPropertiesSet, createPersistedModel, createResourceAction, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchResourceAction, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceAction, getResourceActionLocalService, getResourceActionPersistence, getResourceActions, getResourceActionsCount, initActionableDynamicQuery, runSQL, setCounterLocalService, setResourceActionLocalService, setResourceActionPersistence, updateResourceAction
Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
ResourceActionLocalServiceImpl
public ResourceActionLocalServiceImpl()
-
-
Method Details
-
addResourceAction
-
checkResourceActions
@Transactional(propagation=SUPPORTS, readOnly=true) public void checkResourceActions() -
checkResourceActions
-
checkResourceActions
-
deleteResourceAction
public com.liferay.portal.kernel.model.ResourceAction deleteResourceAction(long resourceActionId) throws com.liferay.portal.kernel.exception.PortalException Description copied from class:ResourceActionLocalServiceBaseImpl
Deletes the resource action with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect ResourceActionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteResourceAction
in interfacecom.liferay.portal.kernel.service.ResourceActionLocalService
- Overrides:
deleteResourceAction
in classResourceActionLocalServiceBaseImpl
- Parameters:
resourceActionId
- the primary key of the resource action- Returns:
- the resource action that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a resource action with the primary key could not be found
-
deleteResourceAction
public com.liferay.portal.kernel.model.ResourceAction deleteResourceAction(com.liferay.portal.kernel.model.ResourceAction resourceAction) Description copied from class:ResourceActionLocalServiceBaseImpl
Deletes the resource action from the database. Also notifies the appropriate model listeners.Important: Inspect ResourceActionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteResourceAction
in interfacecom.liferay.portal.kernel.service.ResourceActionLocalService
- Overrides:
deleteResourceAction
in classResourceActionLocalServiceBaseImpl
- Parameters:
resourceAction
- the resource action- Returns:
- the resource action that was removed
-
fetchResourceAction
-
getResourceAction
@Transactional(enabled=false) public com.liferay.portal.kernel.model.ResourceAction getResourceAction(String name, String actionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getResourceActions
-
getResourceActionsCount
-
encodeKey
-