|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PermissionMethods
Method Summary | |
---|---|
boolean |
deleteAllPermissions()
This method is an alias of: revokeAllPermissions() . |
boolean |
deleteAllPermissions(String userId)
This method is an alias of: revokeAllPermissions() . |
boolean |
deletePermission(String permissionName)
This method is an alias of: revokePermission(String) . |
boolean |
deletePermission(String userId,
String permissionName)
This method is an alias of: revokePermission(String, String) . |
List<Permission> |
getPermissions()
Returns the permissions granted the current user to the current application. |
List<Permission> |
getPermissions(String userId)
Returns the permissions granted a user to the current application. |
boolean |
revokeAllPermissions()
Revokes all permissions from the current application. |
boolean |
revokeAllPermissions(String userId)
Revokes all permissions from the current application. |
boolean |
revokePermission(String permissionName)
Revokes a specific permission from the current application. |
boolean |
revokePermission(String userId,
String permissionName)
Revokes a specific permission from the current application. |
Method Detail |
---|
List<Permission> getPermissions() throws FacebookException
FacebookException
- when Facebook service or network is unavailableList<Permission> getPermissions(String userId) throws FacebookException
userId
- the ID of a user
FacebookException
- when Facebook service or network is unavailableboolean revokeAllPermissions() throws FacebookException
FacebookException
- when Facebook service or network is unavailableboolean revokeAllPermissions(String userId) throws FacebookException
userId
- the ID of a user
FacebookException
- when Facebook service or network is unavailableboolean revokePermission(String permissionName) throws FacebookException
permissionName
- permission name
FacebookException
- when Facebook service or network is unavailableboolean revokePermission(String userId, String permissionName) throws FacebookException
userId
- the ID of a userpermissionName
- permission name
FacebookException
- when Facebook service or network is unavailableboolean deleteAllPermissions() throws FacebookException
revokeAllPermissions()
.
FacebookException
- when Facebook service or network is unavailableboolean deleteAllPermissions(String userId) throws FacebookException
revokeAllPermissions()
.
userId
- the ID of a user
FacebookException
- when Facebook service or network is unavailableboolean deletePermission(String permissionName) throws FacebookException
revokePermission(String)
.
permissionName
- permission name
FacebookException
- when Facebook service or network is unavailableboolean deletePermission(String userId, String permissionName) throws FacebookException
revokePermission(String, String)
.
userId
- the ID of a userpermissionName
- permission name
FacebookException
- when Facebook service or network is unavailable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |