com.atlassian.applinks.api
Interface SubvertedEntityLinkService

All Superinterfaces:
EntityLinkService

public interface SubvertedEntityLinkService
extends EntityLinkService

Provides methods to bypass permission checking when retrieving entity links. In general, EntityLinkService should be used instead of this interface.

Since:
3.6

Method Summary
 Iterable<EntityLink> getEntityLinksNoPermissionCheck(Object entity)
           
 Iterable<EntityLink> getEntityLinksNoPermissionCheck(Object entity, Class<? extends EntityType> type)
           
 
Methods inherited from interface com.atlassian.applinks.api.EntityLinkService
getEntityLinks, getEntityLinks, getPrimaryEntityLink
 

Method Detail

getEntityLinksNoPermissionCheck

Iterable<EntityLink> getEntityLinksNoPermissionCheck(Object entity,
                                                     Class<? extends EntityType> type)
Parameters:
entity - an application specific entity domain object, see class javadoc for more details
type - the type of EntityLinks to retrieve (e.g. fisheye-repository)
Returns:
an Iterable containing EntityLinks associated with the specified entity, of the specified type
Since:
3.6

getEntityLinksNoPermissionCheck

Iterable<EntityLink> getEntityLinksNoPermissionCheck(Object entity)
Parameters:
entity - an application specific entity domain object, see class javadoc for more details
Returns:
an Iterable containing EntityLinks associated with the specified entity
Since:
3.6


Copyright © 2015 Atlassian. All rights reserved.