eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Comanche::XmlSwikiStorage':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: XmlSwikiStorage (in Comanche)


Inheritance:

   Object
   |
   +--Comanche::SwikiStorage
      |
      +--Comanche::XmlSwikiStorage

Package:
stx:goodies/webServer/comanche/swiki
Category:
Comanche-Swiki-Storage
Version:
rev: 1.19 date: 2006/07/27 14:54:47
user: cg
file: XmlSwikiStorage.st directory: goodies/webServer/comanche/swiki
module: stx stc-classLibrary: swiki

Class protocol:

conversion
o  booleanSettingFrom: xml

o  booleanSettingNamed: aString value: value

o  codeSettingFrom: xml
in order to make the setup.xml-file compatible with the original Swiki,
global classNames are saved without a nameSpace prefix, and we care for this
here, when reloading the setup.

o  codeSettingNamed: aString value: value
in order to make the setup.xml-file compatible with the original Swiki,
we MUST save global classNames without a nameSpace prefix, and care for this
when reloading the setup. Here, we only strip off the Comanche nameSpace.

o  collSettingFrom: xml

o  collSettingNamed: aString value: value

o  numberSettingFrom: xml

o  numberSettingNamed: aString value: value

o  performerFor: value

o  settingAssocFromXml: xml

o  settingStringNamed: aString value: value

o  settingsDictFrom: xml

o  settingsStringFrom: dict
Converts a dictionary to a xml string.

o  storeStringFor: object

o  textDictionaryFrom: xml start: start end: end
Keep adding elements

o  textFrom: xml start: start end: end

o  textSettingFrom: xml

o  textSettingNamed: aString value: value

initialize-release
o  initialize
Dictionaries

instance creation
o  loadPagesFromDir: dir

testing class hierarchy
o  handlesBookStorage

o  handlesPageStorage


Instance protocol:

book (load)
o  loadSettingsForBook: book

o  writeSettingsForBook: book
Delete Old Settings

pages
o  backupPage: aPage
Back-up a .xml page to put it's contents into a .old page.

o  isAComplexPage: aPage

o  loadPage: aPage

o  loadPage: aPage from: xml startingAt: pos0
Version

o  loadPages

o  loadVersionsFrom: aPage

o  multipleTextFrom: aPage

o  pathFrom: aPage

o  simpleTextFrom: aPage

o  textFrom: aPage

o  textKey: key from: aPage

o  writePage: aPage
Delete Old Version

private
o  addTextFrom: aPage to: file

o  getMetaCollForDir: aDir

o  putMetaColl: coll forDir: aDir

shelf
o  loadSettingsForShelf: shelf

o  setupBooks

o  writeSettingsForShelf: shelf
Delete Old Settings

o  writeSetupForBook: book
Delete Old Setup



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:32:25 GMT