Package | Description |
---|---|
org.wattdepot.client |
Various WattDepot clients.
|
org.wattdepot.client.http.api |
Restlet implementations of WattDepot clients for the HTTP API.
|
org.wattdepot.common.domainmodel |
WattDepot models the domain of measurement collection, storage, and analysis through the following conceptual entities.
|
org.wattdepot.common.http.api |
Provides classes and interfaces relevant to the REST/HTTP contract between the clients and
the server.
|
org.wattdepot.server |
The WattDepot Server classes.
|
org.wattdepot.server.depository.impl.hibernate |
Provides the Hibernate
http://www.hibernate.org
implementation of WattDepot persistence.
|
org.wattdepot.server.http.api |
Provides HTTP API for WattDepot using the Restlet framework
http://www.restlet.org
|
Modifier and Type | Method and Description |
---|---|
UserInfo |
WattDepotAdminInterface.getUser(String id,
String orgId) |
Modifier and Type | Method and Description |
---|---|
void |
WattDepotAdminInterface.putUser(UserInfo user)
Stores the given user in the WattDepot Server.
|
void |
WattDepotAdminInterface.updateUser(UserInfo user)
Updates the UserInfo in the WattDepot Server.
|
Modifier and Type | Method and Description |
---|---|
UserInfo |
WattDepotAdminClient.getUser(String id,
String orgId) |
Modifier and Type | Method and Description |
---|---|
void |
WattDepotAdminClient.putUser(UserInfo user) |
void |
WattDepotAdminClient.updateUser(UserInfo user) |
Modifier and Type | Field and Description |
---|---|
static UserInfo |
UserInfo.ROOT
The admin user.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<UserInfo> |
UserInfoList.getUsers() |
Modifier and Type | Method and Description |
---|---|
void |
UserInfoList.setUsers(ArrayList<UserInfo> users) |
Modifier and Type | Method and Description |
---|---|
UserInfo |
UserInfoResource.retrieve()
Defines GET /wattdepot/{org-id}/user/{user-id} API call.
|
Modifier and Type | Method and Description |
---|---|
void |
UserInfoPutResource.store(UserInfo user)
Defines the PUT /wattdepot/user/ API call.
|
void |
UserInfoResource.update(UserInfo user)
Defines the POST /wattdepot/{org-id}/user/{user-id} API call.
|
Modifier and Type | Method and Description |
---|---|
abstract UserInfo |
WattDepotPersistence.defineUserInfo(String userId,
String firstName,
String lastName,
String email,
String orgId,
Set<Property> properties,
String password)
Defines a new UserInfo with the given information.
|
abstract UserInfo |
WattDepotPersistence.getUser(String id,
String orgId,
boolean check) |
abstract UserInfo |
WattDepotPersistence.updateUserInfo(UserInfo user) |
Modifier and Type | Method and Description |
---|---|
abstract List<UserInfo> |
WattDepotPersistence.getUsers() |
abstract List<UserInfo> |
WattDepotPersistence.getUsers(String orgId,
boolean check) |
Modifier and Type | Method and Description |
---|---|
abstract UserInfo |
WattDepotPersistence.updateUserInfo(UserInfo user) |
Modifier and Type | Method and Description |
---|---|
UserInfo |
WattDepotPersistenceImpl.defineUserInfo(String id,
String firstName,
String lastName,
String email,
String orgId,
Set<Property> properties,
String password) |
UserInfo |
WattDepotPersistenceImpl.getUser(String id,
String orgId,
boolean check) |
UserInfo |
UserInfoImpl.toUserInfo() |
UserInfo |
WattDepotPersistenceImpl.updateUserInfo(UserInfo user) |
Modifier and Type | Method and Description |
---|---|
List<UserInfo> |
WattDepotPersistenceImpl.getUsers() |
List<UserInfo> |
WattDepotPersistenceImpl.getUsers(String orgId,
boolean check) |
Modifier and Type | Method and Description |
---|---|
UserInfo |
WattDepotPersistenceImpl.updateUserInfo(UserInfo user) |
Modifier and Type | Method and Description |
---|---|
UserInfo |
UserInfoServerResource.retrieve() |
Modifier and Type | Method and Description |
---|---|
void |
UserInfoPutServerResource.store(UserInfo user) |
void |
UserInfoServerResource.update(UserInfo user) |
Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.