|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.workflow.engine.user.UserSettingsImpl
public class UserSettingsImpl
Constructor Summary | |
---|---|
UserSettingsImpl()
Default Constructor |
|
UserSettingsImpl(String userId,
String peasId)
UserSettingsImpl can be constructed with given user Id and peas Id |
Method Summary | |
---|---|
Vector<UserInfo> |
castor_getUserInfos()
Get the settings user informations |
void |
castor_setUserInfos(Vector<UserInfo> userInfos)
Set the settings user informations |
String |
getPeasId()
Get the peas id |
String |
getSettingsId()
For persistence in database Get this object id |
String |
getUserId()
Get the user id |
UserInfo |
getUserInfo(String name)
|
UserInfo[] |
getUserInfos()
|
boolean |
isValid()
return true if userInfos is not empty |
void |
load(DataRecord data,
RecordTemplate template)
Fill the given data record with user information |
void |
reset()
Remove all user infos |
void |
save()
Saves this settings in database |
void |
setPeasId(String peasId)
Set the peas id |
void |
setSettingsId(String settingsId)
For persistence in database Set this object id |
void |
setUserId(String userId)
Set the user id |
void |
update(DataRecord data,
RecordTemplate template)
Update the settings with a given DataRecord |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserSettingsImpl()
public UserSettingsImpl(String userId, String peasId)
Method Detail |
---|
public boolean isValid()
isValid
in interface UserSettings
public String getSettingsId()
getSettingsId
in interface UserSettings
public void setSettingsId(String settingsId)
settingsId
- this object idpublic String getUserId()
getUserId
in interface UserSettings
public void setUserId(String userId)
userId
- user idpublic String getPeasId()
getPeasId
in interface UserSettings
public void setPeasId(String peasId)
peasId
- peas idpublic void reset()
public UserInfo[] getUserInfos()
getUserInfos
in interface UserSettings
public UserInfo getUserInfo(String name)
getUserInfo
in interface UserSettings
public void save() throws WorkflowException
save
in interface UserSettings
WorkflowException
public void update(DataRecord data, RecordTemplate template)
update
in interface UserSettings
data
- the data recordtemplate
- the record templatepublic void load(DataRecord data, RecordTemplate template)
load
in interface UserSettings
data
- the data recordtemplate
- the record templatepublic void castor_setUserInfos(Vector<UserInfo> userInfos)
userInfos
- user informationspublic Vector<UserInfo> castor_getUserInfos()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |