Package xal.plugin.olog
Class OlogClient
java.lang.Object
xal.plugin.olog.OlogClient
- Author:
- Juan F. Esteban Müller <JuanF.EstebanMuller@ess.eu>
-
Method Summary
Modifier and TypeMethodDescriptionprotected static String
Method to generate a random Boundary String for the HTTP message.static OlogClient
List<org.json.JSONObject>
List<org.json.JSONObject>
getLogEntries
(String searchString) getTags()
boolean
boolean
void
logout()
void
setServerUrl
(String url) submitEntry
(LogEntry log)
-
Method Details
-
getClient
-
generateBoundary
Method to generate a random Boundary String for the HTTP message.- Returns:
- Boundary String
-
login
public boolean login(String username, char[] password) throws OlogUnauthorizedException, LogbookException -
getUserLogedIn
-
logout
public void logout() -
isLoggedIn
public boolean isLoggedIn() -
setServerUrl
-
getLogbooks
- Throws:
LogbookException
-
getLogEntries
- Throws:
LogbookException
-
getLogEntries
- Throws:
LogbookException
-
getTags
- Throws:
LogbookException
-
getEntryTypeList
-
getProperties
- Throws:
LogbookException
-
submitEntry
-