api.basecamp
Class Categories
java.lang.Object
api.basecamp.Categories
public class Categories
- extends java.lang.Object
Collection of BaseCamp Category Objects
- Author:
- jondavidjohn
Constructor Summary |
Categories(BCAuth auth,
int projectId)
Get All Categories for a project |
Categories(BCAuth auth,
int projectId,
boolean type)
Get All Categories for a project with Type option |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Categories
public Categories(BCAuth auth,
int projectId)
- Get All Categories for a project
- Parameters:
auth
- BCAuthprojectId
- ID of Project
Categories
public Categories(BCAuth auth,
int projectId,
boolean type)
- Get All Categories for a project with Type option
- Parameters:
auth
- BCAuthprojectId
- ID of Projecttype
- [ Category.POST || Category.ATTACH ]
getCategoryCount
public int getCategoryCount()
- Returns:
- Count of Category Objects
getCategories
public java.util.List<Category> getCategories()
- Returns:
- List of Project Objects
getCategory
public Category getCategory(int index)
- Parameters:
index
- index of Category Object
- Returns:
- List of Category Objects