public class ConfluenceAuditResourceLookupProvider extends Object implements com.atlassian.audit.spi.lookup.AuditingResourcesLookupService
cursor
because UI doesn't
use it. If the framework decides to start using it for more efficient pagination, it should be implemented
in this class. But for now to avoid useless effort this class explicitly fails if passed cursor
is not null
.Constructor and Description |
---|
ConfluenceAuditResourceLookupProvider(StandardAuditResourceTypes resourceTypes,
PredefinedSearchBuilder searchBuilder,
SearchManager searchManager,
SpaceManagerInternal spaceManager,
ConfluenceUserDao userDao) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.audit.api.util.pagination.Page<com.atlassian.audit.entity.AuditAuthor,String> |
lookupAuditAuthor(@Nullable String searchText,
@NonNull com.atlassian.audit.api.util.pagination.PageRequest<String> pageRequest)
Searches for users matching
searchText to be displayed in Audit Lookups |
com.atlassian.audit.api.util.pagination.Page<com.atlassian.audit.entity.AuditResource,String> |
lookupAuditResource(@NonNull String resourceType,
@Nullable String searchText,
@NonNull com.atlassian.audit.api.util.pagination.PageRequest<String> pageRequest)
Searches for spaces matching
searchText to be displayed in Audit Lookups |
public ConfluenceAuditResourceLookupProvider(StandardAuditResourceTypes resourceTypes, PredefinedSearchBuilder searchBuilder, SearchManager searchManager, SpaceManagerInternal spaceManager, ConfluenceUserDao userDao)
public com.atlassian.audit.api.util.pagination.Page<com.atlassian.audit.entity.AuditAuthor,String> lookupAuditAuthor(@Nullable String searchText, @NonNull com.atlassian.audit.api.util.pagination.PageRequest<String> pageRequest)
searchText
to be displayed in Audit LookupslookupAuditAuthor
in interface com.atlassian.audit.spi.lookup.AuditingResourcesLookupService
public com.atlassian.audit.api.util.pagination.Page<com.atlassian.audit.entity.AuditResource,String> lookupAuditResource(@NonNull String resourceType, @Nullable String searchText, @NonNull com.atlassian.audit.api.util.pagination.PageRequest<String> pageRequest)
searchText
to be displayed in Audit LookupslookupAuditResource
in interface com.atlassian.audit.spi.lookup.AuditingResourcesLookupService
Copyright © 2003–2021 Atlassian. All rights reserved.