|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SensorBaseClientException | |
---|---|
org.hackystat.sensorbase.client | Provides a client-side interface to the SensorBase. |
org.hackystat.sensorbase.resource.projects | Provides the "Projects" resource, which represents a set of Sensor Data resources for a particular set of users over a particular time frame. |
Uses of SensorBaseClientException in org.hackystat.sensorbase.client |
---|
Methods in org.hackystat.sensorbase.client that throw SensorBaseClientException | |
---|---|
SensorBaseClient |
SensorBaseClient.authenticate()
Authenticates this user and password with the server. |
void |
SensorBaseClient.compressTables()
Compresses the server database tables. |
void |
SensorBaseClient.deleteProject(java.lang.String email,
java.lang.String projectName)
Deletes the Project given its owner and projectName. |
void |
SensorBaseClient.deleteSensorData(java.lang.String email)
Deletes all sensor data associated with the specified user. |
void |
SensorBaseClient.deleteSensorData(java.lang.String email,
javax.xml.datatype.XMLGregorianCalendar timestamp)
Ensures that the SensorData instance with the specified user and tstamp is not on the server. |
void |
SensorBaseClient.deleteSensorDataType(java.lang.String sdtName)
Deletes the SDT given its name. |
void |
SensorBaseClient.deleteUser(java.lang.String email)
Deletes the User given their email. |
MultiDayProjectSummary |
SensorBaseClient.getMonthProjectSummary(java.lang.String owner,
java.lang.String projectName,
int year,
int month)
Returns a MultiDayProjectSummary for the specified project, year, and month (zero based). |
MultiDayProjectSummary |
SensorBaseClient.getMultiDayProjectSummary(java.lang.String owner,
java.lang.String projectName,
javax.xml.datatype.XMLGregorianCalendar startTime,
int numDays)
Returns a MultiDayProjectSummary for the specified interval of days. |
Project |
SensorBaseClient.getProject(ProjectRef ref)
Returns the named Project associated with the ProjectRef. |
Project |
SensorBaseClient.getProject(java.lang.String email,
java.lang.String projectName)
Returns the Project from this server. |
ProjectIndex |
SensorBaseClient.getProjectIndex()
Returns the index of all Projects from this server. |
ProjectIndex |
SensorBaseClient.getProjectIndex(java.lang.String email)
Returns the index of all Projects from this server associated with this user. |
SensorDataIndex |
SensorBaseClient.getProjectSensorData(java.lang.String owner,
java.lang.String projectName)
Returns a SensorDataIndex representing all the SensorData for this Project. |
SensorDataIndex |
SensorBaseClient.getProjectSensorData(java.lang.String owner,
java.lang.String projectName,
javax.xml.datatype.XMLGregorianCalendar startTime,
javax.xml.datatype.XMLGregorianCalendar endTime)
Returns a SensorDataIndex representing the SensorData for the Project during the time interval. |
SensorDataIndex |
SensorBaseClient.getProjectSensorData(java.lang.String owner,
java.lang.String projectName,
javax.xml.datatype.XMLGregorianCalendar startTime,
javax.xml.datatype.XMLGregorianCalendar endTime,
int startIndex,
int maxInstances)
Returns a SensorDataIndex representing the SensorData with the startIndex and maxInstances for the Project during the time interval. |
SensorDataIndex |
SensorBaseClient.getProjectSensorData(java.lang.String owner,
java.lang.String projectName,
javax.xml.datatype.XMLGregorianCalendar startTime,
javax.xml.datatype.XMLGregorianCalendar endTime,
java.lang.String sdt)
Returns a SensorDataIndex representing the SensorData with the given SDT for the Project during the time interval. |
SensorDataIndex |
SensorBaseClient.getProjectSensorData(java.lang.String owner,
java.lang.String projectName,
javax.xml.datatype.XMLGregorianCalendar startTime,
javax.xml.datatype.XMLGregorianCalendar endTime,
java.lang.String sdt,
java.lang.String tool)
Returns a SensorDataIndex representing the SensorData with the given SDT for the Project during the time interval. |
SensorDataIndex |
SensorBaseClient.getProjectSensorDataSnapshot(java.lang.String owner,
java.lang.String projectName,
javax.xml.datatype.XMLGregorianCalendar startTime,
javax.xml.datatype.XMLGregorianCalendar endTime,
java.lang.String sdt)
Returns a SensorDataIndex containing a snapshot of the sensor data for the given project and sdt during the specified time interval. |
SensorDataIndex |
SensorBaseClient.getProjectSensorDataSnapshot(java.lang.String owner,
java.lang.String projectName,
javax.xml.datatype.XMLGregorianCalendar startTime,
javax.xml.datatype.XMLGregorianCalendar endTime,
java.lang.String sdt,
java.lang.String tool)
Returns a SensorDataIndex containing a snapshot of the sensor data for the given project, sdt and tool during the specified time interval. |
ProjectSummary |
SensorBaseClient.getProjectSummary(java.lang.String owner,
java.lang.String projectName,
javax.xml.datatype.XMLGregorianCalendar startTime,
javax.xml.datatype.XMLGregorianCalendar endTime)
Returns a ProjectSummary representing a summary of the number of sensor data instances of each type for the given interval. |
SensorData |
SensorBaseClient.getSensorData(SensorDataRef ref)
Returns the named SensorData associated with the SensorDataRef. |
SensorData |
SensorBaseClient.getSensorData(java.lang.String uriString)
Returns the SensorData for this user from this server given the passed uriString suffix. |
SensorData |
SensorBaseClient.getSensorData(java.lang.String email,
javax.xml.datatype.XMLGregorianCalendar timestamp)
Returns the SensorData for this user from this server with the specified timestamp. |
SensorDataIndex |
SensorBaseClient.getSensorDataIndex()
Returns the index of SensorData from this server. |
SensorDataIndex |
SensorBaseClient.getSensorDataIndex(java.lang.String email)
Returns the index of SensorData for this user from this server. |
SensorDataIndex |
SensorBaseClient.getSensorDataIndex(java.lang.String email,
java.lang.String sdtName)
Returns the index of SensorData for this user from this server with the specified SDT. |
SensorDataIndex |
SensorBaseClient.getSensorDataIndexLastMod(java.lang.String email,
javax.xml.datatype.XMLGregorianCalendar lastModStartTime,
javax.xml.datatype.XMLGregorianCalendar lastModEndTime)
Returns an index to SensorData for the specified user of all sensor data that have arrived at the server since the specified start and end times. |
SensorDataType |
SensorBaseClient.getSensorDataType(SensorDataTypeRef ref)
Returns the named SensorDataType associated with the SensorDataTypeRef. |
SensorDataType |
SensorBaseClient.getSensorDataType(java.lang.String sdtName)
Returns the named SensorDataType from this server. |
SensorDataTypeIndex |
SensorBaseClient.getSensorDataTypeIndex()
Returns the index of SensorDataTypes from this server. |
org.restlet.data.Response |
SensorBaseClient.getUri(java.lang.String uriString)
GETs the URI string and returns the Restlet Response if the server indicates success. |
User |
SensorBaseClient.getUser()
Returns the User instance associated with this SensorBaseClient instance. |
User |
SensorBaseClient.getUser(java.lang.String email)
Returns the named User from this server. |
User |
SensorBaseClient.getUser(UserRef ref)
Returns the named User associated with the UserRef. |
UserIndex |
SensorBaseClient.getUserIndex()
Returns the index of Users from this server. |
void |
SensorBaseClient.indexTables()
Indexes the server database tables. |
Project |
SensorBaseClient.invite(java.lang.String email,
java.lang.String projectName)
Invites the user indicated via their email address to the named project owned by this user. |
SensorData |
SensorBaseClient.makeSensorData(java.util.Map<java.lang.String,java.lang.String> keyValMap)
Provides an easy way to construct SensorData instances. |
void |
SensorBaseClient.putProject(Project project)
Creates the passed Project on the server. |
void |
SensorBaseClient.putSensorData(SensorData data)
Creates the passed SensorData on the server. |
void |
SensorBaseClient.putSensorDataBatch(SensorDatas data)
Creates the passed batch of SensorData on the server. |
void |
SensorBaseClient.putSensorDataType(SensorDataType sdt)
Creates the passed SDT on the server. |
static void |
SensorBaseClient.registerUser(java.lang.String host,
java.lang.String email)
Registers the given user email with the given SensorBase. |
void |
SensorBaseClient.renameProject(java.lang.String owner,
java.lang.String projectName,
java.lang.String newProjectName)
Renames the project. |
void |
SensorBaseClient.reply(java.lang.String owner,
java.lang.String projectName,
SensorBaseClient.InvitationReply reply)
Accepts the invitation to be a member of the project owned by owner. |
int |
SensorBaseClient.rowCount(java.lang.String table)
Gets the rowcount for the specified table. |
void |
SensorBaseClient.updateUserProperties(java.lang.String email,
Properties properties)
Updates the specified user's properties. |
Uses of SensorBaseClientException in org.hackystat.sensorbase.resource.projects |
---|
Methods in org.hackystat.sensorbase.resource.projects that throw SensorBaseClientException | |
---|---|
void |
TestProjectUriPatterns.testDefaultUriPatterns()
Test various URI patterns. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |