api.basecamp
Class Projects

java.lang.Object
  extended by api.basecamp.Projects

public class Projects
extends java.lang.Object

Collection of BaseCamp Project Objects

Author:
jondavidjohn

Constructor Summary
Projects(BCAuth auth)
          Get All Projects
 
Method Summary
 java.util.List<Project> getActive()
           
 java.util.List<Project> getArchived()
           
 java.util.List<Project> getOnHold()
           
 Project getProject(int index)
           
 int getProjectCount()
           
 java.util.List<Project> getProjects()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Projects

public Projects(BCAuth auth)
Get All Projects

Parameters:
auth - BCAuth
Method Detail

getProjects

public java.util.List<Project> getProjects()
Returns:
List of Project Objects

getProject

public Project getProject(int index)
Parameters:
index - index of project
Returns:
Project according to index

getProjectCount

public int getProjectCount()
Returns:
Count of Projects

getActive

public java.util.List<Project> getActive()
Returns:
List of all active projects

getOnHold

public java.util.List<Project> getOnHold()
Returns:
List of all projects that are on hold

getArchived

public java.util.List<Project> getArchived()
Returns:
List of all archived projects