| java.lang.Object info.jtrac.domain.Counts
Counts | public class Counts implements Serializable(Code) | | Object that holds statistics for items within a single space
a map of these would serve as the model for the dashboard view
contains logic for totalling etc.
|
Constructor Summary | |
public | Counts(boolean detailed) |
ASSIGNED_TO_ME | final public static int ASSIGNED_TO_ME(Code) | | |
LOGGED_BY_ME | final public static int LOGGED_BY_ME(Code) | | |
TOTAL | final public static int TOTAL(Code) | | |
Counts | public Counts(boolean detailed)(Code) | | |
add | protected void add(int type, int state, long count)(Code) | | |
addAssignedToMe | public void addAssignedToMe(int state, long count)(Code) | | |
addLoggedByMe | public void addLoggedByMe(int state, long count)(Code) | | |
addTotal | public void addTotal(int state, long count)(Code) | | |
getAssignedToMe | public int getAssignedToMe()(Code) | | |
getAssignedToMeForState | public String getAssignedToMeForState(int stateKey)(Code) | | |
getLoggedByMe | public int getLoggedByMe()(Code) | | |
getLoggedByMeForState | public String getLoggedByMeForState(int stateKey)(Code) | | |
getTotal | public int getTotal()(Code) | | |
getTotalForState | public String getTotalForState(int stateKey)(Code) | | |
getTotalForType | protected int getTotalForType(int type)(Code) | | |
isDetailed | public boolean isDetailed()(Code) | | |
|
|