public class BreadcrumbResource extends AbstractResource
Modifier and Type | Class and Description |
---|---|
static class |
BreadcrumbResource.Crumb |
authContext, uriInfo, userAccessor
Constructor and Description |
---|
BreadcrumbResource(ResourceIdentifierResolver<IdAndTypeResourceIdentifier,Object> idAndTypeResourceIdentifierResolver,
UserAccessor userAccessor,
I18NBeanFactory i18NBeanFactory,
ContextPathHolder contextPathHolder,
PermissionManager permissionManager,
SpacePermissionManager spacePermissionManager,
BreadcrumbGenerator breadcrumbGenerator) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
generateBreadcrumbs(long resourceId,
String resourceType)
Gets the breadcrumbs to display for the given content id and type.
|
createRequestContext, getAnonymousUserUriBuilder, getAttachmentUriBuilder, getContentUriBuilder, getCurrentUser, getMissingUserUriBuilder, getSpaceUriBuilder, getUserUriBuilder
public BreadcrumbResource(@Qualifier(value="idAndTypeResourceIdentifierResolver") ResourceIdentifierResolver<IdAndTypeResourceIdentifier,Object> idAndTypeResourceIdentifierResolver, @Qualifier(value="userAccessor") UserAccessor userAccessor, @Qualifier(value="i18NBeanFactory") I18NBeanFactory i18NBeanFactory, ContextPathHolder contextPathHolder, PermissionManager permissionManager, SpacePermissionManager spacePermissionManager, BreadcrumbGenerator breadcrumbGenerator)
public javax.ws.rs.core.Response generateBreadcrumbs(long resourceId, String resourceType)
Copyright © 2003–2020 Atlassian. All rights reserved.