|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.hci.UserModel
public class UserModel
This class represents a user of HighDeal Communication Infrastructure.
A User is any person who is authorized to work with SAP Convergent Charging 1.0
and who is assigned one or more roles in the organization.
A user is identified by a login/password.
If the advanced password management feature is enabled, each password has to conform
to the complexity rules that have been defined by the administrator. Passwords may also
have an expiration date after which they must be changed. A user can also be locked and
thus prevented to do any operation if his password is wrongly entered several times.
To each user, a list of permissions (or role) is associated. Optionally, a
perimeter code can be associated to a user. This code will refer to a
perimeter which will define a subset of buyers/customers which will be accessible
to this user.
PerimeterModel.
| Role Name | ID | Authorized domain | Main authorized actions |
| Transactive Administrator | "admin" | all | all |
| User Administrator | "useradmin" | Users | Manage the users and their rights |
| Customer Sale Representative (CSR) | "csr" | Subscriptions (Price & Rate) | Manage subscriptions. |
| Marketing | "marketing" |
|
Manage :
|
| Account Manager | "accountmanager" | Bill, Settle & Report | Manage :
|
| Financial Administrator | "arpadmin" | Account Receivable & Payable | Manage :
|
| Collections manager | "collectionsmanager" | Account Receivable & Payable | Manage :
|
| XML Schema Fragment |
<xs:element name="user">
<xs:complexType>
<xs:sequence>
<xs:element name="permission" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="value" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="login" type="xs:string"/>
<xs:attribute name="password" type="xs:string"/>
<xs:attribute name="perimeterCode" type="xs:string"/>
<xs:attribute name="locked" type="xs:boolean"/>
</xs:complexType>
</xs:element> |
| Constructor Summary | |
|---|---|
UserModel()
Constructs an empty user. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the objects, the child represents
the marshallable object to be added into the content tree. |
java.lang.String |
getLoginID()
Returns the login of this user. |
java.lang.String |
getPassword()
Returns the password of this user. |
java.lang.String |
getPerimeterCode()
Returns the code of the the related perimeter if a perimeter exits or null if no restricted perimeter is set. |
java.util.Vector<java.lang.String> |
getPermissions()
Returns the list of role(s)/permission(s) allowed to this user. |
boolean |
isLocked()
Returns whether the user is locked. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, and of its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the tag beeing processed. |
void |
setLocked(boolean locked)
Sets whether the user is locked. |
void |
setLoginID(java.lang.String id)
Sets the login for this user. |
void |
setPassword(java.lang.String pw)
Sets the password for this user. |
void |
setPerimeterCode(java.lang.String code)
Sets the code of the the related perimeter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserModel()
| Method Detail |
|---|
public java.lang.String getLoginID()
public void setLoginID(java.lang.String id)
id - the login for this user.public java.lang.String getPassword()
public void setPassword(java.lang.String pw)
pw - the password for this user.public java.util.Vector<java.lang.String> getPermissions()
public java.lang.String getPerimeterCode()
public void setPerimeterCode(java.lang.String code)
code - the perimeter code.public boolean isLocked()
public void setLocked(boolean locked)
locked - whether the user is locked.public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - the XML attributes of the current tag.
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild represents
the marshallable object to be added into the content tree.
addChild in interface XMLMarshallabletagName - the name of tag for the child.child - the child to be added.public void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - the character data to be added.public void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - the XML output to marshall the object into.
|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2
(c) Copyright 2009 SAP AG. All rights reserved.