Example usage for Java com.liferay.portal.kernel.service ResourceLocalServiceUtil fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addResources(long companyId, long groupId, long userId, String name, long primKey, boolean portletActions, boolean addGroupPermissions, boolean addGuestPermissions) Adds resources for the entity with the name and primary key, always creating a resource at the individual scope and only creating resources at the group, group template, and company scope if such resources don't already exist. |
void | addResources(long companyId, long groupId, long userId, String name, String primKey, boolean portletActions, boolean addGroupPermissions, boolean addGuestPermissions) Adds resources for the entity with the name and primary key string, always creating a resource at the individual scope and only creating resources at the group, group template, and company scope if such resources don't already exist. |
com.liferay.portal.kernel.model.Resource | getResource(long companyId, String name, int scope, String primKey) Returns a new resource with the name and primary key at the scope. |