Package com.smartfoxserver.v2.security
Class SFSPermissionProfile
- java.lang.Object
-
- com.smartfoxserver.v2.security.SFSPermissionProfile
-
public class SFSPermissionProfile extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SFSPermissionProfile(short id, java.lang.String name, java.util.List<SystemRequest> deniedRequests)
SFSPermissionProfile(short id, java.lang.String name, java.util.List<SystemRequest> deniedRequests, java.util.List<SystemPermission> flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short
getId()
java.lang.String
getName()
boolean
isFlagSet(SystemPermission permission)
boolean
isRequestAllowed(SystemRequest request)
-
-
-
Constructor Detail
-
SFSPermissionProfile
public SFSPermissionProfile(short id, java.lang.String name, java.util.List<SystemRequest> deniedRequests)
-
SFSPermissionProfile
public SFSPermissionProfile(short id, java.lang.String name, java.util.List<SystemRequest> deniedRequests, java.util.List<SystemPermission> flags)
-
-
Method Detail
-
isRequestAllowed
public boolean isRequestAllowed(SystemRequest request)
-
isFlagSet
public boolean isFlagSet(SystemPermission permission)
-
getId
public short getId()
-
getName
public java.lang.String getName()
-
-