public class LoDisplayInfoWrapper extends LoDisplayInfo implements DisplayWrapper, CourseCompareCollectionElement, DTOWrapper
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
extensionData |
protected boolean |
fakeObjectForCompare |
protected boolean |
hightlightRow |
protected boolean |
indentable |
protected boolean |
moveDownable |
protected boolean |
moveUpable |
protected boolean |
outdentable |
Constructor and Description |
---|
LoDisplayInfoWrapper() |
LoDisplayInfoWrapper(LoDisplayInfo info) |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getCourseNumber() |
Map<String,Object> |
getExtensionData() |
int |
getIndentLevel() |
String |
getOrgName() |
String |
getOrgType() |
String |
getSearchBy() |
int |
getSequence()
The sequence of the LO in relation to its siblings.
|
String |
getTitle() |
String |
getTitleAndCategoriesAsString()
Creates a formatted String representation of the LO with the categories flattened.
|
String |
getTypeName() |
void |
indent() |
boolean |
isFakeObjectForCompare() |
boolean |
isHightlightRow() |
boolean |
isIndentable()
Used by the UI to determine if the indent widget should be active.
|
boolean |
isMoveDownable()
Used by the UI to determine if the "move down" widget should be active.
|
boolean |
isMoveUpable()
Used by the UI to determine if the "move up" widget should be active.
|
boolean |
isNewDto() |
boolean |
isOutdentable()
Used by the UI to determine if the unindent widget should be active.
|
boolean |
isSelected() |
boolean |
isUserEntered()
This method should be overridden to check whether user entered any information on the wrapper or not.
|
void |
outdent() |
void |
putExtensionData(String key,
Object value)
Provides a way to add additional data to the wrapper object.
|
void |
setCode(String code) |
void |
setCourseNumber(String courseNumber) |
void |
setFakeObjectForCompare(boolean fakeObjectForCompare)
This flag is being used ONLY for compare view.
|
void |
setHightlightRow(boolean hightlightRow)
Marker for collection rows to be highlighted in compare view.
|
void |
setIndentable(boolean indentable) |
void |
setIndentLevel(int indentLevel) |
void |
setMoveDownable(boolean moveDownable) |
void |
setMoveUpable(boolean moveUpable) |
void |
setOrgName(String orgName) |
void |
setOrgType(String orgType) |
void |
setOutdentable(boolean outdentable) |
void |
setSearchBy(String searchBy) |
void |
setSelected(boolean selected) |
void |
setSequence(int sequence) |
void |
setTitle(String title) |
void |
setTypeName(String typeName) |
getLoCategoryInfoList, getLoDisplayInfoList, getLoInfo, getParentLoRelationid, getParentRelType, setLoCategoryInfoList, setLoDisplayInfoList, setLoInfo, setParentLoRelationid, setParentRelType
getId, setId
getDescr, getName, setDescr, setName
getState, getStateKey, getType, getTypeKey, setState, setStateKey, setType, setTypeKey
getMeta, setMeta
getAttributes, getAttributeValue, getAttributeValueList, setAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType, getTypeKey
getState, getStateKey
getAttributes
protected boolean indentable
protected boolean outdentable
protected boolean moveUpable
protected boolean moveDownable
protected boolean hightlightRow
protected boolean fakeObjectForCompare
protected Map<String,Object> extensionData
public LoDisplayInfoWrapper()
public LoDisplayInfoWrapper(LoDisplayInfo info)
public String getSearchBy()
public void setSearchBy(String searchBy)
public String getTypeName()
public void setTypeName(String typeName)
public String getOrgName()
public void setOrgName(String orgName)
public String getOrgType()
public void setOrgType(String orgType)
public String getCourseNumber()
public void setCourseNumber(String courseNumber)
public void indent()
public void outdent()
public int getIndentLevel()
public void setIndentLevel(int indentLevel)
public boolean isSelected()
public void setSelected(boolean selected)
public void setIndentable(boolean indentable)
public void setOutdentable(boolean outdentable)
public void setMoveUpable(boolean moveUpable)
public void setMoveDownable(boolean moveDownable)
public int getSequence()
public void setSequence(int sequence)
public boolean isIndentable()
public boolean isOutdentable()
public boolean isMoveUpable()
public boolean isMoveDownable()
public String getTitleAndCategoriesAsString()
public boolean isUserEntered()
DisplayWrapper
isUserEntered
in interface DisplayWrapper
public boolean isHightlightRow()
isHightlightRow
in interface CourseCompareCollectionElement
CourseCompareCollectionElement.isHightlightRow()
public void setHightlightRow(boolean hightlightRow)
CourseCompareCollectionElement
setHightlightRow
in interface CourseCompareCollectionElement
hightlightRow
- CourseCompareCollectionElement.setFakeObjectForCompare(boolean)
public boolean isFakeObjectForCompare()
isFakeObjectForCompare
in interface CourseCompareCollectionElement
setFakeObjectForCompare(boolean)
public void setFakeObjectForCompare(boolean fakeObjectForCompare)
setFakeObjectForCompare
in interface CourseCompareCollectionElement
fakeObjectForCompare
- public boolean isNewDto()
isNewDto
in interface DTOWrapper
public Map<String,Object> getExtensionData()
getExtensionData
in interface DTOWrapper
public void putExtensionData(String key, Object value)
putExtensionData
in interface DTOWrapper
key
- value
- Copyright © 2004–2014 The Kuali Foundation. All rights reserved.