com.liferay.portal.lar
Class LayoutCache
java.lang.Object
com.liferay.portal.lar.LayoutCache
public class LayoutCache
- extends java.lang.Object
View Source
- Author:
- Charles May
Field Summary |
protected java.util.Map<java.lang.String,java.lang.Long> |
entityGroupIdMap
|
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> |
entityMapMap
|
protected java.util.Map<java.lang.Long,java.util.List<com.liferay.portal.model.Role>> |
groupRolesMap
|
protected java.util.Map<java.lang.Long,java.util.List<com.liferay.portal.model.User>> |
groupUsersMap
|
protected java.util.Map<java.lang.String,com.liferay.portal.model.Resource> |
resourcesMap
|
protected java.util.Map<java.lang.String,com.liferay.portal.model.Role> |
rolesMap
|
protected java.util.Map<java.lang.Long,java.util.List<com.liferay.portal.model.Role>> |
userRolesMap
|
protected java.util.Map<java.lang.String,java.util.List<com.liferay.portal.model.User>> |
usersMap
|
Method Summary |
protected long |
getEntityGroupId(long companyId,
java.lang.String entityName,
java.lang.String name)
|
protected java.util.Map<java.lang.String,java.lang.Long> |
getEntityMap(long companyId,
java.lang.String entityName)
|
protected java.util.List<com.liferay.portal.model.Role> |
getGroupRoles_4(long groupId)
|
protected java.util.List<com.liferay.portal.model.Role> |
getGroupRoles_5(long groupId,
java.lang.String resourceName)
|
protected java.util.List<com.liferay.portal.model.User> |
getGroupUsers(long groupId)
|
protected com.liferay.portal.model.Resource |
getResource(long companyId,
long groupId,
java.lang.String resourceName,
int scope,
java.lang.String resourcePrimKey,
boolean portletActions)
|
protected com.liferay.portal.model.Role |
getRole(long companyId,
java.lang.String roleName)
|
protected com.liferay.portal.model.User |
getUser(long companyId,
long groupId,
java.lang.String uuid)
|
protected java.util.List<com.liferay.portal.model.Role> |
getUserRoles(long userId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entityGroupIdMap
protected java.util.Map<java.lang.String,java.lang.Long> entityGroupIdMap
entityMapMap
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> entityMapMap
groupRolesMap
protected java.util.Map<java.lang.Long,java.util.List<com.liferay.portal.model.Role>> groupRolesMap
groupUsersMap
protected java.util.Map<java.lang.Long,java.util.List<com.liferay.portal.model.User>> groupUsersMap
resourcesMap
protected java.util.Map<java.lang.String,com.liferay.portal.model.Resource> resourcesMap
rolesMap
protected java.util.Map<java.lang.String,com.liferay.portal.model.Role> rolesMap
userRolesMap
protected java.util.Map<java.lang.Long,java.util.List<com.liferay.portal.model.Role>> userRolesMap
usersMap
protected java.util.Map<java.lang.String,java.util.List<com.liferay.portal.model.User>> usersMap
LayoutCache
public LayoutCache()
getEntityGroupId
protected long getEntityGroupId(long companyId,
java.lang.String entityName,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntityMap
protected java.util.Map<java.lang.String,java.lang.Long> getEntityMap(long companyId,
java.lang.String entityName)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupRoles_4
protected java.util.List<com.liferay.portal.model.Role> getGroupRoles_4(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupRoles_5
protected java.util.List<com.liferay.portal.model.Role> getGroupRoles_5(long groupId,
java.lang.String resourceName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroupUsers
protected java.util.List<com.liferay.portal.model.User> getGroupUsers(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getResource
protected com.liferay.portal.model.Resource getResource(long companyId,
long groupId,
java.lang.String resourceName,
int scope,
java.lang.String resourcePrimKey,
boolean portletActions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getRole
protected com.liferay.portal.model.Role getRole(long companyId,
java.lang.String roleName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUser
protected com.liferay.portal.model.User getUser(long companyId,
long groupId,
java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserRoles
protected java.util.List<com.liferay.portal.model.Role> getUserRoles(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException