|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.information.search.ResultDetails
public class ResultDetails
Used for controlling the amount of information to include on each resulting object when performing a search.
Typical usage is to use one of the pre-defined styles. However, applications can construct a new instance if it's necessary to configure additional information to be returned.
Nested Class Summary | |
---|---|
static class |
ResultDetails.ResultLimit
|
Field Summary | |
---|---|
protected SortOrder[] |
_sortOrder
|
Constructor Summary | |
---|---|
ResultDetails()
Creates a new ResultDetails instance. |
Method Summary | |
---|---|
java.lang.String |
getFolderAttributesForTemplate()
|
static ResultDetails |
getInstance()
Returns the default value for the specific set of details to include for each object retrieved from the server. |
ResultDetails.ResultLimit |
getResultLimit()
Returns the maximum number of objects to include in the results. |
SortOrder[] |
getSortOrder()
Returns the specified SortOrder, or the default order if one has not been set. |
java.lang.String |
getTemplate()
Returns the template to apply when retrieving the objects from the server. |
boolean |
isDatesIncluded()
|
boolean |
isDescriptionIncluded()
|
boolean |
isKeywordsIncluded()
|
boolean |
isResponsiblePartiesIncluded()
|
protected void |
setContentsModified(boolean modified)
|
void |
setDatesIncluded(boolean include)
|
void |
setDescriptionIncluded(boolean include)
|
void |
setKeywordsIncluded(boolean include)
|
void |
setResponsiblePartiesIncluded(boolean include)
|
void |
setResultLimit(ResultDetails.ResultLimit limit)
Sets the maximum number of objects to include in the results. |
void |
setSortOrder(SortOrder[] order)
Sets the SortOrder to apply to the search results. |
Field Detail |
---|
protected SortOrder[] _sortOrder
Constructor Detail |
---|
public ResultDetails()
Method Detail |
---|
public static ResultDetails getInstance()
public void setDescriptionIncluded(boolean include)
public void setDatesIncluded(boolean include)
public void setKeywordsIncluded(boolean include)
public void setResponsiblePartiesIncluded(boolean include)
public boolean isDescriptionIncluded()
public boolean isDatesIncluded()
public boolean isKeywordsIncluded()
public boolean isResponsiblePartiesIncluded()
public java.lang.String getTemplate()
protected void setContentsModified(boolean modified)
public java.lang.String getFolderAttributesForTemplate()
public void setResultLimit(ResultDetails.ResultLimit limit)
limit
- maximum limitpublic ResultDetails.ResultLimit getResultLimit()
public void setSortOrder(SortOrder[] order)
order
- public SortOrder[] getSortOrder()
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |