|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The concrete type of the content the component is dedicated to manage.public interface SilverpeasComponentService<T extends SilverpeasContent>
A service providing the transverse operations related to a given Silverpeas component. A Silverpeas component aims to manage a given type of content and it is based upon some settings and i18n messages. Some capabilities of a Silverpeas component are provided by a service that is a bean with business logic transverse methods; the core business logic of the component should be provided by the resources themselves (see the DDD (Domain Driven Development) approach).
Method Summary | |
---|---|
ResourceLocator |
getComponentMessages(String language)
Gets the localized messages defined in this Silverpeas component. |
ResourceLocator |
getComponentSettings()
Gets the settings of this Silverpeas component. |
T |
getContentById(String contentId)
Gets the content handled by an instance of the component with the specified unique identifier. |
Method Detail |
---|
T getContentById(String contentId)
contentId
- the unique identifier of the content to get.
ResourceLocator getComponentSettings()
ResourceLocator getComponentMessages(String language)
language
- the language in which the messages has to be localized. If empty or null, then
the bundle with default messages is returned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |