|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectblackboard.data.BbObject
blackboard.cms.portfolio.PortfolioItem
The PortfolioItem class provides a representation of a portfolio item
within the Blackboard application. A PortfolioItem can currently be one of three types:
- entry: An existing item already in the Content System
- url: A valid web URL
- page: An item that contains HTML, that is generated from user input
Each of these types require that different attributes be set.
| Field Summary | |
static blackboard.persist.DataType |
DATA_TYPE
Object data type constant used in brokering loaders and persisters |
| Fields inherited from class blackboard.data.BbObject |
_bbAttributes |
| Constructor Summary | |
PortfolioItem()
Creates an instance of PortfolioItem with default property values. |
|
| Method Summary | |
boolean |
getAvailableInd()
Get availability flag for the PortfolioItem. |
blackboard.persist.DataType |
getDataType()
Returns the DataType identifier for this object. |
java.lang.String |
getFileEntryPath()
Returns the file path for item for the PortfolioItem |
java.lang.String |
getHref()
Get the URL for the PortfolioItem. |
java.lang.String |
getHtml()
Get the HTML content for the PortfolioItem. |
blackboard.persist.Id |
getPortfolioId()
Returns the Id for the PortfolioItem. |
int |
getPosition()
Returns the position for the PortfolioItem. |
java.lang.String |
getTitle()
Returns the Title for the PortfolioItem. |
java.lang.String |
getType()
Returns the type for the PortfolioItem. |
void |
setAvailableInd(boolean val)
Set availability flag for the PortfolioItem. |
void |
setFileEntryPath(java.lang.String path)
Sets the file path for item for the PortfolioItem |
void |
setHref(java.lang.String str)
Set the URL for the PortfolioItem. |
void |
setHtml(java.lang.String str)
Set the HTML content for the PortfolioItem. |
void |
setPortfolioId(blackboard.persist.Id id)
Sets the Id for the PortfolioItem. |
void |
setPosition(int val)
Sets the position for the PortfolioItem. |
void |
setTitle(java.lang.String str)
Sets the Title for the PortfolioItem. |
void |
setType(java.lang.String str)
Sets the type for the PortfolioItem. |
| Methods inherited from class blackboard.data.BbObject |
clone, getBbAttributes, getCreatedDate, getId, getModifiedDate, persist, setCreatedDate, setId, setModifiedDate, toString, validate |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final blackboard.persist.DataType DATA_TYPE
| Constructor Detail |
public PortfolioItem()
PortfolioItem with default property values.
| Method Detail |
public boolean getAvailableInd()
PortfolioItem. If the flag is true, the PortfolioItem is available in the Portfolio/code>.
- Returns:
- a boolean representing whether the
PortfolioItem is available.
public void setAvailableInd(boolean val)
PortfolioItem. If the flag is true, the PortfolioItem is available in the Portfolio/code>.
- Parameters:
val - true if this PortfolioItem is available, false otherwise.
public java.lang.String getFileEntryPath()
PortfolioItem
String representing the file path for the PortfolioItem.public void setFileEntryPath(java.lang.String path)
PortfolioItem
path - a String representing the file path for the PortfolioItem.public java.lang.String getHref()
PortfolioItem. Currently used for type='url'
String representing the URL for the PortfolioItem.public void setHref(java.lang.String str)
PortfolioItem. Currently used for type='url'
str - a String representing the URL for the PortfolioItem.public java.lang.String getHtml()
PortfolioItem. Currently used for type='page'.
String representing the HTML content for the PortfolioItem.public void setHtml(java.lang.String str)
PortfolioItem. Currently used for type='page'.
str - a String representing the HTML content for the PortfolioItem.public blackboard.persist.Id getPortfolioId()
PortfolioItem.
Id representing the Id for the PortfolioItem.public void setPortfolioId(blackboard.persist.Id id)
PortfolioItem.
id - an Id representing the Id for the PortfolioItem.public int getPosition()
PortfolioItem. The position represents the PortfolioItem location in the navigation links.
PortfolioItem in the Portfolio.public void setPosition(int val)
PortfolioItem. The position represents the PortfolioItem location in the navigation links.
val - an integer representing the position for the PortfolioItem in the Portfolio.public java.lang.String getTitle()
PortfolioItem.
String representing the Title for the PortfolioItem.public void setTitle(java.lang.String str)
PortfolioItem.
str - a String representing the Title for the PortfolioItem.public java.lang.String getType()
PortfolioItem. Types can be 'item','url', or 'entry'.
String representing the type for the PortfolioItem.public void setType(java.lang.String str)
PortfolioItem. Types should be 'item','url', or 'entry'.
str - a String representing the type for the PortfolioItem.public blackboard.persist.DataType getDataType()
DataType identifier for this object. Can be used to
uniquely identify the "type" of this data object.
DataType for this object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||