Package com.saperion.wf
Class ActorInfoImpl
- java.lang.Object
-
- com.saperion.wf.WorkflowDataHolder
-
- com.saperion.wf.ActorInfoImpl
-
- All Implemented Interfaces:
ActorInfo
,java.io.Serializable
public final class ActorInfoImpl extends WorkflowDataHolder implements ActorInfo
Actor info class.- Author:
- rbo
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActorInfoImpl()
Default constructor.ActorInfoImpl(com.saperion.jni.SaJNIWfActor jniActor)
Constructor from JNI Actor.ActorInfoImpl(java.lang.String name)
Short constructor.ActorInfoImpl(java.lang.String fullName, int id, int orgUnit, java.lang.String orgUnitName, java.lang.String shortName)
Constructor.ActorInfoImpl(java.util.Map<java.lang.String,java.lang.Object> propertyMap, boolean last)
Constructor from property map.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getActorFullName()
int
getActorId()
int
getActorOrgUnit()
java.lang.String
getActorOrgUnitName()
java.lang.String
getActorShort()
void
setUserFullName(java.lang.String fullname)
Sets the fullname.void
setUserId(int id)
Sets the user id.void
setUserOrgUnit(int orgUnit)
Sets the organization unit.void
setUserOrgUnitName(java.lang.String orgUnitName)
Sets the name of the organisation unit.void
setUserShort(java.lang.String displayname)
Sets the display name.java.lang.String
toString()
void
writeXML(org.xml.sax.ContentHandler hd, java.lang.String partName)
Writes data as xml part.-
Methods inherited from class com.saperion.wf.WorkflowDataHolder
getDateValue, getIntValue, getStringValue
-
-
-
-
Constructor Detail
-
ActorInfoImpl
public ActorInfoImpl(java.lang.String fullName, int id, int orgUnit, java.lang.String orgUnitName, java.lang.String shortName)
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
public ActorInfoImpl(java.util.Map<java.lang.String,java.lang.Object> propertyMap, boolean last)
Constructor from property map.- Parameters:
propertyMap
- Property Maplast
- LastUserSet
-
ActorInfoImpl
public ActorInfoImpl(java.lang.String name)
Short constructor.- Parameters:
name
- Actor full name
-
-
Method Detail
-
setUserId
public void setUserId(int id)
Sets the user id.- Parameters:
id
- The user id.
-
setUserFullName
public void setUserFullName(java.lang.String fullname)
Sets the fullname.- Parameters:
fullname
- The fullname.
-
setUserShort
public void setUserShort(java.lang.String displayname)
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
public void setUserOrgUnitName(java.lang.String orgUnitName)
Sets the name of the organisation unit.- Parameters:
orgUnitName
- The name of the organisation unit.
-
writeXML
public void writeXML(org.xml.sax.ContentHandler hd, java.lang.String partName) throws org.xml.sax.SAXException
Writes data as xml part.- Parameters:
hd
- Content handlerpartName
- Part name- Throws:
org.xml.sax.SAXException
- Exception
-
getActorId
public int getActorId()
- Specified by:
getActorId
in interfaceActorInfo
- Returns:
- the actorId
- See Also:
ActorInfo.getActorId()
-
getActorFullName
public java.lang.String getActorFullName()
- Specified by:
getActorFullName
in interfaceActorInfo
- Returns:
- the actorFullName
- See Also:
ActorInfo.getActorFullName()
-
getActorShort
public java.lang.String getActorShort()
- Specified by:
getActorShort
in interfaceActorInfo
- Returns:
- the actorShort
- See Also:
ActorInfo.getActorShort()
-
getActorOrgUnit
public int getActorOrgUnit()
- Specified by:
getActorOrgUnit
in interfaceActorInfo
- Returns:
- the actorOrgUnit
- See Also:
ActorInfo.getActorOrgUnit()
-
getActorOrgUnitName
public java.lang.String getActorOrgUnitName()
- Specified by:
getActorOrgUnitName
in interfaceActorInfo
- Returns:
- the actorOrgUnitName
- See Also:
ActorInfo.getActorOrgUnitName()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-