public class BackendGroupsResource extends AbstractBackendCollectionResource<Group,ad_groups> implements GroupsResource
| Modifier and Type | Class and Description |
|---|---|
protected class |
BackendGroupsResource.GroupIdResolver |
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 |
|---|
BackendGroupsResource() |
BackendGroupsResource(String id,
BackendDomainResource parent) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
add(Group group) |
protected Group |
addParents(Group group)
Add any parent resource references needed for constructing links.
|
protected ad_groups |
getAdGroup(Group group) |
protected List<DbUser> |
getGroupsCollection(SearchType searchType,
String constraint) |
protected List<ad_groups> |
getGroupsFromDomain() |
GroupResource |
getGroupSubResource(String id)
Sub-resource locator method, returns individual GroupResource on which
the remainder of the URI is dispatched.
|
protected String |
getSearchPattern(String param) |
Groups |
list() |
ad_groups |
lookupGroupById(Guid id) |
protected Group |
mapAdGroup(ad_groups entity) |
protected Groups |
mapDbGroupsCollection(List<DbUser> entities) |
protected Group |
mapDbUser(DbUser entity) |
protected Groups |
mapDomainGroupsCollection(List<ad_groups> 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 BackendGroupsResource()
public BackendGroupsResource(String id, BackendDomainResource parent)
public Groups list()
list in interface GroupsResourcepublic javax.ws.rs.core.Response add(Group group)
add in interface GroupsResourcepublic javax.ws.rs.core.Response performRemove(String id)
performRemove in class AbstractBackendCollectionResource<Group,ad_groups>public GroupResource getGroupSubResource(String id)
GroupsResourcegetGroupSubResource in interface GroupsResourceid - the Group IDprotected Group addParents(Group group)
AbstractBackendResourceaddParents in class AbstractBackendResource<Group,ad_groups>protected List<DbUser> getGroupsCollection(SearchType searchType, String constraint)
Copyright © 2012. All Rights Reserved.