Package com.saperion.wf
Class ActorInfoImpl
java.lang.Object
com.saperion.wf.WorkflowDataHolder
com.saperion.wf.ActorInfoImpl
- All Implemented Interfaces:
ActorInfo
,Serializable
Actor info class.
- Author:
- rbo
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ActorInfoImpl
(com.saperion.jni.SaJNIWfActor jniActor) Constructor from JNI Actor.ActorInfoImpl
(String name) Short constructor.ActorInfoImpl
(String fullName, int id, int orgUnit, String orgUnitName, String shortName) Constructor.ActorInfoImpl
(Map<String, Object> propertyMap, boolean last) Constructor from property map. -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
setUserFullName
(String fullname) Sets the fullname.void
setUserId
(int id) Sets the user id.void
setUserOrgUnit
(int orgUnit) Sets the organization unit.void
setUserOrgUnitName
(String orgUnitName) Sets the name of the organisation unit.void
setUserShort
(String displayname) Sets the display name.toString()
void
writeXML
(ContentHandler hd, String partName) Writes data as xml part.Methods inherited from class com.saperion.wf.WorkflowDataHolder
getDateValue, getIntValue, getStringValue
-
Constructor Details
-
ActorInfoImpl
Constructor.- Parameters:
fullName
- Full user nameid
- UserIdorgUnit
- Org unitorgUnitName
- Org unit nameshortName
- Short user name
-
ActorInfoImpl
public ActorInfoImpl()Default constructor. -
ActorInfoImpl
public ActorInfoImpl(com.saperion.jni.SaJNIWfActor jniActor) Constructor from JNI Actor.- Parameters:
jniActor
- JNI Actor
-
ActorInfoImpl
Constructor from property map.- Parameters:
propertyMap
- Property Maplast
- LastUserSet
-
ActorInfoImpl
Short constructor.- Parameters:
name
- Actor full name
-
-
Method Details
-
setUserId
public void setUserId(int id) Sets the user id.- Parameters:
id
- The user id.
-
setUserFullName
Sets the fullname.- Parameters:
fullname
- The fullname.
-
setUserShort
Sets the display name.- Parameters:
displayname
- The display name.
-
setUserOrgUnit
public void setUserOrgUnit(int orgUnit) Sets the organization unit.- Parameters:
orgUnit
- The organization unit.
-
setUserOrgUnitName
Sets the name of the organisation unit.- Parameters:
orgUnitName
- The name of the organisation unit.
-
writeXML
Writes data as xml part.- Parameters:
hd
- Content handlerpartName
- Part name- Throws:
SAXException
- Exception
-
getActorId
public int getActorId()- Specified by:
getActorId
in interfaceActorInfo
- Returns:
- the actorId
- See Also:
-
getActorFullName
- Specified by:
getActorFullName
in interfaceActorInfo
- Returns:
- the actorFullName
- See Also:
-
getActorShort
- Specified by:
getActorShort
in interfaceActorInfo
- Returns:
- the actorShort
- See Also:
-
getActorOrgUnit
public int getActorOrgUnit()- Specified by:
getActorOrgUnit
in interfaceActorInfo
- Returns:
- the actorOrgUnit
- See Also:
-
getActorOrgUnitName
- Specified by:
getActorOrgUnitName
in interfaceActorInfo
- Returns:
- the actorOrgUnitName
- See Also:
-
toString
-