com.novell.emframe.dev
Class DirPropertyBookPage

java.lang.Object
  extended bycom.novell.emframe.dev.Plugin
      extended bycom.novell.emframe.dev.PropertyBookPage
          extended bycom.novell.emframe.dev.DirPropertyBookPage

public class DirPropertyBookPage
extends PropertyBookPage

Base class used to create PropertyBookPage objects. Most PropertyBookPages will want to extend DirPropertyBookPage instead of just PropertyBookPage to take advantage of eDirectory Access Service features. DirPropertyBookPages extends the PropertyBookPage abstract class so developers only need to overwrite the specific methods they require. See PropertyBookPage for more information on writing PropertyBookPages.


Field Summary
protected  boolean m_mooEnabled
          Whether Multiple Object Operation (Moo) is enabled for this page.
protected  MOOManager m_mooManager
          MOOManager to use for this page.
protected  NSObject m_nsobj
          NSObject to use for this page.
 
Fields inherited from class com.novell.emframe.dev.PropertyBookPage
m_chapter, m_displayName, m_handledAttributeNames, m_helpfile, m_id, m_IsDirty, m_isXML, m_JSPDataObject, m_pageDoc, m_parameters, m_propertyBook, m_template
 
Constructor Summary
DirPropertyBookPage()
           
 
Method Summary
protected  boolean doesSupportMoo()
          Returns the default implemenation read value from page xml descriptor.
 DirPropertyBook getDirPropertyBook()
          Returns the parent DirPropertyBook object.
 void init(PluginContext context, org.jdom.Document doc)
          Initializes the member variables with data from an XML configuration document.
 void save(TaskContext context, java.util.Properties resultStrings)
          Deprecated. Use cache(PropertyPageContext context) instead
 void show(TaskContext context, java.util.Properties resultStrings)
          Deprecated. Use show(PropertyPageContext context) instead
 
Methods inherited from class com.novell.emframe.dev.PropertyBookPage
apply, cache, canCommit, canCommit, commit, getChapter, getHandledAttributeNames, getHelpFilename, getId, getName, getTemplate, release, setChapter, shouldRun, show
 
Methods inherited from class com.novell.emframe.dev.Plugin
isPluginAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_mooEnabled

protected boolean m_mooEnabled
Whether Multiple Object Operation (Moo) is enabled for this page.


m_mooManager

protected MOOManager m_mooManager
MOOManager to use for this page.


m_nsobj

protected NSObject m_nsobj
NSObject to use for this page.

Constructor Detail

DirPropertyBookPage

public DirPropertyBookPage()
Method Detail

doesSupportMoo

protected boolean doesSupportMoo()
Returns the default implemenation read value from page xml descriptor.

Returns:
boolean: true if this page supports Multiple Object Operations using a MOOManager, false if otherwise

getDirPropertyBook

public DirPropertyBook getDirPropertyBook()
Returns the parent DirPropertyBook object.

Returns:
DirPropertyBook containing a reference to parent book

init

public void init(PluginContext context,
                 org.jdom.Document doc)
Initializes the member variables with data from an XML configuration document.

Overrides:
init in class PropertyBookPage
Parameters:
context - PluginContext of the plug-in
doc - XML Document registering this page

save

public void save(TaskContext context,
                 java.util.Properties resultStrings)
          throws PageException
Deprecated. Use cache(PropertyPageContext context) instead

Cache the posted data to a temporary data source. Don't write it to eDirectory.

Overrides:
save in class PropertyBookPage
Parameters:
context - TaskContext of the plug-in
resultStrings - Properties object to be added to the request
Throws:
PageException
See Also:
PropertyBookPage.cache(com.novell.emframe.dev.PropertyPageContext)

show

public void show(TaskContext context,
                 java.util.Properties resultStrings)
          throws PageException
Deprecated. Use show(PropertyPageContext context) instead

Read data from cached data-source. Stuff results in xml/properties to be rendered.

Overrides:
show in class PropertyBookPage
Parameters:
context - TaskContext of the plug-in
resultStrings - Properties object to be added to the request
Throws:
PageException
See Also:
show(com.novell.emframe.dev.TaskContext, java.util.Properties)


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.