Class PermissionScope
java.lang.Object
com.broadleafcommerce.auth.security.domain.PermissionScope
- All Implemented Interfaces:
Serializable
@Entity(name="BroadleafPermissionScope")
public class PermissionScope
extends Object
implements Serializable
- Author:
- Jeff Fischer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetId()The permission or base root of a permission which can expand to a CRUD operation.getScope()inthashCode()booleanIs this the root of a permission? If this isfalsethis is a direct mapping between a permission and a scope.voidvoidsetPermission(String permission) The permission or base root of a permission which can expand to a CRUD operation.voidsetPermissionRoot(boolean permissionRoot) Is this the root of a permission? If this isfalsethis is a direct mapping between a permission and a scope.voidsetScope(SecurityScope scope) toString()
-
Constructor Details
-
PermissionScope
public PermissionScope()
-
-
Method Details
-
getId
-
getScope
-
getPermission
The permission or base root of a permission which can expand to a CRUD operation.Note that if a permission name starts with a
PermissionTypeprefix, it must be declared as a permission root by settingpermissionRoottotrue.- See Also:
-
PermissionTypepermissionRoot
-
isPermissionRoot
public boolean isPermissionRoot()Is this the root of a permission? If this isfalsethis is a direct mapping between a permission and a scope. In other words, the usual CREATE_, READ_, UPDATE_, DELETE_, ALL_ prefixes do not apply to this scope/permission relationship. -
setId
-
setScope
-
setPermission
The permission or base root of a permission which can expand to a CRUD operation.Note that if a permission name starts with a
PermissionTypeprefix, it must be declared as a permission root by settingpermissionRoottotrue.- See Also:
-
PermissionTypepermissionRoot
-
setPermissionRoot
public void setPermissionRoot(boolean permissionRoot) Is this the root of a permission? If this isfalsethis is a direct mapping between a permission and a scope. In other words, the usual CREATE_, READ_, UPDATE_, DELETE_, ALL_ prefixes do not apply to this scope/permission relationship. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-