public class ResourceActionLocalServiceImpl extends ResourceActionLocalServiceBaseImpl
companyLocalService, companyPersistence, counterLocalService, persistedModelLocalServiceRegistry, resourceActionLocalService, resourceActionPersistence, resourceBlockFinder, resourceBlockLocalService, resourceBlockPermissionLocalService, resourceBlockPermissionPersistence, resourceBlockPersistence, resourcePermissionFinder, resourcePermissionLocalService, resourcePermissionPersistence, resourceTypePermissionFinder, resourceTypePermissionLocalService, resourceTypePermissionPersistence
Constructor and Description |
---|
ResourceActionLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.ResourceAction |
addResourceAction(String name,
String actionId,
long bitwiseValue) |
void |
checkResourceActions() |
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 |
encodeKey(String name,
String actionId) |
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 |
getResourceActionsCount(String name) |
addResourceAction, afterPropertiesSet, createResourceAction, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchResourceAction, getActionableDynamicQuery, getCompanyLocalService, getCompanyPersistence, getCounterLocalService, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceAction, getResourceActionLocalService, getResourceActionPersistence, getResourceActions, getResourceActionsCount, getResourceBlockFinder, getResourceBlockLocalService, getResourceBlockPermissionLocalService, getResourceBlockPermissionPersistence, getResourceBlockPersistence, getResourcePermissionFinder, getResourcePermissionLocalService, getResourcePermissionPersistence, getResourceTypePermissionFinder, getResourceTypePermissionLocalService, getResourceTypePermissionPersistence, initActionableDynamicQuery, runSQL, setCompanyLocalService, setCompanyPersistence, setCounterLocalService, setResourceActionLocalService, setResourceActionPersistence, setResourceBlockFinder, setResourceBlockLocalService, setResourceBlockPermissionLocalService, setResourceBlockPermissionPersistence, setResourceBlockPersistence, setResourcePermissionFinder, setResourcePermissionLocalService, setResourcePermissionPersistence, setResourceTypePermissionFinder, setResourceTypePermissionLocalService, setResourceTypePermissionPersistence, updateResourceAction
public com.liferay.portal.kernel.model.ResourceAction addResourceAction(String name, String actionId, long bitwiseValue)
@Transactional(propagation=SUPPORTS, readOnly=true) public void checkResourceActions()
public void checkResourceActions(String name, List<String> actionIds)
public void checkResourceActions(String name, List<String> actionIds, boolean addDefaultActions)
public com.liferay.portal.kernel.model.ResourceAction deleteResourceAction(long resourceActionId) throws com.liferay.portal.kernel.exception.PortalException
ResourceActionLocalServiceBaseImpl
deleteResourceAction
in interface com.liferay.portal.kernel.service.ResourceActionLocalService
deleteResourceAction
in class ResourceActionLocalServiceBaseImpl
resourceActionId
- the primary key of the resource actioncom.liferay.portal.kernel.exception.PortalException
- if a resource action with the primary key could not be foundpublic com.liferay.portal.kernel.model.ResourceAction deleteResourceAction(com.liferay.portal.kernel.model.ResourceAction resourceAction)
ResourceActionLocalServiceBaseImpl
deleteResourceAction
in interface com.liferay.portal.kernel.service.ResourceActionLocalService
deleteResourceAction
in class ResourceActionLocalServiceBaseImpl
resourceAction
- the resource action@Skip public com.liferay.portal.kernel.model.ResourceAction fetchResourceAction(String name, String actionId)
@Skip public com.liferay.portal.kernel.model.ResourceAction getResourceAction(String name, String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.ResourceAction> getResourceActions(String name)
public int getResourceActionsCount(String name)
protected String encodeKey(String name, String actionId)