com.splitforce.lib.dao
Interface SfGoalDao

All Known Implementing Classes:
SplitforceGoalDao

public interface SfGoalDao

Data Access Object for Splitforce Goals.


Method Summary
 void addNewGoal(android.content.Context context, Goal goal)
          Send a new goal to the content provider to insert into the db.
 void deleteGoal(android.content.Context context, long id)
          Delete a stored goal.
 java.util.List<Goal> getGoals(android.content.Context context)
           
 

Method Detail

getGoals

java.util.List<Goal> getGoals(android.content.Context context)

addNewGoal

void addNewGoal(android.content.Context context,
                Goal goal)
Send a new goal to the content provider to insert into the db.

Parameters:
goal - Goal

deleteGoal

void deleteGoal(android.content.Context context,
                long id)
Delete a stored goal.

Parameters:
context - The application's context.
id - The local id of the goal.