Liferay 6.0.5

com.liferay.portal.lar
Class LayoutCache

java.lang.Object
  extended by com.liferay.portal.lar.LayoutCache

public class LayoutCache
extends Object


Field Summary
protected  Map<String,Long> entityGroupIdMap
           
protected  Map<String,Map<String,Long>> entityMapMap
           
protected  Map<Long,List<Role>> groupRolesMap
           
protected  Map<Long,List<User>> groupUsersMap
           
protected  Map<String,Resource> resourcesMap
           
protected  Map<String,Role> rolesMap
           
protected  Map<Long,List<Role>> userRolesMap
           
protected  Map<String,List<User>> usersMap
           
 
Constructor Summary
LayoutCache()
           
 
Method Summary
protected  long getEntityGroupId(long companyId, String entityName, String name)
           
protected  Map<String,Long> getEntityMap(long companyId, String entityName)
           
protected  List<Role> getGroupRoles_1to4(long groupId)
           
protected  List<Role> getGroupRoles_5(long groupId, String resourceName)
           
protected  List<User> getGroupUsers(long groupId)
           
protected  Resource getResource(long companyId, long groupId, String resourceName, int scope, String resourcePrimKey, boolean portletActions)
           
protected  Role getRole(long companyId, String roleName)
           
protected  User getUser(long companyId, long groupId, String uuid)
           
protected  List<Role> getUserRoles(long userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityGroupIdMap

protected Map<String,Long> entityGroupIdMap

entityMapMap

protected Map<String,Map<String,Long>> entityMapMap

groupRolesMap

protected Map<Long,List<Role>> groupRolesMap

groupUsersMap

protected Map<Long,List<User>> groupUsersMap

resourcesMap

protected Map<String,Resource> resourcesMap

rolesMap

protected Map<String,Role> rolesMap

userRolesMap

protected Map<Long,List<Role>> userRolesMap

usersMap

protected Map<String,List<User>> usersMap
Constructor Detail

LayoutCache

public LayoutCache()
Method Detail

getEntityGroupId

protected long getEntityGroupId(long companyId,
                                String entityName,
                                String name)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getEntityMap

protected Map<String,Long> getEntityMap(long companyId,
                                        String entityName)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getGroupRoles_1to4

protected List<Role> getGroupRoles_1to4(long groupId)
                                 throws SystemException
Throws:
SystemException

getGroupRoles_5

protected List<Role> getGroupRoles_5(long groupId,
                                     String resourceName)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getGroupUsers

protected List<User> getGroupUsers(long groupId)
                            throws SystemException
Throws:
SystemException

getResource

protected Resource getResource(long companyId,
                               long groupId,
                               String resourceName,
                               int scope,
                               String resourcePrimKey,
                               boolean portletActions)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getRole

protected Role getRole(long companyId,
                       String roleName)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

getUser

protected User getUser(long companyId,
                       long groupId,
                       String uuid)
                throws SystemException
Throws:
SystemException

getUserRoles

protected List<Role> getUserRoles(long userId)
                           throws SystemException
Throws:
SystemException

Liferay 6.0.5