|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.gui.components.Component
org.olat.core.gui.components.form.Form
org.olat.repository.DetailsForm
public class DetailsForm
Initial Date: 08.07.2003
| Field Summary | |
|---|---|
static int |
MAX_DISPLAYNAME
|
| Fields inherited from class org.olat.core.gui.components.form.Form |
|---|
CANCEL_IDENTIFICATION, ELEM_BUTTON_COMMAND_ID, EVNT_FORM_CANCELLED, EVNT_VALIDATION_NOK, EVNT_VALIDATION_OK, SUBMIT_IDENTIFICATION |
| Constructor Summary | |
|---|---|
DetailsForm(java.lang.String name,
Translator translator,
RepositoryEntry entry,
java.lang.String typeName,
boolean enableAuthorView,
boolean doDisplayOnly)
The details form is initialized with data collected from entry and typeName. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAuthor()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getResourceName()
|
java.lang.String |
getType()
|
RepositoryEntry |
getUpdatedEntry()
Get an updated repository entry with data from this form. |
void |
init()
Initialize form data based on repository entry. |
void |
setEntry(RepositoryEntry newEntry)
Set entry and re-initialize the form based on data of this entry. |
void |
updateEntry(RepositoryEntry repositoryEntry)
Update the given repository entry with data available from this form. |
boolean |
validate()
|
| Methods inherited from class org.olat.core.gui.components.Component |
|---|
addListener, debuginfoGetListeners, dispatchRequest, getAndClearLatestFiredEvent, getComponentName, getDispatchID, getExtendedDebugInfo, getLatestDispatchedController, getListenerInfo, getParent, getSpanAsDomReplaceable, getTimestamp, getTranslator, isDirty, isDirtyForUser, isDomReplaceable, isEnabled, isVisible, setDirty, setDomReplaceable, setEnabled, setSpanAsDomReplaceable, setVisible, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_DISPLAYNAME
| Constructor Detail |
|---|
public DetailsForm(java.lang.String name,
Translator translator,
RepositoryEntry entry,
java.lang.String typeName,
boolean enableAuthorView,
boolean doDisplayOnly)
name - t - entry - typeName - enableAuthorView - doDisplayOnly - | Method Detail |
|---|
public void init()
public boolean validate()
validate in class Formorg.olat.core.gui.components.Form#validate(org.olat.core.gui.UserRequest)public java.lang.String getResourceName()
public java.lang.String getDisplayName()
public java.lang.String getAuthor()
public java.lang.String getType()
public java.lang.String getDescription()
public void setEntry(RepositoryEntry newEntry)
newEntry - public void updateEntry(RepositoryEntry repositoryEntry)
repositoryEntry - public RepositoryEntry getUpdatedEntry()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||