Uses of Interface
com.atlassian.jira.sharing.SharedEntity

Packages that use SharedEntity
com.atlassian.jira.bc.favourites   
com.atlassian.jira.favourites   
com.atlassian.jira.issue.search   
com.atlassian.jira.portal   
com.atlassian.jira.sharing   
com.atlassian.jira.sharing.search   
com.atlassian.jira.sharing.type   
 

Uses of SharedEntity in com.atlassian.jira.bc.favourites
 

Methods in com.atlassian.jira.bc.favourites with parameters of type SharedEntity
 void FavouritesService.addFavourite(JiraServiceContext ctx, SharedEntity entity)
          Add the given entity as a favourite of the user passed in the context
 void FavouritesService.addFavouriteInPosition(JiraServiceContext ctx, SharedEntity entity, long position)
          Add the given entity as a favourite of the user passed in the context and place it in the specified position.
 boolean FavouritesService.isFavourite(ApplicationUser user, SharedEntity entity)
          Check that the given entity is a favourite of the user passed in the context
 boolean FavouritesService.isFavourite(com.atlassian.crowd.embedded.api.User user, SharedEntity entity)
          Deprecated. Use FavouritesService.isFavourite(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.sharing.SharedEntity) instead. Since v6.0. Check that the given entity is a favourite of the user passed in the context
 void FavouritesService.removeFavourite(JiraServiceContext ctx, SharedEntity entity)
          Remove the given entity as a favourite of the user passed in the context
 

Uses of SharedEntity in com.atlassian.jira.favourites
 

Classes in com.atlassian.jira.favourites with type parameters of type SharedEntity
 interface FavouritesManager<S extends SharedEntity>
          Manager for basic Favourites functionality.
 

Methods in com.atlassian.jira.favourites with parameters of type SharedEntity
 void FavouritesManager.removeFavouritesForEntityDelete(SharedEntity entity)
          Remove all favourite associations for a given entity for entity deletion.
 

Uses of SharedEntity in com.atlassian.jira.issue.search
 

Classes in com.atlassian.jira.issue.search that implement SharedEntity
 class SearchRequest
          A shareable representation of a search for issues.
 

Uses of SharedEntity in com.atlassian.jira.portal
 

Classes in com.atlassian.jira.portal that implement SharedEntity
 class PortalPage
          This class represents a Dashboard page in JIRA.
 

Uses of SharedEntity in com.atlassian.jira.sharing
 

Classes in com.atlassian.jira.sharing with type parameters of type SharedEntity
static class SharedEntity.TypeDescriptor<S extends SharedEntity>
          The name and type of a SharedEntity.
 interface SharedEntityAccessor<S extends SharedEntity>
          Provides an abstraction for accessing SharedEntity objects.
 

Classes in com.atlassian.jira.sharing that implement SharedEntity
static class SharedEntity.Identifier
          Utility class for identifying a SharedEntity.
 

Methods in com.atlassian.jira.sharing with type parameters of type SharedEntity
<S extends SharedEntity>
SharedEntity.TypeDescriptor<S>
SharedEntity.TypeDescriptor.Factory.create(String name)
          should only be called by types that implement SharedEntity
<S extends SharedEntity>
SharedEntity.TypeDescriptor<S>
SharedEntity.getEntityType()
          The type of entity it is.
<S extends SharedEntity>
SharedEntityAccessor<S>
SharedEntityAccessor.Factory.getSharedEntityAccessor(SharedEntity.TypeDescriptor<S> type)
          Retrieves a SharedEntityAccessor that can operate on the passed type.
<S extends SharedEntity>
SharedEntityAccessor<S>
SharedEntityAccessor.Factory.getSharedEntityAccessor(String type)
          Retrieves a SharedEntityAccessor that can operate on the passed type.
<S extends SharedEntity>
SharedEntity.TypeDescriptor<S>
SharedEntity.TypeDescriptor.Factory.register(SharedEntity.TypeDescriptor<S> typeDescriptor)
           
 

Methods in com.atlassian.jira.sharing that return types with arguments of type SharedEntity
 EnclosedIterable<SharedEntity> SharedEntityAccessor.getAllIndexableSharedEntities()
          Get all sharable entities this accessor can see for use in indexing.
 SharedEntity.TypeDescriptor<SharedEntity> SharedEntity.Identifier.getEntityType()
           
 

Methods in com.atlassian.jira.sharing with parameters of type SharedEntity
 void SharedEntityAccessor.adjustFavouriteCount(SharedEntity entity, int adjustmentValue)
          Adjusts the favourite counts for a given entity.
 void ShareManager.deletePermissions(SharedEntity entity)
          Delete all permissions associated with an entity
 SharedEntity.SharePermissions ShareManager.getSharePermissions(SharedEntity entity)
          Retrieve all SharePermission instances associated with a passed in SharedEntity
 boolean ShareManager.hasPermission(com.atlassian.crowd.embedded.api.User user, SharedEntity entity)
          Deprecated. since 5.0 please use ShareManager.isSharedWith(com.atlassian.crowd.embedded.api.User, SharedEntity) to get the same logic. Permission checks should be done in the service layer according to this information.
 boolean ShareManager.isSharedWith(ApplicationUser user, SharedEntity sharedEntity)
          Whether this entity has been shared with the specified user.
 boolean ShareManager.isSharedWith(com.atlassian.crowd.embedded.api.User user, SharedEntity sharedEntity)
          Whether this entity has been shared with the specified user.
 boolean ShareTypeValidatorUtils.isValidSharePermission(JiraServiceContext context, SharedEntity entity)
          Validates to see if a given Set of SharePermission is valid.
 SharedEntity.SharePermissions ShareManager.updateSharePermissions(SharedEntity entity)
          Updates the SharePermission associated with an entity.
 

Constructor parameters in com.atlassian.jira.sharing with type arguments of type SharedEntity
SharedEntity.Identifier(Long id, SharedEntity.TypeDescriptor<? extends SharedEntity> type, ApplicationUser owner)
           
SharedEntity.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.
SharedEntity.Identifier(Long id, SharedEntity.TypeDescriptor<? extends SharedEntity> type, com.atlassian.crowd.embedded.api.User owner)
          Deprecated. Use #Identifier(Long, com.atlassian.jira.sharing.SharedEntity.TypeDescriptor, com.atlassian.jira.user.ApplicationUser) instead. Since v6.0.
 

Uses of SharedEntity in com.atlassian.jira.sharing.search
 

Classes in com.atlassian.jira.sharing.search with type parameters of type SharedEntity
 class SharedEntitySearchResult<E extends SharedEntity>
          A pair that contains the result status of SharedEntity search.
 

Uses of SharedEntity in com.atlassian.jira.sharing.type
 

Methods in com.atlassian.jira.sharing.type with parameters of type SharedEntity
 org.apache.lucene.document.Field ShareQueryFactory.getField(SharedEntity entity, SharePermission permission)
          Get the Field we will later search for.
 

Method parameters in com.atlassian.jira.sharing.type with type arguments of type SharedEntity
 Map<String,String> ShareTypeRenderer.getTranslatedTemplates(JiraAuthenticationContext userCtx, SharedEntity.TypeDescriptor<? extends SharedEntity> type, ShareTypeRenderer.RenderMode mode)
          Return map of key -> template that can be used to show a configured shares in Javascript.
 



Copyright © 2002-2013 Atlassian. All Rights Reserved.