public interface PermissionMethods
| Modifier and Type | Method and Description |
|---|---|
boolean |
deletePermission(java.lang.String permissionName)
This method is an alias of:
revokePermission(String) . |
boolean |
deletePermission(java.lang.String userId,
java.lang.String permissionName)
This method is an alias of:
revokePermission(String, String) . |
java.util.List<Permission> |
getPermissions()
Returns the permissions granted the current user to the current application.
|
java.util.List<Permission> |
getPermissions(java.lang.String userId)
Returns the permissions granted a user to the current application.
|
boolean |
revokePermission(java.lang.String permissionName)
Revokes a specific permission from the current application.
|
boolean |
revokePermission(java.lang.String userId,
java.lang.String permissionName)
Revokes a specific permission from the current application.
|
java.util.List<Permission> getPermissions() throws FacebookException
FacebookException - when Facebook service or network is unavailablejava.util.List<Permission> getPermissions(java.lang.String userId) throws FacebookException
userId - the ID of a userFacebookException - when Facebook service or network is unavailableboolean revokePermission(java.lang.String permissionName)
throws FacebookException
permissionName - permission nameFacebookException - when Facebook service or network is unavailableboolean revokePermission(java.lang.String userId,
java.lang.String permissionName)
throws FacebookException
userId - the ID of a userpermissionName - permission nameFacebookException - when Facebook service or network is unavailableboolean deletePermission(java.lang.String permissionName)
throws FacebookException
revokePermission(String) .permissionName - permission nameFacebookException - when Facebook service or network is unavailableboolean deletePermission(java.lang.String userId,
java.lang.String permissionName)
throws FacebookException
revokePermission(String, String) .userId - the ID of a userpermissionName - permission nameFacebookException - when Facebook service or network is unavailable