public interface I_CmsCacheKey
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getCacheKeyForGroupUsers(java.lang.String prefix,
CmsDbContext context,
CmsGroup group)
Returns the cache key for the group users cache.
|
java.lang.String |
getCacheKeyForUserGroups(java.lang.String prefix,
CmsDbContext context,
CmsUser user)
Returns the cache key for the user groups cache.
|
java.lang.String |
getCacheKeyForUserPermissions(java.lang.String prefix,
CmsDbContext context,
CmsResource resource,
CmsPermissionSet requiredPermissions)
Returns the cache key for the permission cache.
|
java.lang.String getCacheKeyForGroupUsers(java.lang.String prefix, CmsDbContext context, CmsGroup group)
prefix
- to distinguish keys additionallycontext
- the contextgroup
- the groupjava.lang.String getCacheKeyForUserGroups(java.lang.String prefix, CmsDbContext context, CmsUser user)
prefix
- to distinguish keys additionallycontext
- the contextuser
- the userjava.lang.String getCacheKeyForUserPermissions(java.lang.String prefix, CmsDbContext context, CmsResource resource, CmsPermissionSet requiredPermissions)
prefix
- to distinguish keys additionallycontext
- the contextresource
- the resourcerequiredPermissions
- the permissions to check