mktplace.transactions.participant_update module

class mktplace.transactions.participant_update.ParticipantObject(participantid=None, minfo=None)[source]

Bases: mktplace.transactions.market_place_object_update.MarketPlaceObject

ObjectTypeName = 'Participant'
classmethod is_valid_creator(store, creatorid, originatorid)[source]
dump()[source]
class mktplace.transactions.participant_update.Register(update_type, name, description=None)[source]

Bases: journal.transaction.Update

UpdateType = 'RegisterParticipant'
ObjectType

alias of ParticipantObject

CreatorType

alias of ParticipantObject

References
is_valid_name(store)[source]

Participant name may not include a ‘/’, must be less than 64 characters long, and is not the same as an already-existing object.

check_valid(store, txn)[source]
apply(store, txn)[source]
class mktplace.transactions.participant_update.Unregister(update_type, creator_id, object_id)[source]

Bases: journal.transaction.Update

UpdateType = 'UnregisterParticipant'
ObjectType

alias of ParticipantObject

CreatorType

alias of ParticipantObject

References
check_valid(store, txn)[source]
apply(store, txn)[source]
class mktplace.transactions.participant_update.UpdateDescription(update_type, creator_id, description, object_id)[source]

Bases: mktplace.transactions.market_place_object_update.UpdateDescription

UpdateType = 'UpdateParticipantDescription'
ObjectType

alias of ParticipantObject

CreatorType

alias of ParticipantObject

class mktplace.transactions.participant_update.UpdateName(update_type, object_id, creator_id, name)[source]

Bases: mktplace.transactions.market_place_object_update.UpdateName

UpdateType = 'UpdateParticipantName'
ObjectType

alias of ParticipantObject

CreatorType

alias of ParticipantObject

is_valid_name(store)[source]

Ensure that the name property meets syntactic requirements. Objects can override this method for object specific syntax. This method simply requires that a name not contain a ‘/’, has a total length less than 64 characters, and is not the same as an already-existing object.