|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.portal.api.BaseEditor
public class BaseEditor
Nominal implementation of the Editor interface. This should suffice for typical usage where only the values are needed without additional logic.
| Constructor Summary | |
|---|---|
BaseEditor()
|
|
BaseEditor(String id,
String name,
String editorUrl,
String launchUrl)
|
|
BaseEditor(String id,
String name,
String editorUrl,
String launchUrl,
String preloadScript)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getEditorUrl()
Retrieve the URL of the Editor's primary script. |
String |
getId()
Retrieve the unique identifier of this Editor. |
String |
getLaunchUrl()
Retrieve the URL of the Sakai launch script for this Editor. |
String |
getName()
Retrieve the formal name of this Editor. |
String |
getPreloadScript()
Retrieve any inline script that should be run before loading this Editor. |
int |
hashCode()
|
void |
setEditorUrl(String editorUrl)
|
void |
setId(String id)
|
void |
setLaunchUrl(String launchUrl)
|
void |
setName(String name)
|
void |
setPreloadScript(String preloadScript)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseEditor()
public BaseEditor(String id,
String name,
String editorUrl,
String launchUrl)
public BaseEditor(String id,
String name,
String editorUrl,
String launchUrl,
String preloadScript)
| Method Detail |
|---|
public void setId(String id)
public String getId()
Editor
getId in interface Editorpublic void setName(String name)
public String getName()
Editor
getName in interface Editorpublic void setEditorUrl(String editorUrl)
public String getEditorUrl()
Editor
getEditorUrl in interface Editorpublic void setLaunchUrl(String launchUrl)
public String getLaunchUrl()
Editor
getLaunchUrl in interface Editorpublic void setPreloadScript(String preloadScript)
public String getPreloadScript()
Editor