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 java.lang.Object implements fr.paris.lutece.portal.service.rbac.RBACResource, Localizable
The insert Service
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description InsertService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetActionBeanString()Returns the ActionBeanjava.lang.StringgetId()Returns the insert service Idjava.lang.StringgetLabel()Returns the insert service labeljava.lang.StringgetLabelKey()Returns the insert service labeljava.lang.StringgetName()Returns the insert service namejava.lang.StringgetNameKey()Returns the insert service namejava.lang.StringgetPluginName()Return the name of the pluginjava.lang.StringgetResourceId()Returns the resource Id of the current objectjava.lang.StringgetResourceTypeCode()Returns the Resource Type Code that identify the resource typeInsertServiceSelectionBeangetSelectionActionBean()Returns the Bean to select an objectjava.lang.StringgetSelectorUI(javax.servlet.http.HttpServletRequest request)Get the UI to select an objectbooleanisEnabled()Tells if the insertservice is enable (plugin activated).voidsetActionBeanClassName(java.lang.String strSelectionBean)Register the name of the Action Bean associated with the servicevoidsetActionBeanString(java.lang.String strActionBean)Set the ActionBean of the insert servicevoidsetId(java.lang.String strId)Set the Id of the insert servicevoidsetLabelKey(java.lang.String strLabelKey)Set the name of the insert servicevoidsetLocale(java.util.Locale locale)Implements LocalizablevoidsetNameKey(java.lang.String strNameKey)Set the name of the insert servicevoidsetPluginName(java.lang.String strPluginName)Set the plugin name of the insert service
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final java.lang.String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
Returns the insert service Id- Returns:
- The Id as a String
-
setId
public void setId(java.lang.String strId)
Set the Id of the insert service- Parameters:
strId- the id
-
getNameKey
public java.lang.String getNameKey()
Returns the insert service name- Returns:
- The name key as a String
-
getName
public java.lang.String getName()
Returns the insert service name- Returns:
- The name as a String
-
setNameKey
public void setNameKey(java.lang.String strNameKey)
Set the name of the insert service- Parameters:
strNameKey- the label
-
getLabelKey
public java.lang.String getLabelKey()
Returns the insert service label- Returns:
- The label key as a String
-
getLabel
public java.lang.String getLabel()
Returns the insert service label- Returns:
- The label as a String
-
setLabelKey
public void setLabelKey(java.lang.String strLabelKey)
Set the name of the insert service- Parameters:
strLabelKey- the label
-
getActionBeanString
public java.lang.String getActionBeanString()
Returns the ActionBean- Returns:
- The ActionBean as a String
-
setActionBeanString
public void setActionBeanString(java.lang.String strActionBean)
Set the ActionBean of the insert service- Parameters:
strActionBean- the ActionBean
-
setActionBeanClassName
public void setActionBeanClassName(java.lang.String strSelectionBean)
Register the name of the Action Bean associated with the service- Parameters:
strSelectionBean- The ActionBean to use
-
getPluginName
public java.lang.String getPluginName()
Return the name of the plugin- Returns:
- The name of the plugin
-
setPluginName
public void setPluginName(java.lang.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 java.lang.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 java.lang.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 java.lang.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(java.util.Locale locale)
Implements Localizable- Specified by:
setLocalein interfaceLocalizable- Parameters:
locale- The current locale
-
-