public abstract class EPAbstractHandler<U extends AbstractArtefact> extends java.lang.Object implements EPArtefactHandler<U>
Initial Date: 11.06.2010
| 构造器和说明 |
|---|
EPAbstractHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract U |
createArtefact() |
Controller |
createDetailsController(UserRequest ureq,
WindowControl wControl,
AbstractArtefact artefact,
boolean readOnlyMode)
create a controller to present / manipulate artefact-specific stuff
|
PackageTranslator |
getHandlerTranslator(Translator fallBackTrans)
get back an translator setup for the corresponding handler
|
Controller |
getSpecialMapViewController(UserRequest ureq,
WindowControl wControl,
AbstractArtefact artefact)
return the controller to display the non-generic view is only used if isProvidingSpecialMapViewController() is true
|
abstract java.lang.String |
getType()
get an artefact-type identifier, should be according to OLATresourcable.getResourceableTypeName()
|
boolean |
isEnabled() |
boolean |
isProvidingSpecialMapViewController()
override with true, if your artefact-type provides a non-generic view while displayed in a map this is yet used for live-blog-artefact
|
void |
prefillArtefactAccordingToSource(AbstractArtefact artefact,
java.lang.Object source)
as each artefact handler knows best how to convert the source to an artefact, he should take care of pre-filling the artefact
|
void |
setEnabled(boolean enabled) |
getIconpublic void prefillArtefactAccordingToSource(AbstractArtefact artefact, java.lang.Object source)
EPArtefactHandlerprefillArtefactAccordingToSource 在接口中 EPArtefactHandler<U extends AbstractArtefact>public abstract java.lang.String getType()
EPArtefactHandlergetType 在接口中 EPArtefactHandler<U extends AbstractArtefact>public boolean isEnabled()
isEnabled 在接口中 ConfigOnOffpublic void setEnabled(boolean enabled)
setEnabled 在接口中 EPArtefactHandler<U extends AbstractArtefact>public PackageTranslator getHandlerTranslator(Translator fallBackTrans)
EPArtefactHandlergetHandlerTranslator 在接口中 EPArtefactHandler<U extends AbstractArtefact>fallBackTrans - - your yet existing translatorpublic Controller createDetailsController(UserRequest ureq, WindowControl wControl, AbstractArtefact artefact, boolean readOnlyMode)
EPArtefactHandlercreateDetailsController 在接口中 EPArtefactHandler<U extends AbstractArtefact>public abstract U createArtefact()
createArtefact 在接口中 EPArtefactHandler<U extends AbstractArtefact>public boolean isProvidingSpecialMapViewController()
EPArtefactHandlerisProvidingSpecialMapViewController 在接口中 EPArtefactHandler<U extends AbstractArtefact>public Controller getSpecialMapViewController(UserRequest ureq, WindowControl wControl, AbstractArtefact artefact)
EPArtefactHandlergetSpecialMapViewController 在接口中 EPArtefactHandler<U extends AbstractArtefact>