public class ResourceActionLocalServiceImpl extends ResourceActionLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, resourceActionLocalService, resourceActionPersistence| 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, 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, updateResourceActionpublic 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
ResourceActionLocalServiceBaseImplImportant: 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.
deleteResourceAction in interface com.liferay.portal.kernel.service.ResourceActionLocalServicedeleteResourceAction in class ResourceActionLocalServiceBaseImplresourceActionId - 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)
ResourceActionLocalServiceBaseImplImportant: 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.
deleteResourceAction in interface com.liferay.portal.kernel.service.ResourceActionLocalServicedeleteResourceAction in class ResourceActionLocalServiceBaseImplresourceAction - the resource action@Transactional(enabled=false)
public com.liferay.portal.kernel.model.ResourceAction fetchResourceAction(String name,
String actionId)
@Transactional(enabled=false)
public com.liferay.portal.kernel.model.ResourceAction getResourceAction(String name,
String actionId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic List<com.liferay.portal.kernel.model.ResourceAction> getResourceActions(String name)
public int getResourceActionsCount(String name)
protected String encodeKey(String name,
String actionId)