1. Jan Brohl
  2. javascoutnet

Commits

Jan Brohl  committed 93853a3

...

  • Participants
  • Parent commits 3a4e5bc
  • Branches default

Comments (0)

Files changed (4)

File src/de/scoutnet/api/Event.java

View file
  • Ignore whitespace
+package de.scoutnet.api;
+
+import java.util.Date;
+import java.util.Map;
+
+public interface Event {
+
+	public abstract String getDescription();
+
+	public abstract String getKind();
+
+	public abstract String getLastModifiedBy();
+
+	public abstract String getLocation();
+
+	public abstract String getTitle();
+
+	public abstract String getUrl();
+
+	public abstract String getUrlText();
+
+	public abstract String getZip();
+
+	public abstract int getGroup_id();
+
+	public abstract int getId();
+
+	public abstract int getUid();
+
+	public abstract Date getEndDate();
+
+	public abstract Date getEndTime();
+
+	public abstract Date getLastModifiedOn();
+
+	public abstract Date getStartDate();
+
+	public abstract Date getStartTime();
+
+	public abstract Map<Integer, String> getKeywords();
+
+}

File src/de/scoutnet/api/Group.java

View file
  • Ignore whitespace
+package de.scoutnet.api;
+
+import java.io.IOException;
+import java.text.ParseException;
+
+import org.json.JSONException;
+
+public interface Group {
+
+	public abstract EventCollection getEvents() throws JSONException, IOException,
+			ParseException;
+
+	public abstract EventCollection getEvents(String query, String[] args)
+			throws JSONException, IOException, ParseException;
+
+	public abstract Group getParent() throws JSONException, IOException,
+			ParseException;
+
+	public abstract GroupCollection getParents() throws JSONException,
+			IOException, ParseException;
+
+	public abstract SectionCollection getSections() throws JSONException,
+			IOException, ParseException;
+
+	public abstract String getCity();
+
+	public abstract String getCountry();
+
+	public abstract String getDistrict();
+
+	public abstract String getFederalState();
+
+	public abstract String getInternalId();
+
+	public abstract String getKind();
+
+	public abstract String getLayer();
+
+	public abstract String getName();
+
+	public abstract String getZip();
+
+	public abstract int getGlobalId();
+
+}

File src/de/scoutnet/api/ScoutnetCollection.java

View file
  • Ignore whitespace
+package de.scoutnet.api;
+
+interface ScoutnetCollection<T> {
+
+	public abstract String toString();
+
+	public abstract String getKind();
+
+	public abstract String getElement_kind();
+
+	public abstract T[] getElements();
+
+}

File src/de/scoutnet/api/Section.java

View file
  • Ignore whitespace
+package de.scoutnet.api;
+
+public interface Section {
+
+	public abstract String getColor();
+
+	public abstract String getKind();
+
+	public abstract String getName();
+
+	public abstract int getId();
+
+	public abstract int getStartAge();
+
+	public abstract int getEndAge();
+
+}