|
||||||||||
| 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(java.util.UUID _uuid)
Method to add a uuid to the set of selected classifications. |
void |
execute()
Execute the model. |
java.util.List<UIClassification> |
getChildren()
Getter method for instance variable children. |
java.util.UUID |
getClassificationUUID()
Getter method for instance variable classificationUUID. |
java.util.Map<java.util.UUID,java.lang.String> |
getClassInstanceKeys(org.efaps.db.Instance _instance)
Method to get the key to the instances related to this classification. |
java.lang.String |
getCommandName()
Getter method for instance variable commandName. |
long |
getFieldId()
Getter method for instance variable fieldId. |
java.lang.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. |
javax.swing.tree.TreeModel |
getTreeModel()
Method to get the tree for the classification. |
boolean |
isInitialized()
Getter method for instance variable initialized. |
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 javax.swing.tree.TreeModel getTreeModel()
public boolean isSelected()
selected.
selectedpublic void setSelected(boolean _selected)
selected.
_selected - value for instance variable selectedpublic java.lang.String getLabel()
label.
labelpublic void execute()
public java.util.Map<java.util.UUID,java.lang.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 java.util.UUID getClassificationUUID()
classificationUUID.
classificationUUIDpublic java.util.List<UIClassification> getChildren()
children.
childrenpublic UIClassification getParent()
parent.
parentpublic boolean isRoot()
root.
rootpublic org.efaps.admin.ui.AbstractUserInterfaceObject.TargetMode getMode()
mode.
modepublic java.lang.String getCommandName()
commandName.
commandNamepublic void addSelectedUUID(java.util.UUID _uuid)
_uuid - uuid to set as selected
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||