openrat-java-client

Unnamed repository; edit this file 'description' to name the repository.
git clone http://git.code.weiherhei.de/openrat-java-client.git
Log | Files | Refs

ProjectAction.java (610B)


      1 package de.openrat.client.action;
      2 
      3 import de.openrat.client.dto.Project;
      4 import de.openrat.client.util.CMSConnection;
      5 import de.openrat.client.util.CMSResponse;
      6 import de.openrat.client.util.Id;
      7 
      8 /**
      9  * This class is NOT threadsafe and should be used by one thread simultaneously.
     10  * 
     11  * @author dankert
     12  */
     13 public class ProjectAction extends Action
     14 {
     15 	private final static String PROJECT = "project";
     16 
     17 	public ProjectAction(CMSConnection connection)
     18 	{
     19 		super(connection);
     20 	}
     21 
     22 	public Project getInfo(Id id)
     23 	{
     24 
     25 		CMSResponse response = executeView(PROJECT, "info");
     26 		// TODO
     27 
     28 		return new Project();
     29 	}
     30 
     31 }