exiddis::lib::Sequences::GenericSequence Class Reference
List of all members.
Detailed Description
General interface for all types of sequences.
Member Function Documentation
| def exiddis::lib::Sequences::GenericSequence::__init__ |
( |
|
self, |
|
|
|
id, |
|
|
|
name, |
|
|
|
users = {} | |
|
) |
| | |
Keyword parameters:
id - sequence id
name - sequence name
users - map of users with rights to this sequence (default: empty map {})
| def exiddis::lib::Sequences::GenericSequence::addUserRight |
( |
|
self, |
|
|
|
user, |
|
|
|
right | |
|
) |
| | |
Add user right.
Keyword parameters:
user - user id
right - type of right
| def exiddis::lib::Sequences::GenericSequence::getValues |
( |
|
self, |
|
|
|
howMany | |
|
) |
| | |
Return given amount of values of this sequence.
Keyword parameters:
howMany - amount of values to be returned.
If during the execution of this method the NextValueOutOfRangeError is risen, it would return only this values which were genereted before the error occured.
| def exiddis::lib::Sequences::GenericSequence::takeRightFromUser |
( |
|
self, |
|
|
|
user, |
|
|
|
right | |
|
) |
| | |
Remove user right.
Keyword parameters:
user - user id
right - type of right
The documentation for this class was generated from the following file: