|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.gui.control.DefaultController
org.olat.repository.controllers.AddFileResourceController
public class AddFileResourceController
RepositoryAddCallback
finished(..)failure(..).canceled(..)
RepositoryAddCallback
to signal state changes TODO:pb:a link to the doc book explaining how the
repository is used.
| Constructor Summary | |
|---|---|
AddFileResourceController(RepositoryAddCallback addCallback,
java.util.List limitTypes,
java.lang.String[] suffixFilter,
UserRequest ureq,
WindowControl wControl)
Same as above, but able to restrict filetypes, this controller accepts. |
|
AddFileResourceController(RepositoryAddCallback addCallback,
java.util.List limitTypes,
UserRequest ureq,
WindowControl wControl)
Controller implementing "Repository Add"-workflow for all file resources. |
|
| Method Summary | |
|---|---|
void |
event(UserRequest ureq,
Component source,
Event event)
abstract event method for subclasses. |
void |
event(UserRequest urequest,
Controller source,
Event event)
the only method of the interface controllereventlistener. |
Component |
getTransactionComponent()
The transaction component which will be invoked by the repository add controller. |
void |
repositoryEntryCreated(RepositoryEntry re)
Called after the repository entry has been created. |
void |
transactionAborted()
Called if the repository aborts the transaction. |
boolean |
transactionFinishBeforeCreate()
Called just before the repository entry gets created. |
| Methods inherited from class org.olat.core.gui.control.DefaultController |
|---|
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, dispose, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.olat.core.gui.control.ControllerEventListener |
|---|
dispatchEvent |
| Constructor Detail |
|---|
public AddFileResourceController(RepositoryAddCallback addCallback,
java.util.List limitTypes,
UserRequest ureq,
WindowControl wControl)
addCallback - the channel to signal success, failure, cancellimitTypes - may be null indicating no limits.ureq - wControl -
public AddFileResourceController(RepositoryAddCallback addCallback,
java.util.List limitTypes,
java.lang.String[] suffixFilter,
UserRequest ureq,
WindowControl wControl)
addCallback - the channel to signal success, failure, cancellimitTypes - may be null inidicating no limits.suffixFilter - may be null for having no filter.ureq - wControl - | Method Detail |
|---|
public Component getTransactionComponent()
IAddController
getTransactionComponent in interface IAddControllerIAddController.getTransactionComponent()public boolean transactionFinishBeforeCreate()
IAddController
transactionFinishBeforeCreate in interface IAddControllerIAddController.transactionFinishBeforeCreate()public void transactionAborted()
IAddController
transactionAborted in interface IAddControllerIAddController.transactionAborted()
public void event(UserRequest ureq,
Component source,
Event event)
DefaultController
DefaultController.event(org.olat.core.gui.UserRequest,
org.olat.core.gui.components.Component, org.olat.core.gui.control.Event)
public void event(UserRequest urequest,
Controller source,
Event event)
DefaultController
DefaultController.event(org.olat.core.gui.UserRequest,
org.olat.core.gui.control.Controller, org.olat.core.gui.control.Event)public void repositoryEntryCreated(RepositoryEntry re)
IAddController
repositoryEntryCreated in interface IAddControllerIAddController.repositoryEntryCreated(org.olat.repository.RepositoryEntry)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||