|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aurel.track.fieldType.design.custom.select.config.bl.SelectConfigBaseBL
com.aurel.track.fieldType.design.custom.select.config.bl.SimpleSelectConfigBL
public class SimpleSelectConfigBL
Class implementing a simple select
| Constructor Summary | |
|---|---|
SimpleSelectConfigBL()
|
|
| Method Summary | |
|---|---|
void |
copyOptions(ListHierarchy listHierarchy)
Makes a copy of the entire list |
void |
deleteOptions(java.lang.Integer listID)
Deletes all options Before calling this method it should be tested whether no option from the list has workItem dependence |
void |
deleteOptionWithChild(java.lang.Integer optionID)
Delete an option. |
java.util.List |
getDataSource(java.lang.Integer listID)
Gets a data source for the list |
java.util.List |
getSortorderUnitListOrderedByLabel(java.lang.Integer listID,
java.lang.Integer parentID,
boolean ascending)
Gets the list of options the sortorder matters ordered by label |
java.util.List |
getSortorderUnitListOrderedBySortorder(java.lang.Integer listID,
java.lang.Integer parentID)
Gets the list of options the sortorder matters ordered by sortorder |
boolean |
isOptionAssignedToWorkItem(java.lang.Integer optionID)
Whether the option is associated with a workItem |
static java.util.List |
loadByList(java.lang.Integer listID)
|
void |
setDeleted(java.lang.Integer optionID,
boolean flag)
Sets an option as deleted |
| Methods inherited from class com.aurel.track.fieldType.design.custom.select.config.bl.SelectConfigBaseBL |
|---|
deleteOption, loadByPrimaryKey, moveDown, moveUp, save, sortAphabetically |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleSelectConfigBL()
| Method Detail |
|---|
public static java.util.List loadByList(java.lang.Integer listID)
public java.util.List getDataSource(java.lang.Integer listID)
getDataSource in class SelectConfigBaseBLpublic void deleteOptionWithChild(java.lang.Integer optionID)
deleteOptionWithChild in class SelectConfigBaseBL
public java.util.List getSortorderUnitListOrderedBySortorder(java.lang.Integer listID,
java.lang.Integer parentID)
getSortorderUnitListOrderedBySortorder in class SelectConfigBaseBLlistID - parentID - null for simple select lists
public java.util.List getSortorderUnitListOrderedByLabel(java.lang.Integer listID,
java.lang.Integer parentID,
boolean ascending)
getSortorderUnitListOrderedByLabel in class SelectConfigBaseBLlistID - parentID - null for simple select listsascending -
public void setDeleted(java.lang.Integer optionID,
boolean flag)
setDeleted in class SelectConfigBaseBLoptionID - public void deleteOptions(java.lang.Integer listID)
deleteOptions in class SelectConfigBaseBLlistID - public boolean isOptionAssignedToWorkItem(java.lang.Integer optionID)
isOptionAssignedToWorkItem in class SelectConfigBaseBLoptionID -
public void copyOptions(ListHierarchy listHierarchy)
copyOptions in class SelectConfigBaseBLlistID -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||