|
||||||||||
| 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.QTIHandler
public abstract class QTIHandler
Initial Date: Apr 6, 2004
| Field Summary | |
|---|---|
static java.lang.String |
PROCESS_CREATENEW
Comment for PROCESS_CREATENEW |
static java.lang.String |
PROCESS_UPLOAD
Comment for PROCESS_UPLOAD |
| Constructor Summary | |
|---|---|
QTIHandler()
Default constructor. |
|
| Method Summary | |
|---|---|
LockResult |
acquireLock(OLATResourceable ores,
Identity identity)
Acquires lock for the input ores and identity. |
OLATResourceable |
createCopy(OLATResourceable res,
UserRequest ureq)
Create a copy of the given resourceable. |
MainLayoutController |
getLaunchController(OLATResourceable res,
java.lang.String initialViewIdentifier,
UserRequest ureq,
WindowControl wControl)
Called if a user launches a Resourceable that this handler can handle. |
boolean |
isLocked(OLATResourceable ores)
|
boolean |
readyToDelete(OLATResourceable res,
UserRequest ureq,
WindowControl wControl)
Called if the repository entry referencing the given Resourceable will be deleted from the repository. |
void |
releaseLock(LockResult lockResult)
Releases the lock. |
| Methods inherited from class org.olat.repository.handlers.FileHandler |
|---|
archive, cleanupOnDelete, getAddController, getAsMediaResource, getDetailsComponent |
| 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, getAddController, getAsMediaResource, getCloseResourceController, getDetailsComponent, getEditorController, getSupportedTypes, supportsDownload, supportsEdit, supportsLaunch |
| Field Detail |
|---|
public static final java.lang.String PROCESS_UPLOAD
PROCESS_UPLOAD
public static final java.lang.String PROCESS_CREATENEW
PROCESS_CREATENEW
| Constructor Detail |
|---|
public QTIHandler()
| Method Detail |
|---|
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 boolean readyToDelete(OLATResourceable res,
UserRequest ureq,
WindowControl wControl)
RepositoryHandler
readyToDelete in interface RepositoryHandlerreadyToDelete in class FileHandlerorg.olat.repository.handlers.RepositoryHandler#readyToDelete(org.olat.core.id.OLATResourceable 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 OLATResourceable createCopy(OLATResourceable res,
UserRequest ureq)
RepositoryHandler
createCopy in interface RepositoryHandlercreateCopy in class FileHandlerFileHandler.createCopy(org.olat.core.id.OLATResourceable, org.olat.core.gui.UserRequest)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||