public interface Service extends Model, Labelable
Modifier and Type | Method and Description |
---|---|
I18nizableText |
getCategory()
Retrieves the category of the service.
|
Integer |
getCreationBoxHeight()
Gets the height of the creation dialog box.
|
Integer |
getCreationBoxWidth()
Gets the width of the creation dialog box.
|
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
|
default String |
getFamilyId()
Retrieves the Family Id (for example the extension point)
Each model Id have to be unique in it's family Id
|
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 |
getLargeIcon()
Retrieves the URL of the icon without the context path.
|
String |
getMediumIcon()
Retrieves the URL of the icon without the context path.
|
Map<String,ModelItem> |
getParameters()
Retrieves the service's parameters definitions
|
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.
|
View |
getView()
Retrieves the service's view
|
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.
|
getChild, getModelItem, getModelItems, hasModelItem
getDescription, getLabel, getName
String getPluginName()
I18nizableText getCategory()
String getIconGlyph()
String getIconDecorator()
String getSmallIcon()
String getMediumIcon()
String getLargeIcon()
Integer getCreationBoxHeight()
Integer getCreationBoxWidth()
List<ClientSideElement.ScriptFile> getCSSFiles()
Map<String,ModelItem> getParameters()
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)
default String getFamilyId()
Model
getFamilyId
in interface Model