api.basecamp
Class Companies

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

public class Companies
extends java.lang.Object

Collection of BaseCamp Company Objects

Author:
jondavidjohn

Constructor Summary
Companies(BCAuth auth)
          Gets All Companies
Companies(BCAuth auth, int projectId)
          Gets Companies associated with given project.
 
Method Summary
 java.util.List<Company> getCompanies()
           
 Company getCompany(int index)
           
 int getCompanyCount()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Companies

public Companies(BCAuth auth)
Gets All Companies

Parameters:
auth - BCAuth Object

Companies

public Companies(BCAuth auth,
                 int projectId)
Gets Companies associated with given project.

Parameters:
auth - BCAuth Object
projectId - ID of project
Method Detail

getCompanies

public java.util.List<Company> getCompanies()
Returns:
List of Category Objects

getCompany

public Company getCompany(int index)
Parameters:
index - index of Category Object
Returns:
List of Category Objects

getCompanyCount

public int getCompanyCount()
Returns:
Count of Category Objects