public interface Service
Modifier and Type | Method and Description |
---|---|
I18nizableText |
getCategory()
Retrieves the category of the service.
|
List<ClientSideElement.ScriptFile> |
getCSSFiles()
Returns the list of CSS files needed to correctly display the service's in BO, such as the service's icon
|
I18nizableText |
getDescription()
Retrieves the description of the service.
|
String |
getIconDecorator()
Retrieves the CSS class to use for decorator above the main icon
|
String |
getIconGlyph()
Retrieves the CSS class to use for glyph icon
|
String |
getId()
Returns the service's id.
|
I18nizableText |
getLabel()
Retrieves the label of the service.
|
String |
getLargeIcon()
Retrieves the URL of the icon without the context path.
|
String |
getMediumIcon()
Retrieves the URL of the icon without the context path.
|
List<ServiceParameterGroup> |
getParameterGroups()
Returns the service parameter groups.
|
Map<String,ServiceParameterOrRepeater> |
getParameters()
Returns the service's parameters.
|
ClientSideElement.Script |
getParametersScript()
This method return the script that will be used to display parameters field.
|
String |
getPluginName()
Returns the plugin's name.
|
String |
getRight()
Get the right needed to create an instance of this service.
|
String |
getSmallIcon()
Retrieves the URL of the icon without the context path.
|
String |
getURL()
Returns the service's Cocoon-URL.
|
void |
index(ZoneItem zoneItem,
SolrInputDocument document)
Fill the index with service data.
This method is called during the containing page indexation process. |
boolean |
isCacheable(Page currentPage,
ZoneItem zoneItem)
Returns true if the result of this service may be cached, depending on the
ZoneItem containing an instance of this service. |
boolean |
isPrivate()
Get whether the service is private, i.e.
|
String getPluginName()
I18nizableText getLabel()
I18nizableText getDescription()
I18nizableText getCategory()
String getIconGlyph()
String getIconDecorator()
String getSmallIcon()
String getMediumIcon()
String getLargeIcon()
List<ClientSideElement.ScriptFile> getCSSFiles()
Map<String,ServiceParameterOrRepeater> getParameters()
List<ServiceParameterGroup> getParameterGroups()
ClientSideElement.Script getParametersScript()
boolean isPrivate()
String getRight()
boolean isCacheable(Page currentPage, ZoneItem zoneItem)
ZoneItem
containing an instance of this service.void index(ZoneItem zoneItem, SolrInputDocument document)