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 Modifier and Type Field Description static StringRESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description InsertService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActionBeanString()Returns the ActionBeanStringgetId()Returns the insert service IdStringgetLabel()Returns the insert service labelStringgetLabelKey()Returns the insert service labelStringgetName()Returns the insert service nameStringgetNameKey()Returns the insert service nameStringgetPluginName()Return the name of the pluginStringgetResourceId()Returns the resource Id of the current objectStringgetResourceTypeCode()Returns the Resource Type Code that identify the resource typeInsertServiceSelectionBeangetSelectionActionBean()Returns the Bean to select an objectStringgetSelectorUI(javax.servlet.http.HttpServletRequest request)Get the UI to select an objectbooleanisEnabled()Tells 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 servicevoidsetId(String strId)Set the Id of the insert servicevoidsetLabelKey(String strLabelKey)Set the name of the insert servicevoidsetLocale(Locale locale)Implements LocalizablevoidsetNameKey(String strNameKey)Set the name of the insert servicevoidsetPluginName(String strPluginName)Set the plugin name of the insert service
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
Returns the insert service Id- Returns:
- The Id as a String
-
setId
public void setId(String strId)
Set the Id of the insert service- Parameters:
strId- the id
-
getNameKey
public String getNameKey()
Returns the insert service name- Returns:
- The name key as a String
-
getName
public String getName()
Returns the insert service name- Returns:
- The name as a String
-
setNameKey
public void setNameKey(String strNameKey)
Set the name of the insert service- Parameters:
strNameKey- the label
-
getLabelKey
public String getLabelKey()
Returns the insert service label- Returns:
- The label key as a String
-
getLabel
public String getLabel()
Returns the insert service label- Returns:
- The label as a String
-
setLabelKey
public void setLabelKey(String strLabelKey)
Set the name of the insert service- Parameters:
strLabelKey- the label
-
getActionBeanString
public String getActionBeanString()
Returns the ActionBean- Returns:
- The ActionBean as a String
-
setActionBeanString
public void setActionBeanString(String strActionBean)
Set the ActionBean of the insert service- Parameters:
strActionBean- the ActionBean
-
setActionBeanClassName
public void setActionBeanClassName(String strSelectionBean)
Register the name of the Action Bean associated with the service- Parameters:
strSelectionBean- The ActionBean to use
-
getPluginName
public String getPluginName()
Return the name of the plugin- Returns:
- The name of the plugin
-
setPluginName
public void setPluginName(String strPluginName)
Set the plugin name of the insert service- Parameters:
strPluginName- the plugin name
-
getSelectionActionBean
public InsertServiceSelectionBean getSelectionActionBean()
Returns the Bean to select an object- Returns:
- an Instance of the Bean
- See Also:
getActionBeanString()
-
getSelectorUI
public String getSelectorUI(javax.servlet.http.HttpServletRequest request)
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
public String 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
public String 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
public void setLocale(Locale locale)
Implements Localizable- Specified by:
setLocalein interfaceLocalizable- Parameters:
locale- The current locale
-
-