com.silverpeas.workflow.engine.user
Class UserInfoImpl

java.lang.Object
  extended by com.silverpeas.workflow.engine.AbstractReferrableObject
      extended by com.silverpeas.workflow.engine.user.UserInfoImpl
All Implemented Interfaces:
UserInfo, ReferrableObjectIntf

public class UserInfoImpl
extends AbstractReferrableObject
implements UserInfo


Constructor Summary
UserInfoImpl()
          Default Constructor
UserInfoImpl(String name, String value)
          UserInfoImpl can be constructed with given name and value
 
Method Summary
 String getId()
          For persistence in database Get this object id
 String getKey()
          This method has to be implemented by the referrable object it has to compute the unique key
 String getName()
          Get the info name
 UserSettings getUserSettings()
          Get the user settings to which this info is for
 String getValue()
          Get the info value
 void setId(String id)
          For persistence in database Set this object id
 void setName(String name)
          Get the info name
 void setUserSettings(UserSettings userSettings)
          Set the user settings to which this info is for
 void setValue(String value)
          Get the info value
 
Methods inherited from class com.silverpeas.workflow.engine.AbstractReferrableObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserInfoImpl

public UserInfoImpl()
Default Constructor


UserInfoImpl

public UserInfoImpl(String name,
                    String value)
UserInfoImpl can be constructed with given name and value

Method Detail

getId

public String getId()
For persistence in database Get this object id

Specified by:
getId in interface UserInfo
Returns:
this object id

setId

public void setId(String id)
For persistence in database Set this object id

Parameters:
this - object id

getName

public String getName()
Get the info name

Specified by:
getName in interface UserInfo
Returns:
info name

setName

public void setName(String name)
Get the info name


getValue

public String getValue()
Get the info value

Specified by:
getValue in interface UserInfo
Returns:
info value

setValue

public void setValue(String value)
Get the info value


getUserSettings

public UserSettings getUserSettings()
Get the user settings to which this info is for

Specified by:
getUserSettings in interface UserInfo
Returns:
user settings

setUserSettings

public void setUserSettings(UserSettings userSettings)
Set the user settings to which this info is for

Parameters:
user - settings

getKey

public String getKey()
This method has to be implemented by the referrable object it has to compute the unique key

Specified by:
getKey in interface ReferrableObjectIntf
Specified by:
getKey in class AbstractReferrableObject
Returns:
The unique key.
See Also:
equals, hashCode


Copyright © 2016 Silverpeas. All Rights Reserved.