|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.gold.java.AboraHeaper
|
+--org.abora.gold.xpp.basic.Heaper
|
+--org.abora.gold.snarf.Abraham
|
+--org.abora.gold.be.basic.BeRangeElement
|
+--org.abora.gold.be.basic.BeWork
This is the actual representation on disk; the Fe versions of these classes hide the
actual representation.ó
| Field Summary | |
protected ID |
myEditClub
|
protected BeEdition |
myEdition
|
protected BeLabel |
myEditionLabel
|
protected BeEdition |
myHistory
|
protected ID |
myHistoryClub
|
protected WeakPtrArray |
myLockingWork
|
protected BertProp |
myOwnProp
|
protected ID |
myReadClub
|
protected ID |
myReviser
|
protected IntegerVar |
myRevisionCount
|
protected IntegerVar |
myRevisionTime
|
protected PrimSet |
myRevisionWatchers
|
protected IDRegion |
mySponsors
|
| Fields inherited from class org.abora.gold.be.basic.BeRangeElement |
myFeRangeElements, myHCrum, myOwner, mySensorCrum |
| Fields inherited from class org.abora.gold.snarf.Abraham |
DismantleStatistics, myHash, myInfo, myToken, TheTokenSource |
| Fields inherited from class org.abora.gold.xpp.basic.Heaper |
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes |
| Fields inherited from class org.abora.gold.java.AboraHeaper |
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag |
| Constructor Summary | |
BeWork(FeEdition contents,
boolean isClub)
|
|
BeWork(Rcvr receiver)
|
|
| Method Summary | |
void |
addRevisionWatcher(FeWork work)
Tell the FE Work whenever this Work is revised |
void |
addSponsors(IDRegion clubs)
|
boolean |
canBeEditedBy(FeKeyMaster km)
Answer whether the KeyMaster has the authority to edit this work. |
boolean |
canBeReadBy(FeKeyMaster km)
Return true if the KeyMaster has the authority to read this Work. |
FeEdition |
edition()
The current Edition. Note: If this is an unsponsored Work, the Edition might have been discarded, and this operation will blast. |
void |
endorse(CrossRegion endorsements)
Adds to the endorsements on this Work. |
CrossRegion |
endorsements()
All endorsements which have been placed on this Work. |
ID |
fetchEditClub()
The edit Club, or NULL if there is none |
ID |
fetchHistoryClub()
The history Club, or NULL if there is none |
FeWork |
fetchLockingWork()
The Work which has this locked, or NULL if noone does. |
ID |
fetchReadClub()
The read Club, or NULL if there is none |
void |
finishCreation()
Gets called once the object is created, to finish up |
boolean |
isPurgeable()
Return false only if the object cannot be flushed to disk. |
ID |
lastRevisionAuthor()
The Club who made the last revision |
IntegerVar |
lastRevisionNumber()
The sequence number of the last revision of this Work. |
IntegerVar |
lastRevisionTime()
The time of the last revision of this Work. |
BertProp |
localProp()
|
static Heaper |
make(FeEdition edition)
|
FeRangeElement |
makeFe(BeLabel label)
Make a front end object (session level) for this backend object. |
FeWork |
makeLockedFeWork()
Make a frontend Work on me and lock it if possible. |
void |
printOn(java.io.PrintWriter oo)
|
BertProp |
prop()
|
void |
propChange(PropChange change,
Prop nw)
|
void |
recordHistory()
Change the current edition and notify anyone who cares about the revision |
void |
removeLastRevisionWatcher()
Inform the work that its last revision watcher is gone. |
void |
removeRevisionWatcher(FeWork work)
Remove a previously added RevisionWatcher |
void |
removeSponsors(IDRegion clubs)
|
void |
restartWork(Rcvr rcvr)
|
void |
retract(CrossRegion endorsements)
Removes endorsements from this Work. |
void |
revise(FeEdition edition)
Change the current edition and notify anyone who cares about the revision |
BeEdition |
revisions()
If there isn't already a shared Trail on this Work, create a new one. |
void |
sendSelfTo(Xmtr xmtr)
do nothing |
void |
setEditClub(ID club)
Change the edit Club (or remove it if NULL). |
void |
setHistoryClub(ID club)
Change the history Club (or remove it if NULL). |
void |
setReadClub(ID club)
Change the read Club (or remove it if NULL). |
void |
sponsor(IDRegion clubs)
Add new sponsors to the Work, and notify the Clubs |
IDRegion |
sponsors()
|
boolean |
tryLock(FeWork work)
Try to lock with the give FE Work. |
boolean |
tryUnlock(FeWork work)
If the given FE Work is locking, then unlock and return TRUE; else return FALSE with no change in lock state |
void |
unendorse(CrossRegion endorsements)
|
void |
unsponsor(IDRegion clubs)
Remove sponsors from the Work, and notify the Clubs |
void |
updateFeStatus()
Tell all the FeWorks on this one to update their status |
| Methods inherited from class org.abora.gold.be.basic.BeRangeElement |
addFeRangeElement, addOParent, anyPasses, becomeOther, bertCrum, checkRecorders, checkRecorders, contentsHash, delayedStoreBackfollow, delayedStoreBackfollow, dismantle, feRangeElements, hCrum, inspect, inTrace, makeIdentical, mappingTo, owner, removeFeRangeElement, removeOParent, restartRE, sensorCrum, setOwner, storeBackfollow, updateBCrumTo, works |
| Methods inherited from class org.abora.gold.snarf.Abraham |
actualHashForEqual, becomeStub, cleanupGarbage, destroy, destruct, diskUpdate, dismantleStatistics, fetchInfo, fetchShepherd, flockInfo, forget, getInfo, getShepherdStubCategory, initTimeNonInherited, isConstructed, isDestructed, isEqual, isKindOf, isShepherd, isStub, isUnlocked, linkTimeNonInherited, newShepherd, remember, restartAbraham, restartAbraham, returnToken, staticTimeNonInherited, token |
| Methods inherited from class org.abora.gold.java.AboraHeaper |
asOop, basicInspect, displayString, error, hack, halt, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected BeEdition myEdition
protected BeLabel myEditionLabel
protected ID myReadClub
protected ID myEditClub
protected BertProp myOwnProp
protected BeEdition myHistory
protected ID myHistoryClub
protected IntegerVar myRevisionCount
protected IntegerVar myRevisionTime
protected ID myReviser
protected IDRegion mySponsors
protected WeakPtrArray myLockingWork
protected PrimSet myRevisionWatchers
| Constructor Detail |
public BeWork(FeEdition contents,
boolean isClub)
public BeWork(Rcvr receiver)
| Method Detail |
public boolean canBeEditedBy(FeKeyMaster km)
public boolean canBeReadBy(FeKeyMaster km)
public FeWork fetchLockingWork()
public FeWork makeLockedFeWork()
public boolean tryLock(FeWork work)
public boolean tryUnlock(FeWork work)
public void addRevisionWatcher(FeWork work)
public FeEdition edition()
public ID lastRevisionAuthor()
public IntegerVar lastRevisionNumber()
public IntegerVar lastRevisionTime()
public void recordHistory()
public void removeLastRevisionWatcher()
public void removeRevisionWatcher(FeWork work)
public void revise(FeEdition edition)
public BeEdition revisions()
public ID fetchEditClub()
public ID fetchHistoryClub()
public ID fetchReadClub()
public void setEditClub(ID club)
public void setHistoryClub(ID club)
public void setReadClub(ID club)
public void endorse(CrossRegion endorsements)
public CrossRegion endorsements()
public BertProp localProp()
public BertProp prop()
public void propChange(PropChange change,
Prop nw)
public void retract(CrossRegion endorsements)
public boolean isPurgeable()
Abraham
isPurgeable in class BeRangeElementpublic FeRangeElement makeFe(BeLabel label)
BeRangeElement
makeFe in class BeRangeElementpublic void sponsor(IDRegion clubs)
public IDRegion sponsors()
public void unsponsor(IDRegion clubs)
public void updateFeStatus()
public void restartWork(Rcvr rcvr)
public void addSponsors(IDRegion clubs)
public void removeSponsors(IDRegion clubs)
public void unendorse(CrossRegion endorsements)
public void finishCreation()
public void printOn(java.io.PrintWriter oo)
printOn in class Heaperpublic void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class BeRangeElementpublic static Heaper make(FeEdition edition)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||