Class Account

All Implemented Interfaces:
HasProfilePicture, Serializable

public class Account extends Page
Represents the Account Graph API type.
Author:
Mark Allen
See Also:
  • Constructor Details

  • Method Details

    • getTasks

      public List<String> getTasks()
      A list of tasks allowed to perform for this page. See tasks list here
      Returns:
      A list of allowed tasks
    • addTask

      public boolean addTask(String task)
      Add a task to the task list.
      Parameters:
      task - the task is added to the task list
      Returns:
      true if the task is added false instead
    • removeTask

      public boolean removeTask(String task)
      Remove the task from the task list.
      Parameters:
      task - the task is removed from the task list
      Returns:
      true if the task is removed false instead