|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.efaps.ui.wicket.models.objects.UIClassification
public class UIClassification
Class is used as a model for a classification.
| Constructor Summary | |
|---|---|
UIClassification(org.efaps.admin.ui.field.FieldClassification _field,
AbstractUIObject _uiObject)
|
|
| Method Summary | |
|---|---|
void |
addSelectedUUID(UUID _uuid)
Method to add a uuid to the set of selected classifications. |
void |
execute()
Execute the model. |
List<UIClassification> |
getChildren()
Getter method for instance variable children. |
UUID |
getClassificationUUID()
Getter method for instance variable classificationUUID. |
Map<UUID,String> |
getClassInstanceKeys(org.efaps.db.Instance _instance)
Method to get the key to the instances related to this classification. |
String |
getCommandName()
Getter method for instance variable commandName. |
long |
getFieldId()
Getter method for instance variable fieldId. |
String |
getLabel()
Getter method for instance variable label. |
org.efaps.admin.ui.AbstractUserInterfaceObject.TargetMode |
getMode()
Getter method for instance variable mode. |
UIClassification |
getParent()
Getter method for instance variable parent. |
TreeModel |
getTreeModel()
Method to get the tree for the classification. |
boolean |
isInitialized()
Getter method for instance variable initialized. |
boolean |
isMultipleSelect()
Getter method for the instance variable multipleSelect. |
boolean |
isRoot()
Getter method for instance variable root. |
boolean |
isSelected()
Getter method for instance variable selected. |
void |
setSelected(boolean _selected)
Setter method for instance variable selected. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UIClassification(org.efaps.admin.ui.field.FieldClassification _field,
AbstractUIObject _uiObject)
_field - FielClassification_uiObject - ui object| Method Detail |
|---|
public long getFieldId()
fieldId.
fieldIdpublic TreeModel getTreeModel()
public boolean isMultipleSelect()
multipleSelect.
multipleSelectpublic boolean isSelected()
selected.
selectedpublic void setSelected(boolean _selected)
selected.
_selected - value for instance variable selectedpublic String getLabel()
label.
labelpublic void execute()
public Map<UUID,String> getClassInstanceKeys(org.efaps.db.Instance _instance)
throws org.efaps.util.EFapsException
_instance - Instance the related instance key are searched for
org.efaps.util.EFapsException - on errorpublic boolean isInitialized()
initialized.
initializedpublic UUID getClassificationUUID()
classificationUUID.
classificationUUIDpublic List<UIClassification> getChildren()
children.
childrenpublic UIClassification getParent()
parent.
parentpublic boolean isRoot()
root.
rootpublic org.efaps.admin.ui.AbstractUserInterfaceObject.TargetMode getMode()
mode.
modepublic String getCommandName()
commandName.
commandNamepublic void addSelectedUUID(UUID _uuid)
_uuid - uuid to set as selected
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||