public class NeverPermittedContentPermission extends ContentPermission
EDIT_PERMISSION, SHARED_PERMISSION, VIEW_PERMISSION
Constructor and Description |
---|
NeverPermittedContentPermission(String type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getType() |
int |
hashCode() |
boolean |
isGroupPermission() |
boolean |
isPermitted(com.atlassian.user.User user)
Determine if a user is locked out by the permission.
|
boolean |
isUserPermission() |
compareTo, createGroupPermission, createUserPermission, createUserPermission, getGroupName, getOwningSet, getUserName, getUserSubject, setOwningSet, setSubject, setUserAccessor, toString
getCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierName
public NeverPermittedContentPermission(String type)
public boolean isPermitted(com.atlassian.user.User user)
ContentPermission
content level permissions cannot be granted to anonymous users
isPermitted
in class ContentPermission
user
- the user to test againstpublic boolean isGroupPermission()
isGroupPermission
in class ContentPermission
public boolean isUserPermission()
isUserPermission
in class ContentPermission
public String getType()
getType
in class ContentPermission
public boolean equals(Object o)
equals
in class ContentPermission
public int hashCode()
hashCode
in class ContentPermission
Copyright © 2003–2019 Atlassian. All rights reserved.