|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.repository.handlers.FileHandler
org.olat.repository.handlers.WebDocumentHandler
public class WebDocumentHandler
Initial Date: Apr 6, 2004
| Constructor Summary | |
|---|---|
WebDocumentHandler()
Default constructor. |
|
| Method Summary | |
|---|---|
LockResult |
acquireLock(OLATResourceable ores,
Identity identity)
Acquires lock for the input ores and identity. |
IAddController |
getAddController(RepositoryAddCallback callback,
java.lang.Object userObject,
UserRequest ureq,
WindowControl wControl)
Called the repository wants to add a new resourceable of this handler's type. |
WizardCloseResourceController |
getCloseResourceController(UserRequest ureq,
WindowControl wControl,
RepositoryEntry repositoryEntry)
|
Controller |
getEditorController(OLATResourceable res,
UserRequest ureq,
WindowControl wControl)
Called if a user wants to edit a Resourceable that this handler can provide an editor for. |
MainLayoutController |
getLaunchController(OLATResourceable res,
java.lang.String initialViewIdentifier,
UserRequest ureq,
WindowControl wControl)
Called if a user launches a Resourceable that this handler can handle. |
java.util.List |
getSupportedTypes()
Return the typeNames of OLATResourceable this Handler can handle. |
boolean |
isLocked(OLATResourceable ores)
|
void |
releaseLock(LockResult lockResult)
Releases the lock. |
boolean |
supportsDownload()
Return true if this handler supports donwloading Resourceables of its type. |
boolean |
supportsEdit()
Return true if this handler supports an editor for Resourceables of its type. |
boolean |
supportsLaunch()
Return true if this handler supports launching Resourceables of its type. |
| Methods inherited from class org.olat.repository.handlers.FileHandler |
|---|
archive, cleanupOnDelete, createCopy, getAsMediaResource, getDetailsComponent, readyToDelete |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.olat.repository.handlers.RepositoryHandler |
|---|
archive, cleanupOnDelete, createCopy, getAsMediaResource, getDetailsComponent, readyToDelete |
| Constructor Detail |
|---|
public WebDocumentHandler()
| Method Detail |
|---|
public java.util.List getSupportedTypes()
RepositoryHandler
getSupportedTypes in interface RepositoryHandlerRepositoryHandler.getSupportedTypes()public boolean supportsLaunch()
RepositoryHandler
supportsLaunch in interface RepositoryHandlerRepositoryHandler.supportsLaunch()public boolean supportsDownload()
RepositoryHandler
supportsDownload in interface RepositoryHandlerRepositoryHandler.supportsDownload()public boolean supportsEdit()
RepositoryHandler
supportsEdit in interface RepositoryHandlerRepositoryHandler.supportsEdit()
public MainLayoutController getLaunchController(OLATResourceable res,
java.lang.String initialViewIdentifier,
UserRequest ureq,
WindowControl wControl)
RepositoryHandler
getLaunchController in interface RepositoryHandlerinitialViewIdentifier - if null the default view will be started, otherwise a controllerfactory type dependant view will be activated (subscription subtype)
org.olat.repository.handlers.RepositoryHandler#getLaunchController(org.olat.core.id.OLATResourceable java.lang.String, org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
public Controller getEditorController(OLATResourceable res,
UserRequest ureq,
WindowControl wControl)
RepositoryHandler
getEditorController in interface RepositoryHandlerorg.olat.repository.handlers.RepositoryHandler#getEditorController(org.olat.core.id.OLATResourceable org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
public IAddController getAddController(RepositoryAddCallback callback,
java.lang.Object userObject,
UserRequest ureq,
WindowControl wControl)
RepositoryHandler
getAddController in interface RepositoryHandlergetAddController in class FileHandlerRepositoryHandler.getAddController(org.olat.repository.controllers.RepositoryAddCallback, java.lang.Object, org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
public LockResult acquireLock(OLATResourceable ores,
Identity identity)
RepositoryHandler
acquireLock in interface RepositoryHandlerRepositoryHandler.acquireLock(org.olat.core.id.OLATResourceable, org.olat.core.id.Identity)public void releaseLock(LockResult lockResult)
RepositoryHandler
releaseLock in interface RepositoryHandlerlockResult - the LockResult received when lockingRepositoryHandler.releaseLock(org.olat.core.util.coordinate.LockResult)public boolean isLocked(OLATResourceable ores)
isLocked in interface RepositoryHandlerRepositoryHandler.isLocked(org.olat.core.id.OLATResourceable)
public WizardCloseResourceController getCloseResourceController(UserRequest ureq,
WindowControl wControl,
RepositoryEntry repositoryEntry)
getCloseResourceController in interface RepositoryHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||