public class LayoutCache
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.Long,java.util.List<com.liferay.portal.kernel.model.Role>> |
groupRolesMap |
protected java.util.Map<java.lang.Long,java.util.List<com.liferay.portal.kernel.model.User>> |
groupUsersMap |
protected java.util.Map<java.lang.String,com.liferay.portal.kernel.model.Role> |
nameRolesMap |
protected java.util.Map<java.lang.Long,java.util.List<com.liferay.portal.kernel.model.Role>> |
userRolesMap |
protected java.util.Map<java.lang.String,com.liferay.portal.kernel.model.Role> |
uuidRolesMap |
Constructor and Description |
---|
LayoutCache() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<com.liferay.portal.kernel.model.Role> |
getGroupRoles(long groupId,
java.lang.String resourceName) |
protected java.util.List<com.liferay.portal.kernel.model.User> |
getGroupUsers(long groupId) |
com.liferay.portal.kernel.model.Role |
getNameRole(long companyId,
java.lang.String roleName) |
protected java.util.List<com.liferay.portal.kernel.model.Role> |
getUserRoles(long userId) |
com.liferay.portal.kernel.model.Role |
getUuidRole(long companyId,
java.lang.String uuid) |
protected java.util.Map<java.lang.Long,java.util.List<com.liferay.portal.kernel.model.Role>> groupRolesMap
protected java.util.Map<java.lang.Long,java.util.List<com.liferay.portal.kernel.model.User>> groupUsersMap
protected java.util.Map<java.lang.String,com.liferay.portal.kernel.model.Role> nameRolesMap
protected java.util.Map<java.lang.Long,java.util.List<com.liferay.portal.kernel.model.Role>> userRolesMap
protected java.util.Map<java.lang.String,com.liferay.portal.kernel.model.Role> uuidRolesMap
public com.liferay.portal.kernel.model.Role getNameRole(long companyId, java.lang.String roleName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Role getUuidRole(long companyId, java.lang.String uuid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected java.util.List<com.liferay.portal.kernel.model.Role> getGroupRoles(long groupId, java.lang.String resourceName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected java.util.List<com.liferay.portal.kernel.model.User> getGroupUsers(long groupId)
protected java.util.List<com.liferay.portal.kernel.model.Role> getUserRoles(long userId)