public interface PermissionMethods
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteAllPermissions()
This method is an alias of:
revokeAllPermissions() . |
boolean |
deleteAllPermissions(java.lang.String userId)
This method is an alias of:
revokeAllPermissions() . |
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 |
revokeAllPermissions()
Revokes all permissions from the current application.
|
boolean |
revokeAllPermissions(java.lang.String userId)
Revokes all permissions from 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 revokeAllPermissions()
throws FacebookException
FacebookException - when Facebook service or network is unavailableboolean revokeAllPermissions(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 deleteAllPermissions()
throws FacebookException
revokeAllPermissions() .FacebookException - when Facebook service or network is unavailableboolean deleteAllPermissions(java.lang.String userId)
throws FacebookException
revokeAllPermissions() .userId - the ID of a userFacebookException - 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