Class InsertService
java.lang.Object
fr.paris.lutece.portal.service.insert.InsertService
- All Implemented Interfaces:
Localizable,fr.paris.lutece.portal.service.rbac.RBACResource
public class InsertService
extends Object
implements fr.paris.lutece.portal.service.rbac.RBACResource, Localizable
The insert Service
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the ActionBeangetId()Returns the insert service IdgetLabel()Returns the insert service labelReturns the insert service labelgetName()Returns the insert service nameReturns the insert service nameReturn the name of the pluginReturns the resource Id of the current objectReturns the Resource Type Code that identify the resource typeReturns the Bean to select an objectgetSelectorUI(javax.servlet.http.HttpServletRequest request) Get the UI to select an objectbooleanTells if the insertservice is enable (plugin activated).voidsetActionBeanClassName(String strSelectionBean) Register the name of the Action Bean associated with the servicevoidsetActionBeanString(String strActionBean) Set the ActionBean of the insert servicevoidSet the Id of the insert servicevoidsetLabelKey(String strLabelKey) Set the name of the insert servicevoidImplements LocalizablevoidsetNameKey(String strNameKey) Set the name of the insert servicevoidsetPluginName(String strPluginName) Set the plugin name of the insert service
-
Field Details
-
RESOURCE_TYPE
- See Also:
-
-
Constructor Details
-
InsertService
public InsertService()
-
-
Method Details
-
getId
Returns the insert service Id- Returns:
- The Id as a String
-
setId
Set the Id of the insert service- Parameters:
strId- the id
-
getNameKey
Returns the insert service name- Returns:
- The name key as a String
-
getName
Returns the insert service name- Returns:
- The name as a String
-
setNameKey
Set the name of the insert service- Parameters:
strNameKey- the label
-
getLabelKey
Returns the insert service label- Returns:
- The label key as a String
-
getLabel
Returns the insert service label- Returns:
- The label as a String
-
setLabelKey
Set the name of the insert service- Parameters:
strLabelKey- the label
-
getActionBeanString
Returns the ActionBean- Returns:
- The ActionBean as a String
-
setActionBeanString
Set the ActionBean of the insert service- Parameters:
strActionBean- the ActionBean
-
setActionBeanClassName
Register the name of the Action Bean associated with the service- Parameters:
strSelectionBean- The ActionBean to use
-
getPluginName
Return the name of the plugin- Returns:
- The name of the plugin
-
setPluginName
Set the plugin name of the insert service- Parameters:
strPluginName- the plugin name
-
getSelectionActionBean
Returns the Bean to select an object- Returns:
- an Instance of the Bean
- See Also:
-
getSelectorUI
Get the UI to select an object- Parameters:
request- The Http request.- Returns:
- HTML code of the page as string
-
isEnabled
public boolean isEnabled()Tells if the insertservice is enable (plugin activated).- Returns:
- Returns the state of the insert service : enable or disable
-
getResourceTypeCode
Returns the Resource Type Code that identify the resource type- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The Resource Type Code
-
getResourceId
Returns the resource Id of the current object- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The resource Id of the current object
-
setLocale
Implements Localizable- Specified by:
setLocalein interfaceLocalizable- Parameters:
locale- The current locale
-