fr.paris.lutece.plugins.wrapper.business
Class Wrapper

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

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

This class represents business object Wrapper

Author:
lenaini

Field Summary
static java.lang.String RESOURCE_TYPE
           
static java.lang.String ROLE_NONE
           
 
Constructor Summary
Wrapper()
          Creates a new instance of Wrapper
 
Method Summary
 java.lang.String getDescription()
          Returns the description of this wrapper.
 int getId()
          Returns the identifier of this wrapper.
 java.lang.String getRole()
          Gets the contactList role
 int getStatus()
          Returns the status of this wrapper.
 java.lang.String getWorkgroup()
          Returns the workgroup
 java.lang.String getWorkgroupKey()
          Return the WorkgroupKey Contact Label
 java.lang.String getWrapperStyles()
          Returns the WrapperStyles of this wrapper.
 java.lang.String getWrapperUrl()
          Returns the WrapperUrl of this wrapper.
static void init()
          Initialize the WrapperList
 boolean isEnabled()
           
 void setDescription(java.lang.String strDescription)
          Sets the description of the wrapper to the specified string.
 void setId(int nId)
          Sets the identifier of the wrapper to the specified integer.
 void setRole(java.lang.String strRole)
          allows the contact List to be saw by a role
 void setStatus(int nStatus)
          Sets the description of the wrapper to the specified string.
 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
 void setWrapperStyles(java.lang.String strWrapperStyles)
          Sets the Styles of the wrapper to the specified string.
 void setWrapperUrl(java.lang.String strWrapperUrl)
          Sets the url of the wrapper to 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

Wrapper

public Wrapper()
Creates a new instance of Wrapper

Method Detail

init

public static void init()
Initialize the WrapperList


getId

public int getId()
Returns the identifier of this wrapper.

Returns:
the wrapper identifier

setId

public void setId(int nId)
Sets the identifier of the wrapper to the specified integer.

Parameters:
nId - the new identifier

getDescription

public java.lang.String getDescription()
Returns the description of this wrapper.

Returns:
the wrapper description

setDescription

public void setDescription(java.lang.String strDescription)
Sets the description of the wrapper to the specified string.

Parameters:
strDescription - the new description

getWrapperUrl

public java.lang.String getWrapperUrl()
Returns the WrapperUrl of this wrapper.

Returns:
the wrapper Url

setWrapperUrl

public void setWrapperUrl(java.lang.String strWrapperUrl)
Sets the url of the wrapper to the specified string.

Parameters:
strWrapperUrl - the new url

getWrapperStyles

public java.lang.String getWrapperStyles()
Returns the WrapperStyles of this wrapper.

Returns:
the wrapper Styles

setWrapperStyles

public void setWrapperStyles(java.lang.String strWrapperStyles)
Sets the Styles of the wrapper to the specified string.

Parameters:
strWrapperStyles - the new Styles

getStatus

public int getStatus()
Returns the status of this wrapper.

Returns:
the wrapper status

setStatus

public void setStatus(int nStatus)
Sets the description of the wrapper to the specified string.

Parameters:
strDescription - the new description

getRole

public java.lang.String getRole()
Gets the contactList role

Returns:
contactList's role as a String
Since:
v1.1

setRole

public void setRole(java.lang.String strRole)
allows the contact List to be saw by a role

Parameters:
strRole - The role that can see the contact list

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

isEnabled

public boolean isEnabled()


Copyright © 2010 Mairie de Paris. All Rights Reserved.