|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.admin.resources.representation.share.BreadcrumbHelper
public final class BreadcrumbHelper
A simple helper to create breadcrumbs.
Constructor Summary | |
---|---|
BreadcrumbHelper(LinkDescriptorFactory linkDescriptorFactory, String method) Default constructor. |
Method Summary | |
---|---|
static List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> |
adjustSelf(List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> links) Adds the self relation to the last element in the list of links. |
List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> |
api() Returns the breadcrumbs for the view that shows the list of services provided by the API. |
List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> |
configuration(String configurationKey) Returns the breadcrumbs for the view that shows the list of properties by their keys. |
List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> |
configurations() Returns the breadcrumbs for the view that shows the list of configurations by their keys. |
List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> |
descriptor(String propertyKey) Returns the breadcrumbs for the view that shows a selected property descriptor. |
List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> |
descriptors() Returns the breadcrumbs for the view that shows the list of property descriptors. |
List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> |
home() Returns the breadcrumbs for the view that shows the home page. |
List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> |
jndi() Returns the breadcrumbs for the view that allows to configure JNDI properties. |
List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> |
property(String configurationKey, String propertyKey) Returns the breadcrumbs for the view that shows a single property. |
List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> |
security() Returns the breadcrumbs for the view that allows to en- and decrypt property values. |
de.smartics.resteasy.hypermedia.renderer.LinkDescriptor |
service(ApiServices.ServiceDescriptor descriptor) Creates the link descriptor to the configurations services that is part of the API. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BreadcrumbHelper(LinkDescriptorFactory linkDescriptorFactory, String method)
linkDescriptorFactory
- the value for linkDescriptorFactory.
method
- the method to select the service method of the resource.
Method Detail |
---|
public de.smartics.resteasy.hypermedia.renderer.LinkDescriptor service(ApiServices.ServiceDescriptor descriptor)
descriptor
- the descriptor of the service.
public List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> home()
public List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> api()
public List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> descriptors()
public List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> descriptor(String propertyKey)
propertyKey
- the selected property key.
public static List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> adjustSelf(List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> links)
links
- the links to adjust.
public List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> configurations()
public List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> configuration(String configurationKey)
configurationKey
- the key of the currently selected configuration.
public List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> property(String configurationKey, String propertyKey)
configurationKey
- the key of the currently selected configuration.
propertyKey
- the key of the currently selected property.
public List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> security()
public List<de.smartics.resteasy.hypermedia.renderer.LinkDescriptor> jndi()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |