Uses of Class
org.hackystat.sensorbase.resource.users.jaxb.User

Packages that use User
org.hackystat.sensorbase.client Provides a client-side interface to the SensorBase. 
org.hackystat.sensorbase.db Provides an interface to the underlying database persistency layer. 
org.hackystat.sensorbase.db.derby Provides an implementation of DbImplementation for Derby. 
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. 
org.hackystat.sensorbase.resource.sensorbase Provides an abstract superclass for all SensorBase resources whose constructor provides common initialization-time processing. 
org.hackystat.sensorbase.resource.sensordata Provides the "SensorData" resource, which represents an atomic piece of software engineering process or product data. 
org.hackystat.sensorbase.resource.users Provides the Users and User resource implementations. 
org.hackystat.sensorbase.resource.users.jaxb Provides the JAXB generated classes corresponding to the Users XmlSchema. 
 

Uses of User in org.hackystat.sensorbase.client
 

Methods in org.hackystat.sensorbase.client that return User
 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.
 

Uses of User in org.hackystat.sensorbase.db
 

Methods in org.hackystat.sensorbase.db with parameters of type User
 void DbManager.deleteProject(User user, java.lang.String projectName)
          Ensures that the Project with the given user and name is no longer present in this db.
abstract  void DbImplementation.deleteProject(User owner, java.lang.String projectName)
          Ensures that the Project with the given owner and projectName is no longer present in the db.
 void DbManager.deleteSensorData(User user)
          Ensures that sensor data with the given user no longer exists.
abstract  void DbImplementation.deleteSensorData(User user)
          Ensures that sensor data with the given user is no longer present in this manager.
 void DbManager.deleteSensorData(User user, javax.xml.datatype.XMLGregorianCalendar timestamp)
          Ensures that sensor data with the given user and timestamp no longer exists.
abstract  void DbImplementation.deleteSensorData(User user, javax.xml.datatype.XMLGregorianCalendar timestamp)
          Ensures that sensor data with the given user and timestamp is no longer present in this manager.
 java.lang.String DbManager.getProject(User user, java.lang.String projectName)
          Returns the Project instance as an XML string, or null.
abstract  java.lang.String DbImplementation.getProject(User owner, java.lang.String projectName)
          Returns the Project instance as XML string, or null if not found.
 java.lang.String DbManager.getSensorData(User user, javax.xml.datatype.XMLGregorianCalendar timestamp)
          Returns the SensorData instance as an XML string, or null.
abstract  java.lang.String DbImplementation.getSensorData(User user, javax.xml.datatype.XMLGregorianCalendar timestamp)
          Returns the SensorData instance as XML string, or null if not found.
 java.lang.String DbManager.getSensorDataIndex(User user)
          Returns the XML SensorDataIndex for all sensor data for this user.
abstract  java.lang.String DbImplementation.getSensorDataIndex(User user)
          Returns the XML SensorDataIndex for all sensor data for this user.
 java.lang.String DbManager.getSensorDataIndex(User user, java.lang.String sdtName)
          Returns the XML SensorDataIndex for all sensor data for this user and sensor data type.
abstract  java.lang.String DbImplementation.getSensorDataIndex(User user, java.lang.String sdtName)
          Returns the XML SensorDataIndex for all sensor data for this user and sensor data type.
 java.lang.String DbManager.getSensorDataIndexLastMod(User user, javax.xml.datatype.XMLGregorianCalendar lastModStartTime, javax.xml.datatype.XMLGregorianCalendar lastModEndTime)
          Returns the XML SensorDataIndex for all sensor data for the given user that arrived at the server between the two timestamps.
abstract  java.lang.String DbImplementation.getSensorDataIndexLastMod(User user, javax.xml.datatype.XMLGregorianCalendar lastModStartTime, javax.xml.datatype.XMLGregorianCalendar lastModEndTime)
          Returns the XML SensorDataIndex for all sensor data for the given user that arrived at the server since the given start and end timestamps.
 boolean DbManager.hasSensorData(User user, javax.xml.datatype.XMLGregorianCalendar timestamp)
          Returns true if the passed [user, timestamp] has sensor data defined for it.
abstract  boolean DbImplementation.hasSensorData(User user, javax.xml.datatype.XMLGregorianCalendar timestamp)
          Returns true if the passed [key, timestamp] has sensor data defined for it.
 void DbManager.storeUser(User user, java.lang.String xmlUser, java.lang.String xmlUserRef)
          Persists a User instance.
abstract  boolean DbImplementation.storeUser(User user, java.lang.String xmlUser, java.lang.String xmlUserRef)
          Persists a User instance.
 

Method parameters in org.hackystat.sensorbase.db with type arguments of type User
 java.lang.String DbManager.getProjectSensorDataSnapshot(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, java.lang.String sdt, java.lang.String tool)
          Returns a SensorDataIndex representing the "snapshot" of sensor data in the given time interval for the given sdt and tool (if tool is not null).
abstract  java.lang.String DbImplementation.getProjectSensorDataSnapshot(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, java.lang.String sdt, java.lang.String tool)
          Returns an XML SensorDataIndex to sensor data for the given time interval and sdt with the most recent runtime value.
 ProjectSummary DbManager.getProjectSummary(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, java.lang.String href)
          Returns a ProjectSummary instance constructed for the given Project between the startTime and endTime.
abstract  ProjectSummary DbImplementation.getProjectSummary(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, java.lang.String href)
          Returns a ProjectSummary instance constructed for the given Project between the startTime and endTime.
 java.lang.String DbManager.getSensorDataIndex(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, int startIndex, int maxInstances)
          Returns the XML SensorDataIndex for all sensor data matching these users, start/end time, and whose resource string matches at least one in the list of UriPatterns.
abstract  java.lang.String DbImplementation.getSensorDataIndex(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, int startIndex, int maxInstances)
          Returns the XML SensorDataIndex for all sensor data matching these users, start/end time, and whose resource string matches at least one in the list of UriPatterns.
 java.lang.String DbManager.getSensorDataIndex(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, java.lang.String sdt)
          Returns the XML SensorDataIndex for all sensor data matching this user, start/end time, and whose resource string matches at least one in the list of UriPatterns.
abstract  java.lang.String DbImplementation.getSensorDataIndex(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, java.lang.String sdt)
          Returns an XML SensorDataIndex representing the SensorData for the given user between start and end time whose resource string matches at least one of the UriPatterns.
 java.lang.String DbManager.getSensorDataIndex(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, java.lang.String sdt, java.lang.String tool)
          Returns the XML SensorDataIndex for all sensor data matching this user, start/end time, and whose resource string matches at least one in the list of UriPatterns.
abstract  java.lang.String DbImplementation.getSensorDataIndex(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, java.lang.String sdt, java.lang.String tool)
          Returns an XML SensorDataIndex representing the SensorData for the given user between start and end time whose resource string matches at least one of the UriPatterns.
 

Uses of User in org.hackystat.sensorbase.db.derby
 

Methods in org.hackystat.sensorbase.db.derby with parameters of type User
 void DerbyImplementation.deleteProject(User owner, java.lang.String projectName)
          Ensures that the Project with the given owner and projectName is no longer present in the db.
 void DerbyImplementation.deleteSensorData(User user)
          Ensures that sensor data with the given user is no longer present in this manager.
 void DerbyImplementation.deleteSensorData(User user, javax.xml.datatype.XMLGregorianCalendar timestamp)
          Ensures that sensor data with the given user and timestamp is no longer present in this manager.
 java.lang.String DerbyImplementation.getProject(User owner, java.lang.String projectName)
          Returns the Project instance as XML string, or null if not found.
 java.lang.String DerbyImplementation.getSensorData(User user, javax.xml.datatype.XMLGregorianCalendar timestamp)
          Returns the SensorData instance as XML string, or null if not found.
 java.lang.String DerbyImplementation.getSensorDataIndex(User user)
          Returns the XML SensorDataIndex for all sensor data for this user.
 java.lang.String DerbyImplementation.getSensorDataIndex(User user, java.lang.String sdtName)
          Returns the XML SensorDataIndex for all sensor data for this user and sensor data type.
 java.lang.String DerbyImplementation.getSensorDataIndexLastMod(User user, javax.xml.datatype.XMLGregorianCalendar lastModStartTime, javax.xml.datatype.XMLGregorianCalendar lastModEndTime)
          Returns the XML SensorDataIndex for all sensor data for the given user that arrived at the server since the given start and end timestamps.
 boolean DerbyImplementation.hasSensorData(User user, javax.xml.datatype.XMLGregorianCalendar timestamp)
          Returns true if the passed [key, timestamp] has sensor data defined for it.
 boolean DerbyImplementation.storeUser(User user, java.lang.String xmlUser, java.lang.String xmlUserRef)
          Persists a User instance.
 

Method parameters in org.hackystat.sensorbase.db.derby with type arguments of type User
 java.lang.String DerbyImplementation.getProjectSensorDataSnapshot(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, java.lang.String sdt, java.lang.String tool)
          Returns an XML SensorDataIndex to sensor data for the given time interval and sdt with the most recent runtime value.
 ProjectSummary DerbyImplementation.getProjectSummary(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, java.lang.String href)
          Returns a ProjectSummary instance constructed for the given Project between the startTime and endTime.
 java.lang.String DerbyImplementation.getSensorDataIndex(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, int startIndex, int maxInstances)
          Returns the XML SensorDataIndex for all sensor data matching these users, start/end time, and whose resource string matches at least one in the list of UriPatterns.
 java.lang.String DerbyImplementation.getSensorDataIndex(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, java.lang.String sdt)
          Returns an XML SensorDataIndex representing the SensorData for the given user between start and end time whose resource string matches at least one of the UriPatterns.
 java.lang.String DerbyImplementation.getSensorDataIndex(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, java.lang.String sdt, java.lang.String tool)
          Returns an XML SensorDataIndex representing the SensorData for the given user between start and end time whose resource string matches at least one of the UriPatterns.
 

Uses of User in org.hackystat.sensorbase.resource.projects
 

Methods in org.hackystat.sensorbase.resource.projects with parameters of type User
 void ProjectManager.addDefaultProject(User owner)
          Creates and stores the "Default" project for the specified user.
 void ProjectManager.deleteProject(User owner, java.lang.String projectName)
          Ensures that the passed Project is no longer present in this Manager.
 void ProjectManager.deleteProjects(User owner)
          Deletes all projects including the default project owned by this user.
 Project ProjectManager.getProject(User owner, java.lang.String projectName)
          Returns the Project associated with user and projectName, or null if not found.
 java.lang.String ProjectManager.getProjectIndex(User user)
          Returns the XML string containing the ProjectIndex with all Projects associated with this user.
 java.util.Set<Project> ProjectManager.getProjects(User user)
          Returns all of the projects owned by this user.
 java.lang.String ProjectManager.getProjectSensorDataIndex(User owner, Project project)
          Returns an XML SensorDataIndex String for all data associated with the Project owned by this user.
 java.lang.String ProjectManager.getProjectSensorDataIndex(User owner, Project project, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, int startIndex, int maxInstances)
          Returns the XML SensorDataIndex string for the data associated with this Project within the specified start and end times and startIndex and maxInstances.
 java.lang.String ProjectManager.getProjectSensorDataIndex(User owner, Project project, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.lang.String sdt)
          Returns the XML SensorDataIndex string for the data associated with this Project within the specified start and end times.
 java.lang.String ProjectManager.getProjectSensorDataIndex(User owner, Project project, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.lang.String sdt, java.lang.String tool)
          Returns the XML SensorDataIndex string for the data associated with this Project within the specified start and end times.
 java.lang.String ProjectManager.getProjectString(User owner, java.lang.String projectName)
          Returns the Project Xml String associated with this User and project name.
 boolean ProjectManager.hasProject(User owner, java.lang.String projectName)
          Returns true if the passed Project name is defined for this User (who must be the owner).
 boolean ProjectManager.hasProjects(User owner)
          Returns true if the passed user has any defined Projects.
 boolean ProjectManager.isInvited(User owner, java.lang.String projectName, java.lang.String invitee)
          Returns true if member is invited to be a member of the project owned by owner.
 boolean ProjectManager.isMember(User owner, java.lang.String projectName, java.lang.String member)
          Returns true if member is a member of the project owned by owner.
 boolean ProjectManager.isSpectator(User owner, java.lang.String projectName, java.lang.String spectator)
          Returns true if member is a spectator of the project owned by owner.
 void ProjectManager.renameProject(User owner, java.lang.String projectName, java.lang.String newProjectName)
          Renames the project.
 

Uses of User in org.hackystat.sensorbase.resource.sensorbase
 

Fields in org.hackystat.sensorbase.resource.sensorbase declared as User
protected  User SensorBaseResource.user
          The user instance corresponding to the user indicated in the URI string, or null.
 

Methods in org.hackystat.sensorbase.resource.sensorbase with parameters of type User
(package private) static java.lang.String ResponseMessage.undefinedProject(SensorBaseResource resource, User user, java.lang.String project)
          The error message for requests involving projects not owned by the specified user.
 

Uses of User in org.hackystat.sensorbase.resource.sensordata
 

Methods in org.hackystat.sensorbase.resource.sensordata with parameters of type User
 void SensorDataManager.deleteData(User user)
          Ensures that sensor data with the given user is no longer present in this manager.
 void SensorDataManager.deleteData(User user, javax.xml.datatype.XMLGregorianCalendar timestamp)
          Ensures that sensor data with the given user and timestamp is no longer present in this manager.
 java.lang.String SensorDataManager.getSensorData(User user, javax.xml.datatype.XMLGregorianCalendar timestamp)
          Returns the SensorData XML String corresponding to [user, timestamp], or null if not found.
 java.lang.String SensorDataManager.getSensorDataIndex(User user)
          Returns the XML SensorDataIndex for all sensor data for this user.
 java.lang.String SensorDataManager.getSensorDataIndex(User user, java.lang.String sdtName)
          Returns the XML SensorDataIndex for all sensor data for this user and sensor data type.
 java.lang.String SensorDataManager.getSensorDataIndexLastMod(User user, javax.xml.datatype.XMLGregorianCalendar lastModStartTime, javax.xml.datatype.XMLGregorianCalendar lastModEndTime)
          Returns the XML SensorDataIndex for all sensor data for the given user that arrived at the server between the given timestamps.
 boolean SensorDataManager.hasSensorData(User user, javax.xml.datatype.XMLGregorianCalendar timestamp)
          Returns true if the passed [user, timestamp] has sensor data defined for it.
 

Method parameters in org.hackystat.sensorbase.resource.sensordata with type arguments of type User
 java.lang.String SensorDataManager.getSensorDataIndex(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, int startIndex, int maxInstances)
          Returns the XML SensorDataIndex for all sensor data matching these users, start/end time, and whose resource string matches at least one in the list of UriPatterns.
 java.lang.String SensorDataManager.getSensorDataIndex(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, java.lang.String sdt)
          Returns the XML SensorDataIndex for all sensor data matching these users, start/end time, and whose resource string matches at least one in the list of UriPatterns.
 java.lang.String SensorDataManager.getSensorDataIndex(java.util.List<User> users, javax.xml.datatype.XMLGregorianCalendar startTime, javax.xml.datatype.XMLGregorianCalendar endTime, java.util.List<java.lang.String> uriPatterns, java.lang.String sdt, java.lang.String tool)
          Returns the XML SensorDataIndex for all sensor data matching these users, start/end time, and whose resource string matches at least one in the list of UriPatterns.
 

Uses of User in org.hackystat.sensorbase.resource.users
 

Methods in org.hackystat.sensorbase.resource.users that return User
 User UserManager.getUser(java.lang.String email)
          Returns the User associated with this email address if they are currently registered, or null if not found.
 User UserManager.makeUser(java.lang.String xmlString)
          Takes a String encoding of a User in XML format and converts it to an instance.
 User UserManager.registerUser(java.lang.String email)
          Registers a User, given their email address.
 

Methods in org.hackystat.sensorbase.resource.users that return types with arguments of type User
 java.util.Set<User> UserManager.getUsers()
          Returns a set containing the current User instances.
 

Methods in org.hackystat.sensorbase.resource.users with parameters of type User
 boolean UserManager.isTestUser(User user)
          Returns true if the passed user is a test user.
 java.lang.String UserManager.makeUser(User user)
          Returns the passed User instance as a String encoding of its XML representation.
 UserRef UserManager.makeUserRef(User user)
          Returns a UserRef instance constructed from a User instance.
 java.lang.String UserManager.makeUserRefString(User user)
          Returns the passed User instance as a String encoding of its XML representation as a UserRef object.
 void UserManager.putUser(User user)
          Updates the Manager with this User.
 void UserManager.updateProperties(User user, Properties properties)
          Updates the given User with the passed Properties.
 

Uses of User in org.hackystat.sensorbase.resource.users.jaxb
 

Fields in org.hackystat.sensorbase.resource.users.jaxb with type parameters of type User
protected  java.util.List<User> Users.user
           
 

Methods in org.hackystat.sensorbase.resource.users.jaxb that return User
 User ObjectFactory.createUser()
          Create an instance of User
 

Methods in org.hackystat.sensorbase.resource.users.jaxb that return types with arguments of type User
 java.util.List<User> Users.getUser()
          Gets the value of the user property.