Squeak Class Documentation category index | class index  
 
SwikiPage
  category: Network-Pluggable Web Server
  superclass: Object
  subclasses: PSwikiPage

No comment. Sorry.

instance methods
  accessing
  address
address:
by
by:
coreID
coreID:
date
date:
file
file:
formatted
formatted:
lastEditTime
map
map:
name
name:
noteEditRequest
outputFormat
pageStatus
pageStatus:
placeID
placeID:
text
text:
textVersion:
time
time:
timeOfAccept
url
url:
user
user:

  insertion points
  unique:in:
uniqueInsertionPoints:

  save & restore
  backupAChunk:
chunk1
condenseChanges
formatForOutput
fromFileNamed:action:
name:date:time:by:text:back:
rollBack:at:
scanFrom:
text:back:

class methods
  accessing
  outputFormat

  initialization
  initialize

instance methods
  accessing top  
 

address

Answer the receiver's 'address'.


 

address:

Set the receiver's instance variable 'address' to be anObject.


 

by


 

by:


 

coreID

Answer the receiver's 'coreID'.


 

coreID:

Set the receiver's instance variable 'coreID' to be anObject.


 

date

Answer the receiver's 'date'.


 

date:

Set the receiver's instance variable 'date' to be anObject.


 

file

Answer the receiver's 'file'.


 

file:

Set the receiver's instance variable 'file' to be anObject.


 

formatted


 

formatted:

Never set this except on a copy


 

lastEditTime

Describe when this page was edited last


 

map

Answer the receiver's 'map'.


 

map:

Set the receiver's instance variable 'map' to be anObject.


 

name

Answer the receiver's 'name'.


 

name:

Set the receiver's instance variable 'name' to be anObject.


 

noteEditRequest


 

outputFormat


 

pageStatus

The basic stati ;) are #new and #standard. If the pageStatus is nil,
we make make the page #standard, as that is the old behavior. You could add
other types to get e.g., different kinds of URLs, or to exclude pages from
a search, or alter the formatter, or...


 

pageStatus:

While I'm trying to be careful about default behavior if the type is
unknown, one should still be careful to check all the places that pageType
is used.


 

placeID

Temporarily hold onto the placeID value. For putting into the
FORM in insert.html


 

placeID:

Temporarily hold onto the placeID value. For putting into the
FORM in insert.html


 

text


 

text:

Add onto the end of the file


 

textVersion:

One step back gets the original


 

time

Answer the receiver's 'time'.


 

time:

Set the receiver's instance variable 'time' to be anObject.


 

timeOfAccept

return the Time when the text was written on the file


 

url

Answer the receiver's 'url'.


 

url:

Set the receiver's instance variable 'url' to be anObject.


 

user


 

user:


  insertion points top  
 

unique:in:

If aTag is not in aSet, put it in and return aTag. If it's there,
make up a new tag, insert it, and return it. For keeping insertion points
in text unique, so can tell where to put incoming text.


 

uniqueInsertionPoints:

Find all occurances of '*append here'. Make them lower case. If
they don't have a number after them, assign one. Don't use the same number
twice in this page. Place ID can actually be any string.


  save & restore top  
 

backupAChunk:

We are positioned at the end of a chunk. Read the size of this
chunk from its end. Back up one chunk. Return the position of the space
before the back number.


 

chunk1


 

condenseChanges

Save only the most recent version of this page


 

formatForOutput


 

fromFileNamed:action:

Fill in all parts of this page from the info in its file


 

name:date:time:by:text:back:

Record the name of this page during startup. When reading the
page in order to serve it, this is NOT executed. The text is read from the
file explicitly.


 

rollBack:at:

Roll back tthis page to a previous state. This does not erase data, just moves an older version to the end.


 

scanFrom:

Read my name off the file for this page. Other pages contain a ref to me like *myName*


 

text:back:

Record the name of this page during startup. When reading the page in
order to serve it, this is NOT executed. The text is read from the file
explicitly.


class methods
  accessing top  
 

outputFormat


  initialization top  
 

initialize

SwikiPage initialize