Class SpacePermissionDTOLight
- java.lang.Object
-
- com.atlassian.confluence.security.persistence.dao.hibernate.SpacePermissionDTOLight
-
public class SpacePermissionDTOLight extends Object
This light object allows to retrieve space permission records with user keys without retrieving data from other tables (for example from spaces). Unfortunately, when we retrieve just "space permission list", Hibernate retrieves spaces as well. But when we retrieve space id as long field, we avoid this problem.- Since:
- 7.10.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGroupName()
Long
getId()
String
getPermAllUserSubject()
Long
getSpaceId()
SpacePermissionType
getType()
com.atlassian.sal.api.user.UserKey
getUserKey()
boolean
isAvailableForAnonymous()
boolean
isAvailableForAuthenticatedUsers()
-
-
-
Method Detail
-
getId
public Long getId()
-
getUserKey
public com.atlassian.sal.api.user.UserKey getUserKey()
-
getType
public SpacePermissionType getType()
-
getGroupName
public String getGroupName()
-
getPermAllUserSubject
public String getPermAllUserSubject()
-
getSpaceId
public Long getSpaceId()
-
isAvailableForAnonymous
public boolean isAvailableForAnonymous()
-
isAvailableForAuthenticatedUsers
public boolean isAvailableForAuthenticatedUsers()
-
-