com.sri.emo.wizard.creation
Class CustomPartHandlerMetadata

java.lang.Object
  extended by com.sri.emo.wizard.defaults.EmoWizardMetadata
      extended by com.sri.emo.wizard.creation.CustomPartHandlerMetadata
All Implemented Interfaces:
CreationMetadata, PageMetadata, Serializable

public class CustomPartHandlerMetadata
extends EmoWizardMetadata
implements CreationMetadata

Constructs metadata for a custom part handler. Put in here any special data hooks needed to load the criteria.

Author:
Larry Hamel
See Also:
Serialized Form

Constructor Summary
CustomPartHandlerMetadata()
          Default constructor.
 
Method Summary
 String getBrowseText()
           
 String getCreateText()
           
 IPartHandler getCustomHandler()
          create instance of custom handler; uses 'forName' and depends on no-args constructor
 List getInputList()
           
 String getSearchText()
           
 ISetting getSettingPrototype()
           
 String getViewId()
          Overrides the view id to return the custom handler entry.
 boolean isBrowse()
           
 boolean isCreate()
           
 boolean isRequired()
           
 boolean isSearch()
           
 void setBrowse(boolean browse)
           
 void setBrowseText(String browseText)
           
 void setCreate(boolean create)
           
 void setCreateText(String createText)
           
 void setCustomHandlerClassName(String handlerClass)
           
 void setInputList(List list)
           
 void setRequired(boolean skip)
           
 void setSearch(boolean search)
           
 void setSearchText(String searchText)
           
 void setSettingPrototype(ISetting settingPrototype)
           
 
Methods inherited from class com.sri.emo.wizard.defaults.EmoWizardMetadata
equals, getCancel, getDirective, getFinish, getHelpText, getNext, getPrevious, getTitle, hashCode, isEntry, isEntryRequired, isHasEntry, setCancelLink, setDirective, setEntry, setEntryRequired, setFinishLink, setHelpText, setNextLink, setPreviousLink, setTitle, setViewId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sri.emo.wizard.PageMetadata
getCancel, getDirective, getFinish, getHelpText, getNext, getPrevious, getTitle, isEntryRequired, isHasEntry
 

Constructor Detail

CustomPartHandlerMetadata

public CustomPartHandlerMetadata()
Default constructor.

Method Detail

getViewId

public String getViewId()
Overrides the view id to return the custom handler entry. Retrieve the view id. Defaults to null. May specify a special type of view handling for a given page.

Specified by:
getViewId in interface PageMetadata
Overrides:
getViewId in class EmoWizardMetadata
Returns:
'CustomHandlerEntry'

setCustomHandlerClassName

public void setCustomHandlerClassName(String handlerClass)

getCustomHandler

public IPartHandler getCustomHandler()
                              throws ClassNotFoundException,
                                     IllegalAccessException,
                                     InstantiationException
create instance of custom handler; uses 'forName' and depends on no-args constructor

Returns:
instance of this custom handler; never null
Throws:
ClassNotFoundException
IllegalAccessException
InstantiationException

getInputList

public List getInputList()

setInputList

public void setInputList(List list)

setSettingPrototype

public void setSettingPrototype(ISetting settingPrototype)

getSettingPrototype

public ISetting getSettingPrototype()

setBrowse

public void setBrowse(boolean browse)
Specified by:
setBrowse in interface CreationMetadata

setCreate

public void setCreate(boolean create)
Specified by:
setCreate in interface CreationMetadata

setSearch

public void setSearch(boolean search)
Specified by:
setSearch in interface CreationMetadata

setRequired

public void setRequired(boolean skip)
Specified by:
setRequired in interface CreationMetadata

setBrowseText

public void setBrowseText(String browseText)
Specified by:
setBrowseText in interface CreationMetadata

setCreateText

public void setCreateText(String createText)
Specified by:
setCreateText in interface CreationMetadata

setSearchText

public void setSearchText(String searchText)
Specified by:
setSearchText in interface CreationMetadata

isBrowse

public boolean isBrowse()
Specified by:
isBrowse in interface CreationMetadata

isCreate

public boolean isCreate()
Specified by:
isCreate in interface CreationMetadata

isSearch

public boolean isSearch()
Specified by:
isSearch in interface CreationMetadata

isRequired

public boolean isRequired()
Specified by:
isRequired in interface CreationMetadata

getBrowseText

public String getBrowseText()
Specified by:
getBrowseText in interface CreationMetadata

getCreateText

public String getCreateText()
Specified by:
getCreateText in interface CreationMetadata

getSearchText

public String getSearchText()
Specified by:
getSearchText in interface CreationMetadata


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.