public class BackendUsersResource extends AbstractBackendCollectionResource<User,DbUser> implements UsersResource
| Modifier and Type | Class and Description |
|---|---|
protected class |
BackendUsersResource.UserIdResolver |
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolverBaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException| Modifier and Type | Field and Description |
|---|---|
protected static String |
AD_SEARCH_TEMPLATE |
CASE_SENSITIVE_CONSTRAINT_PARAMETER, FROM_CONSTRAINT_PARAMETER, LOGACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollectionsbackend, httpHeaders, messageBundle, sessionHelper, uriInfo| Constructor and Description |
|---|
BackendUsersResource() |
BackendUsersResource(String id,
BackendDomainResource parent) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
add(User user) |
protected User |
addParents(User user)
Add any parent resource references needed for constructing links.
|
protected String |
getCurrentDomain() |
protected String |
getSearchPattern(String username,
String domain) |
protected List<AdUser> |
getUsersFromDomain() |
UserResource |
getUserSubResource(String id)
Sub-resource locator method, returns individual UserResource on which the
remainder of the URI is dispatched.
|
Users |
list() |
DbUser |
lookupUserById(Guid id) |
protected VdcUser |
map(AdUser adUser) |
protected User |
mapAdUser(AdUser adUser) |
protected Users |
mapDbUserCollection(List<DbUser> entities) |
protected Users |
mapDomainUserCollection(List<AdUser> entities) |
javax.ws.rs.core.Response |
performRemove(String id) |
asString, expectBlocking, getBackendCollection, getBackendCollection, getBackendCollection, getEntity, handleAsynchrony, performCreation, remove, resolveCreatedaddLinks, addLinks, addLinks, addLinks, addOrUpdateLink, asCollection, asGuidOr404, asString, awaitCompletion, delay, entityNotFound, getAsynchronousStatus, getMapper, getMappingLocator, getQueryParams, incomplete, inject, injectSearchLinks, linkSubCollections, linkSubResource, map, map, map, map, newModel, notFound, notFound, populate, removeIfExist, setMappingLocator, urlEncodedoAction, doGetEntity, doNonBlockingAction, expectNonBlocking, getBackendCollection, getConfigurationValue, getEntity, getEntity, getEntity, performAction, performAction, performNonBlockingActionasCollection, asGuid, asGuid, combine, fault, getBackend, getCurrent, getEffectiveLocale, getHttpHeaders, getMessageBundle, getSessionHelper, getUriInfo, handleError, handleError, instantiate, localize, localize, localize, sessionize, sessionize, setBackend, setHttpHeaders, setMessageBundle, setSessionHelper, setUriInfo, validateEnum, validateParameters, validateParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveprotected static final String AD_SEARCH_TEMPLATE
public BackendUsersResource()
public BackendUsersResource(String id, BackendDomainResource parent)
public Users list()
list in interface UsersResourcepublic javax.ws.rs.core.Response add(User user)
add in interface UsersResourceprotected String getCurrentDomain()
public javax.ws.rs.core.Response performRemove(String id)
performRemove in class AbstractBackendCollectionResource<User,DbUser>public UserResource getUserSubResource(String id)
UsersResourcegetUserSubResource in interface UsersResourceid - the User IDprotected User addParents(User user)
AbstractBackendResourceaddParents in class AbstractBackendResource<User,DbUser>Copyright © 2012. All Rights Reserved.