Index - All Packages - All Categories - All Classes

Class BeWork

This is the actual representation on disk; the Fe versions of these classes hide the actual representation.ó

Package: Udanax-Gold
All Superclasses: Object Heaper Abraham BeRangeElement
Immediate Subclasses: BeClub
Protocols: Object
Categories: Xanadu-Be-Basic

Class Methods

make: edition



Overridden by: BeClub class

Instance Methods

addRevisionWatcher: work

Tell the FE Work whenever this Work is revised

addSponsors: clubs


canBeEditedBy: km

Answer whether the KeyMaster has the authority to edit this work.

canBeReadBy: km

Return true if the KeyMaster has the authority to read this Work.

create: contents with: isClub



Overrides: Abraham

createRcvr: receiver



Overrides: BeRangeElement
Overridden by: BeClub

edition

The current Edition.
Note: If this is an unsponsored Work, the Edition might have been discarded, and this operation will blast.

endorse: endorsements

Adds to the endorsements on this Work. The set of endorsements must be a finite number of (club ID, token ID) pairs. This requires the authority of all of the Clubs used to endorse. The token IDs must not be named IDs.

endorsements

All endorsements which have been placed on this Work. The Edition::transclusions () operation will be able to find the current Edition of this Work by filtering for these endorsements; they are also used to filter various other operations which directly return sets of Works.

fetchEditClub

The edit Club, or nil if there is none

fetchHistoryClub

The history Club, or nil if there is none

fetchLockingWork

The Work which has this locked, or nil if noone does.

fetchReadClub

The read Club, or nil if there is none

finishCreation

Gets called once the object is created, to finish up

isPurgeable



Overrides: BeRangeElement
Overridden by: BeClub

lastRevisionAuthor

The Club who made the last revision

lastRevisionNumber

The sequence number of the last revision of this Work.

lastRevisionTime

The time of the last revision of this Work.

localProp


makeFe: label



Overrides: BeRangeElement
Overridden by: BeClub

makeLockedFeWork

Make a frontend Work on me and lock it if possible.

printOn: oo



Overrides: Object

prop


propChange: change with: nw


recordHistory

Change the current edition and notify anyone who cares about the revision

removeLastRevisionWatcher

Inform the work that its last revision watcher is gone.

removeRevisionWatcher: work

Remove a previously added RevisionWatcher

removeSponsors: clubs


restartWork: rcvr


retract: endorsements

Removes endorsements from this Work. This requires the authority of all of the Clubs whose endorsements are in the list. Ignores all endorsements which you could have removed, but which don't happen to be there right now.

revise: edition

Change the current edition and notify anyone who cares about the revision

Overridden by: BeClub

revisions

If there isn't already a shared Trail on this Work, create a new one. Return it

sendSelfTo: xmtr



Overrides: BeRangeElement
Overridden by: BeClub

setEditClub: club

Change the edit Club (or remove it if nil).

setHistoryClub: club

Change the history Club (or remove it if nil).

setReadClub: club

Change the read Club (or remove it if nil).

sponsor: clubs

Add new sponsors to the Work, and notify the Clubs

sponsors


tryLock: work

Try to lock with the give FE Work. Return TRUE if successful

tryUnlock: work

If the given FE Work is locking, then unlock and return TRUE; else return FALSE with no change in lock state

unendorse: endorsements


unsponsor: clubs

Remove sponsors from the Work, and notify the Clubs

updateFeStatus

Tell all the FeWorks on this one to update their status


Index - All Packages - All Categories - All Classes