fr.paris.lutece.plugins.insertajax.business
Class InsertAjax

java.lang.Object
  extended by fr.paris.lutece.plugins.insertajax.business.InsertAjax
All Implemented Interfaces:
fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

public class InsertAjax
extends java.lang.Object
implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

This class represents business object InsertAjax


Field Summary
static java.lang.String RESOURCE_TYPE
           
static java.lang.String ROLE_NONE
           
 
Constructor Summary
InsertAjax()
          Creates a new instance of InsertAjax
 
Method Summary
 java.lang.String getHtml()
           
 int getId()
          getters and setters
 java.lang.String getName()
           
 java.lang.String getRole()
           
 java.lang.String getSql()
           
 java.lang.String getWorkgroup()
          Returns the workgroup
 java.lang.String getWorkgroupKey()
          Return the WorkgroupKey Contact Label
static void init()
          Initialize the InsertAjaxList
 void replacePrimaryKey(int id)
          The javascript generated for a linkservice can use the DB id from the insertajax But we don't know it in advance.
 void setHtml(java.lang.String html)
           
 void setId(int nId)
           
 void setName(java.lang.String name)
           
 void setRole(java.lang.String role)
           
 void setSql(java.lang.String sql)
           
 void setWorkgroup(java.lang.String strAdminWorkgroup)
          Sets the workgroup
 void setWorkgroupKey(java.lang.String strWorkgroupKey)
          Sets the description of the Contact with the specified String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_TYPE

public static final java.lang.String RESOURCE_TYPE
See Also:
Constant Field Values

ROLE_NONE

public static final java.lang.String ROLE_NONE
See Also:
Constant Field Values
Constructor Detail

InsertAjax

public InsertAjax()
Creates a new instance of InsertAjax

Method Detail

init

public static void init()
Initialize the InsertAjaxList


getId

public int getId()
getters and setters


setId

public void setId(int nId)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getHtml

public java.lang.String getHtml()

setHtml

public void setHtml(java.lang.String html)

getSql

public java.lang.String getSql()

setSql

public void setSql(java.lang.String sql)

getWorkgroupKey

public java.lang.String getWorkgroupKey()
Return the WorkgroupKey Contact Label

Returns:
The label of the selected Workgroup Key

setWorkgroupKey

public void setWorkgroupKey(java.lang.String strWorkgroupKey)
Sets the description of the Contact with the specified String

Parameters:
strWorkgroupKey - The workgroup key

getWorkgroup

public java.lang.String getWorkgroup()
Returns the workgroup

Specified by:
getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
Returns:
The workgroup

setWorkgroup

public void setWorkgroup(java.lang.String strAdminWorkgroup)
Sets the workgroup

Parameters:
strAdminWorkgroup - The workgroup

getRole

public java.lang.String getRole()

setRole

public void setRole(java.lang.String role)

replacePrimaryKey

public void replacePrimaryKey(int id)
The javascript generated for a linkservice can use the DB id from the insertajax But we don't know it in advance. This method subtitute the ID_PRIMARY_KEY string with the one given by the database.

Parameters:
id -


Copyright © 2009 Mairie de Paris. All Rights Reserved.