@Named public class ApplicationAdminController extends Object
Constructor and Description |
---|
ApplicationAdminController(ApplicationManager applicationManager,
DefaultGroupMembershipService defaultGroupMembershipService,
DirectoryManager directoryManager,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
CrowdUserHelper crowdUserHelper) |
Modifier and Type | Method and Description |
---|---|
ApplicationDirectoryMapping |
addApplicationDirectoryMapping(long appId,
DirectoryMappingEntity entity) |
void |
deleteApplicationDirectoryMapping(long appId,
long dirId) |
ApplicationEntity |
getApplication(long appId) |
DirectoryMappingEntity |
getApplicationDirectoryMapping(long appId,
long dirId,
com.atlassian.plugins.rest.common.expand.parameter.ExpandParameter expandParameter) |
RestPage<DirectoryMappingEntity> |
getApplicationDirectoryMappings(long appId,
com.atlassian.plugins.rest.common.expand.parameter.ExpandParameter expandParameter,
RestPageRequest pageRequest) |
RestPage<ApplicationEntity> |
getApplications(RestPageRequest pageRequest) |
void |
reorderApplicationDirectoryMapping(long appId,
long dirId,
ReorderEntity reorderEntity) |
ApplicationEntity |
updateApplication(long appId,
ApplicationEntity entity) |
void |
updateApplicationDirectoryMapping(long appId,
long dirId,
DirectoryMappingEntity entity) |
@Inject public ApplicationAdminController(ApplicationManager applicationManager, DefaultGroupMembershipService defaultGroupMembershipService, DirectoryManager directoryManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, CrowdUserHelper crowdUserHelper)
public RestPage<ApplicationEntity> getApplications(RestPageRequest pageRequest)
public ApplicationEntity getApplication(long appId) throws ApplicationNotFoundException
ApplicationNotFoundException
public ApplicationEntity updateApplication(long appId, ApplicationEntity entity) throws ApplicationNotFoundException, ApplicationManagerException
public RestPage<DirectoryMappingEntity> getApplicationDirectoryMappings(long appId, com.atlassian.plugins.rest.common.expand.parameter.ExpandParameter expandParameter, RestPageRequest pageRequest) throws ApplicationNotFoundException
ApplicationNotFoundException
public DirectoryMappingEntity getApplicationDirectoryMapping(long appId, long dirId, com.atlassian.plugins.rest.common.expand.parameter.ExpandParameter expandParameter) throws DirectoryMappingNotFoundException, ApplicationNotFoundException
public void reorderApplicationDirectoryMapping(long appId, long dirId, ReorderEntity reorderEntity) throws ApplicationNotFoundException, DirectoryMappingNotFoundException, DirectoryNotFoundException
public void deleteApplicationDirectoryMapping(long appId, long dirId) throws ApplicationNotFoundException, ApplicationManagerException, DirectoryMappingNotFoundException, DirectoryMappingConstraintException
public ApplicationDirectoryMapping addApplicationDirectoryMapping(long appId, DirectoryMappingEntity entity) throws ApplicationNotFoundException, DirectoryNotFoundException, DirectoryMappingNotFoundException, OperationFailedException
public void updateApplicationDirectoryMapping(long appId, long dirId, DirectoryMappingEntity entity) throws ApplicationNotFoundException, DirectoryNotFoundException, OperationFailedException, DirectoryMappingConstraintException
Copyright © 2020 Atlassian. All rights reserved.