Modifier and Type | Method and Description |
---|---|
Collection<Long> |
OfBizFavouritesStore.getFavouriteIds(ApplicationUser user,
SharedEntity.TypeDescriptor<?> entityType) |
Collection<Long> |
FavouritesStore.getFavouriteIds(ApplicationUser user,
SharedEntity.TypeDescriptor<?> entityType)
Get the ids of a user's favourite Entities for a given entity type
|
Collection<Long> |
CachingFavouritesStore.getFavouriteIds(ApplicationUser user,
SharedEntity.TypeDescriptor<?> entityType) |
Collection<Long> |
FavouritesManager.getFavouriteIds(ApplicationUser user,
SharedEntity.TypeDescriptor<S> entityType)
Get the ids of a user's favourite Entities for a given entity type
|
Collection<Long> |
DefaultFavouritesManager.getFavouriteIds(ApplicationUser user,
SharedEntity.TypeDescriptor<SharedEntity> entityType) |
Collection<Long> |
OfBizFavouritesStore.getFavouriteIds(String userKey,
SharedEntity.TypeDescriptor<?> entityType) |
Collection<Long> |
FavouritesStore.getFavouriteIds(String userKey,
SharedEntity.TypeDescriptor<?> entityType)
Get the ids of a user's favourite Entities for a given entity type
|
Collection<Long> |
CachingFavouritesStore.getFavouriteIds(String userKey,
SharedEntity.TypeDescriptor<?> entityType) |
void |
OfBizFavouritesStore.removeFavouritesForUser(ApplicationUser user,
SharedEntity.TypeDescriptor<?> entityType) |
void |
FavouritesStore.removeFavouritesForUser(ApplicationUser user,
SharedEntity.TypeDescriptor<?> entityType)
Remove the favourite associations for the given User and the given type
|
void |
CachingFavouritesStore.removeFavouritesForUser(ApplicationUser user,
SharedEntity.TypeDescriptor<?> entityType) |
void |
FavouritesManager.removeFavouritesForUser(ApplicationUser user,
SharedEntity.TypeDescriptor<S> entityType)
Remove the favourite associations for the given User and the given type
|
void |
DefaultFavouritesManager.removeFavouritesForUser(ApplicationUser user,
SharedEntity.TypeDescriptor<SharedEntity> entityType) |
Modifier and Type | Method and Description |
---|---|
SharedEntity.TypeDescriptor |
SharedEntityType.getTypeDescriptor() |
Modifier and Type | Method and Description |
---|---|
static SharedEntityType |
SharedEntityType.fromTypeDescriptor(SharedEntity.TypeDescriptor typeDescriptor) |
Modifier and Type | Field and Description |
---|---|
static SharedEntity.TypeDescriptor<SharedEntity.Identifier> |
UserCFType.ENTITY_TYPE |
Modifier and Type | Field and Description |
---|---|
static SharedEntity.TypeDescriptor<SearchRequest> |
SearchRequest.ENTITY_TYPE |
Modifier and Type | Method and Description |
---|---|
SharedEntity.TypeDescriptor<SearchRequest> |
SearchRequest.getEntityType() |
SharedEntity.TypeDescriptor<SearchRequest> |
DefaultSearchRequestManager.getType() |
Modifier and Type | Field and Description |
---|---|
static SharedEntity.TypeDescriptor<PortalPage> |
PortalPage.ENTITY_TYPE
This is the
SharedEntity type, eg "PortalPage" |
Modifier and Type | Method and Description |
---|---|
SharedEntity.TypeDescriptor<PortalPage> |
PortalPage.getEntityType() |
SharedEntity.TypeDescriptor<PortalPage> |
DefaultPortalPageManager.getType() |
Constructor and Description |
---|
FavouriteResource(JiraAuthenticationContext authContext,
FavouritesService favService,
FavouritesManager favouritesManager,
SharedEntityAccessor.Factory sharedEntityAccessorFactory,
SharedEntity.TypeDescriptor entityType,
Long entityId)
Main constructor for FavouritesResource.
|
Modifier and Type | Method and Description |
---|---|
<S extends SharedEntity> |
SharedEntity.TypeDescriptor.Factory.create(String name)
should only be called by types that implement
SharedEntity |
SharedEntity.TypeDescriptor<S> |
IndexableSharedEntity.getEntityType() |
SharedEntity.TypeDescriptor<SharedEntity> |
SharedEntity.Identifier.getEntityType() |
<S extends SharedEntity> |
SharedEntity.getEntityType()
The type of entity it is.
|
SharedEntity.TypeDescriptor<S> |
SharedEntityAccessor.getType()
Returns the type that this object can work with.
|
<S extends SharedEntity> |
SharedEntity.TypeDescriptor.Factory.register(SharedEntity.TypeDescriptor<S> typeDescriptor) |
Modifier and Type | Method and Description |
---|---|
<S extends SharedEntity> |
DefaultSharedEntityAccessorFactory.getSharedEntityAccessor(SharedEntity.TypeDescriptor<S> type) |
<S extends SharedEntity> |
SharedEntityAccessor.Factory.getSharedEntityAccessor(SharedEntity.TypeDescriptor<S> type)
Retrieves a
SharedEntityAccessor that can operate on the passed type. |
<S extends SharedEntity> |
SharedEntity.TypeDescriptor.Factory.register(SharedEntity.TypeDescriptor<S> typeDescriptor) |
Constructor and Description |
---|
Identifier(Long id,
SharedEntity.TypeDescriptor<? extends SharedEntity> type,
ApplicationUser owner) |
Identifier(Long id,
SharedEntity.TypeDescriptor<? extends SharedEntity> type,
String ownerUserName)
Deprecated.
Use
#Identifier(Long, com.atlassian.jira.sharing.SharedEntity.TypeDescriptor, com.atlassian.jira.user.ApplicationUser) instead. Since v6.0. |
IndexableSharedEntity(Long id,
String name,
String description,
SharedEntity.TypeDescriptor<S> entityType,
ApplicationUser owner,
Long favouriteCount) |
IndexableSharedEntity(Long id,
String name,
String description,
SharedEntity.TypeDescriptor<S> entityType,
ApplicationUser owner,
Long favouriteCount,
SharedEntity.SharePermissions permissions) |
Modifier and Type | Method and Description |
---|---|
SharedEntity.TypeDescriptor<?> |
DefaultSharedEntityIndexer.EntityDocument.getType() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.store.Directory |
IndexPathDirectoryFactory.apply(SharedEntity.TypeDescriptor<?> type) |
org.apache.lucene.store.Directory |
MemoryDirectoryFactory.apply(SharedEntity.TypeDescriptor<?> input) |
String |
MockSharedEntityIndexer.clear(SharedEntity.TypeDescriptor<?> type) |
String |
SharedEntityIndexer.clear(SharedEntity.TypeDescriptor<?> type)
Clear a particular type's index.
|
String |
DefaultSharedEntityIndexer.clear(SharedEntity.TypeDescriptor<?> type) |
default void |
SharedEntityIndexer.contributeToSnapshot(SharedEntity.TypeDescriptor<? extends SharedEntity> entityType,
BackupBuilder backupBuilder)
Contribute a set of files that represent shared entity index of
entityType to the given backupBuilder to include them in the backup being created when this method was called. |
void |
DefaultSharedEntityIndexer.contributeToSnapshot(SharedEntity.TypeDescriptor<? extends SharedEntity> entityType,
BackupBuilder backupBuilder) |
String |
IndexPathDirectoryFactory.getIndexPath(SharedEntity.TypeDescriptor<?> type) |
Path |
IndexPathDirectoryFactory.getIndexSubPath(SharedEntity.TypeDescriptor<?> type)
Returns relative subpath of index dir for
type within index root directory |
long |
MockSharedEntityIndexer.optimize(SharedEntity.TypeDescriptor<?> type) |
long |
SharedEntityIndexer.optimize(SharedEntity.TypeDescriptor<?> type)
Optimize a particular type's index.
|
long |
DefaultSharedEntityIndexer.optimize(SharedEntity.TypeDescriptor<?> type) |
void |
MockSharedEntityIndexer.recreate(SharedEntity.TypeDescriptor<?> type) |
void |
SharedEntityIndexer.recreate(SharedEntity.TypeDescriptor<?> type)
Recreate the index.
|
void |
DefaultSharedEntityIndexer.recreate(SharedEntity.TypeDescriptor<?> type) |
void |
MockSharedEntityIndexer.shutdown(SharedEntity.TypeDescriptor<?> type) |
void |
SharedEntityIndexer.shutdown(SharedEntity.TypeDescriptor<?> type)
Shutdown a particular type's index.
|
void |
DefaultSharedEntityIndexer.shutdown(SharedEntity.TypeDescriptor<?> type) |
<S extends SharedEntity> |
MockSharedEntityIndexer.withSearcher(SharedEntity.TypeDescriptor<S> type,
java.util.function.Function<SharedEntitySearcher<S>,SharedEntitySearchResult<S>> searcherOperation) |
<S extends SharedEntity> |
SharedEntityIndexer.withSearcher(SharedEntity.TypeDescriptor<S> type,
java.util.function.Function<SharedEntitySearcher<S>,SharedEntitySearchResult<S>> searcherOperation) |
<S extends SharedEntity> |
DefaultSharedEntityIndexer.withSearcher(SharedEntity.TypeDescriptor<S> type,
java.util.function.Function<SharedEntitySearcher<S>,SharedEntitySearchResult<S>> searcherOperation) |
Modifier and Type | Method and Description |
---|---|
long |
SharedEntityIndexManager.reIndexSharedEntities(Context context,
IssueIndexingParams issueIndexingParams,
Set<SharedEntity.TypeDescriptor> sharedEntityTypes)
Reindex the specified shared entity types.
|
long |
DefaultSharedEntityIndexManager.reIndexSharedEntities(Context context,
IssueIndexingParams issueIndexingParams,
Set<SharedEntity.TypeDescriptor> sharedEntityTypes) |
Constructor and Description |
---|
SharedEntitySearchViewHelper(ShareTypeFactory shareTypeFactory,
JiraAuthenticationContext authCtx,
String applicationContext,
String actionUrlPrefix,
String viewParameter,
String viewValue,
SharedEntity.TypeDescriptor entityType,
FeatureManager featureManager,
UserManager userManager,
GlobalPermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
static Collection<ShareTypeRendererBean> |
ShareTypeRendererBean.getShareTypeRendererBeans(JiraAuthenticationContext authCtx,
ShareTypeFactory shareTypeFactory,
ShareType.UsageContextType usageContextType,
SharedEntity.TypeDescriptor typeDescriptor)
Return a collection of renderer beans which can be used in specified context
|
Constructor and Description |
---|
ShareTypeRendererBean(ShareType shareType,
JiraAuthenticationContext authenticationContext,
ShareTypeRenderer.RenderMode renderMode,
SharedEntity.TypeDescriptor typeDescriptor) |
Copyright © 2002-2021 Atlassian. All Rights Reserved.