Back to project page geocamMemoForAndroid.
The source code is released under:
NASA OPEN SOURCE AGREEMENT VERSION 1.3 THIS OPEN SOURCE AGREEMENT ("AGREEMENT") DEFINES THE RIGHTS OF USE, REPRODUCTION, DISTRIBUTION, MODIFICATION AND REDISTRIBUTION OF CERTAIN COMPUTER SOFTWARE ORI...
If you think the Android project geocamMemoForAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package gov.nasa.arc.geocam.memo.service; /*from w ww.ja va 2 s . c o m*/ import gov.nasa.arc.geocam.memo.bean.GeoCamMemoMessage; import gov.nasa.arc.geocam.memo.exception.AuthenticationFailedException; import java.io.IOException; import java.util.List; import org.apache.http.client.ClientProtocolException; /** * The Interface DjangoMemoInterface. This provides access to the * methods that manipulate the memos from the server. */ public interface DjangoMemoInterface { /** * Gets available memos from the server. * * @return the memos * @throws ClientProtocolException the client protocol exception * @throws AuthenticationFailedException the authentication failed exception * @throws IOException Signals that an I/O exception has occurred. */ public List<GeoCamMemoMessage> getMemos() throws ClientProtocolException, AuthenticationFailedException, IOException; /** * Creates a memo on the django server. * * @param message the message * @throws ClientProtocolException the client protocol exception * @throws AuthenticationFailedException the authentication failed exception * @throws IOException Signals that an I/O exception has occurred. */ public void createMemo(GeoCamMemoMessage message) throws ClientProtocolException, AuthenticationFailedException, IOException; /** * Sets the authorization credentials. * * @param username the username * @param password the password */ public void setAuth(String username, String password); }