Liferay 6.2-ce-ga5

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,Role> rolesMap
           
protected  Map<Long,List<Role>> userRolesMap
           
 
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(long groupId, String resourceName)
           
protected  List<User> getGroupUsers(long groupId)
           
protected  Role getRole(long companyId, String roleName)
           
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

rolesMap

protected Map<String,Role> rolesMap

userRolesMap

protected Map<Long,List<Role>> userRolesMap
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

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

getGroupUsers

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

getRole

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

getUserRoles

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

Liferay 6.2-ce-ga5