public class PositionImpl extends java.lang.Object implements BPMPosition
| Constructor and Description |
|---|
PositionImpl(BPMProvider provider, java.lang.String positionId)
Create a BPMPositon object with ID and the provider.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName()
Gets the display name in default locale of the server.
|
java.lang.String |
getDisplayName(java.util.Locale locale)
Gets display name of the position in a given locale.
|
java.util.Set<BPMUser> |
getGrantees()
Gets users that are in this position.
|
java.lang.String |
getName()
Gets the position name (id) of a position.
|
org.w3c.dom.Node |
toNode() |
public PositionImpl(BPMProvider provider, java.lang.String positionId) throws BPMIdentityException
provider -positionId -BPMIdentityExceptionpublic java.util.Set<BPMUser> getGrantees() throws BPMIdentityException
BPMPositiongetGrantees in interface BPMPositionBPMIdentityExceptionpublic org.w3c.dom.Node toNode()
public java.lang.String getDisplayName(java.util.Locale locale)
throws BPMIdentityException
getDisplayName in interface BPMPositionlocale - user locale to use for get the display name of the position.BPMPositionBPMIdentityException
public java.lang.String getDisplayName()
throws BPMIdentityException
getDisplayName in interface BPMPositionBPMIdentityExceptionpublic java.lang.String getName()
BPMPositiongetName in interface BPMPosition