|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectblackboard.ws.content.ContentFilter
public class ContentFilter
The ContentFilter class provides search criteria to retrieve Content in the Content WS.
| Constructor Summary | |
|---|---|
ContentFilter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getContentId()
|
java.lang.String[] |
getExpansionData()
|
int |
getFilterType()
|
long |
getModifiedSinceDate()
|
java.lang.String |
getTocId()
|
java.lang.String |
getUserId()
|
void |
setContentId(java.lang.String contentId)
set content id as search criteria. |
void |
setExpansionData(java.lang.String[] expansionData)
Expansion data is currently ignored. |
void |
setFilterType(int filterType)
Specifies search criteria to load content items filterType : name : attributes to set 1 : GET_BY_CONTENTID : contentId 2 : GET_IMMEDIATE_CHILDREN_BY_CONTENTID : contentId 3 : GET_CHILDREN_BY_CONTENTID : contentId 4 : GET_ANCESTOR_BY_CONTENTID : contentId 5 : GET_ROOT_ENTRIES : (none) 6 : GET_REVIEWABLE_ENTRIES : (none) 7 : GET_ROOT_ENTRIES_BY_USERID : userId 8 : GET_MODIFIEDSINCE_BY_USERID : userId, modifiedSinceDate 9 : GET_CHILDREN_BY_CONTENTID_AND_USERID : contentId, userId 10 : GET_BY_TOCID : tocId NOTE: Results for some of the filters will not return fully populated ContentVO objects. |
void |
setModifiedSinceDate(long modifiedSinceDate)
set content modified since date as search criteria |
void |
setTocId(java.lang.String tocId)
set course toc id as search criteria |
void |
setUserId(java.lang.String userId)
set user id as search criteria |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentFilter()
| Method Detail |
|---|
public java.lang.String getContentId()
public void setContentId(java.lang.String contentId)
contentId - the contentIds to setpublic java.lang.String getUserId()
public void setUserId(java.lang.String userId)
userId - the userId to setpublic java.lang.String getTocId()
public void setTocId(java.lang.String tocId)
tocId - the tocId to setpublic long getModifiedSinceDate()
public void setModifiedSinceDate(long modifiedSinceDate)
modifiedSinceDate - the modifiedSinceDate to setpublic int getFilterType()
public void setFilterType(int filterType)
filterType : name : attributes to set 1 : GET_BY_CONTENTID : contentId 2 : GET_IMMEDIATE_CHILDREN_BY_CONTENTID : contentId 3 : GET_CHILDREN_BY_CONTENTID : contentId 4 : GET_ANCESTOR_BY_CONTENTID : contentId 5 : GET_ROOT_ENTRIES : (none) 6 : GET_REVIEWABLE_ENTRIES : (none) 7 : GET_ROOT_ENTRIES_BY_USERID : userId 8 : GET_MODIFIEDSINCE_BY_USERID : userId, modifiedSinceDate 9 : GET_CHILDREN_BY_CONTENTID_AND_USERID : contentId, userId 10 : GET_BY_TOCID : tocId NOTE: Results for some of the filters will not return fully populated ContentVO objects. Filter 6 (reviewable entries) will not include the body field Filter 7 (root entries by userid) will only return these fields: id, title, position, parent_id, reviewable, sequential, content-handler Filter 8 (modified-since-by-userid) will only return these fields: id, title, position, content handler, parent_id
public java.lang.String[] getExpansionData()
public void setExpansionData(java.lang.String[] expansionData)
expansionData - the expansionData to set (For Future Use)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||