Modifier and Type | Method and Description |
---|---|
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> |
OfBizFavouritesStore.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> |
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) |
Collection<Long> |
OfBizFavouritesStore.getFavouriteIds(String userKey,
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 |
OfBizFavouritesStore.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 |
---|---|
String |
MockSharedEntityIndexer.clear(SharedEntity.TypeDescriptor<?> type) |
String |
SharedEntityIndexer.clear(SharedEntity.TypeDescriptor<?> type)
Clear a particular type's index.
|
String |
DefaultSharedEntityIndexer.clear(SharedEntity.TypeDescriptor<?> type) |
org.apache.lucene.store.Directory |
MemoryDirectoryFactory.get(SharedEntity.TypeDescriptor<?> input) |
org.apache.lucene.store.Directory |
IndexPathDirectoryFactory.get(SharedEntity.TypeDescriptor<?> type) |
<S extends SharedEntity> |
MockSharedEntityIndexer.getSearcher(SharedEntity.TypeDescriptor<S> type) |
<S extends SharedEntity> |
SharedEntityIndexer.getSearcher(SharedEntity.TypeDescriptor<S> type)
Get a SharedEntitySearcher for the specified
SharedEntity.TypeDescriptor |
<S extends SharedEntity> |
DefaultSharedEntityIndexer.getSearcher(SharedEntity.TypeDescriptor<S> type) |
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) |
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) |
Constructor and Description |
---|
ShareTypeRendererBean(ShareType shareType,
JiraAuthenticationContext authenticationContext,
ShareTypeRenderer.RenderMode renderMode,
SharedEntity.TypeDescriptor typeDescriptor) |
Copyright © 2002-2017 Atlassian. All Rights Reserved.