Show AgilePlannerWebUIService.java syntax highlighted
package ucalgary.ebe.webui.server.service;
import java.util.Vector;
import persister.ConnectionFailedException;
import persister.CouldNotLoadProjectException;
import persister.ForbiddenOperationException;
import ucalgary.ebe.webui.client.data.BacklogWeb;
import ucalgary.ebe.webui.client.data.IterationWeb;
import ucalgary.ebe.webui.client.data.ProjectWeb;
import ucalgary.ebe.webui.client.data.StoryCardWeb;
import com.google.gwt.user.client.rpc.RemoteService;
/**
* @author webers
*
*/
public interface AgilePlannerWebUIService extends RemoteService {
/**
* Webservice call to load a project from the persister
*
* @param name
* @return
* @throws PersisterException
* @throws CouldNotLoadProjectException
* @throws ConnectionFailedException
*/
public ProjectWeb loadProject(String name) throws PersisterException, ConnectionFailedException, CouldNotLoadProjectException;
/**
* @return
* @throws PersisterException
*/
public Vector getProjectNames() throws PersisterException;
/****************************************************************************************
* CREATE *
****************************************************************************************/
/**
* @return
* @throws PersisterException
*/
public BacklogWeb createBacklog() throws PersisterException;
/**
* @param name
* @param description
* @param availableEffort
* @param startDate
* @param endDate
* @return
* @throws PersisterException
*/
public IterationWeb createIteration(String name, String description, float availableEffort, String startDate, String endDate) throws PersisterException;
/**
* @param name
* @return
* @throws PersisterException
*/
public ProjectWeb createProject(String name) throws PersisterException;
/**
* @param name
* @param description
* @param parentid
* @param bestCaseEstimate
* @param mostlikelyEstimate
* @param worstCaseEstimate
* @param actualEffort
* @param completed
* @return
* @throws PersisterException
*/
public StoryCardWeb createStoryCard(String name, String description, long parentid, float bestCaseEstimate,
float mostlikelyEstimate, float worstCaseEstimate, float actualEffort) throws PersisterException;
/****************************************************************************************
* DELETE *
****************************************************************************************/
/**
* @param id
* @return
* @throws PersisterException
*/
public BacklogWeb deleteBacklog(long id) throws PersisterException;
/**
* @param id
* @return
* @throws PersisterException
* @throws ForbiddenOperationException
*/
public IterationWeb deleteIteration(long id) throws PersisterException, ForbiddenOperationException;
/**
* @param id
* @return
* @throws PersisterException
* @throws ForbiddenOperationException
*/
public ProjectWeb deleteProject(long id) throws PersisterException, ForbiddenOperationException;
/**
* @param id
* @return
* @throws PersisterException
* @throws ForbiddenOperationException
*/
public StoryCardWeb deleteStoryCard(long id) throws PersisterException, ForbiddenOperationException;
/****************************************************************************************
* UPDATE STORYCARD *
****************************************************************************************/
/**
* @param id
* @param actualEffort
* @return
* @throws PersisterException
*/
public StoryCardWeb updateStoryCardActualEffort(long id, float actualEffort) throws PersisterException;
/**
* @param id
* @param bestCaseEstimate
* @return
* @throws PersisterException
*/
public StoryCardWeb updateStoryCardBestCaseEstimate(long id, float bestCaseEstimate) throws PersisterException;
/**
* @param id
* @param description
* @return
* @throws PersisterException
*/
public StoryCardWeb updateStoryCardDescription(long id, String description) throws PersisterException;
/**
* @param id
* @param mostlikelyEstimate
* @return
* @throws PersisterException
*/
public StoryCardWeb updateStoryCardMostLikelyEstimate(long id, float mostlikelyEstimate) throws PersisterException;
/**
* @param id
* @param name
* @return
* @throws PersisterException
*/
public StoryCardWeb updateStoryCardName(long id, String name) throws PersisterException;
/**
* @param id
* @param status
* @return
* @throws PersisterException
*/
public StoryCardWeb updateStoryCardStatus(long id, String status) throws PersisterException;
/**
* @param id
* @param worstCaseEstimate
* @return
* @throws PersisterException
*/
public StoryCardWeb updateStoryCardWorstCaseEstimate(long id, float worstCaseEstimate) throws PersisterException;
/****************************************************************************************
* MOVE STORYCARD BETWEEN PARENTS *
****************************************************************************************/
/**
* @param id
* @param oldparentid
* @param newparentid
* @return
* @throws PersisterException
*/
public StoryCardWeb moveStoryCardToNewParent(long id, long oldparentid, long newparentid) throws PersisterException;
/****************************************************************************************
* UPDATE ITERATION *
****************************************************************************************/
/**
* @param id
* @param availableEffort
* @return
* @throws PersisterException
*/
public IterationWeb updateIterationAvailableEffort(long id, float availableEffort) throws PersisterException;
/**
* @param id
* @param description
* @return
* @throws PersisterException
*/
public IterationWeb updateIterationDescription(long id, String description) throws PersisterException;
/**
* @param id
* @param endDate
* @return
* @throws PersisterException
*/
public IterationWeb updateIterationEndDate(long id, String endDate) throws PersisterException;
/**
* @param id
* @param name
* @return
* @throws PersisterException
*/
public IterationWeb updateIterationName(long id, String name) throws PersisterException;
/**
* @param id
* @param status
* @return
* @throws PersisterException
*/
public IterationWeb updateIterationStatus(long id, String status) throws PersisterException;
/****************************************************************************************
* UPDATE PROJECT *
****************************************************************************************/
/**
* @param id
* @param name
* @return
*/
public ProjectWeb updateProjectName(long id, String name)throws PersisterException;
}
See more files for this project here