|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
BIPlatform as a replacement.
public interface SimpleSearch
SimpleSearch is a child of the SearchPattern interface. A SearchPattern object is
passed to the BICatalog.search method to enable the current user to
search through the list of BICatalogObjects retrieved by the BICatalog.
Using SimpleSearch a user can search on the creation date, name, author and ObjectType of the
BICatalogObjects stored on a Business Objects server.
Example: Search for BICatalogObjects authored by user Administrator
String searchString = "Report";
com.businessobjects.dsws.bicatalog.SimpleSearch mySearch = com.businessobjects.dsws.bicatalog.SimpleSearch.Factory.newInstance();
mySearch.setInName(searchString);
mySearch.setObjectType("Folder");
out.println("firstDocInSearchResults");
BICatalogObject[] searchResults = boCatalog.search(mySearch, sortArr, null, null, InstanceRetrievalType.ALL);
if ((searchResults != null) && (searchResults.length > 0))
{
for (int i = 0; i < searchResults.length; i++)
{
out.println(searchResults[i].getUID() + "
");
}
}
else
{
out.println("No documents found.");
}
SearchPattern,
BICatalog,
BICatalog.search(com.businessobjects.dsws.bicatalog.SearchPattern, com.businessobjects.dsws.bicatalog.SortType.Enum[], java.lang.String[], java.lang.String[], com.businessobjects.dsws.bicatalog.InstanceRetrievalType.Enum),
BICatalogObject| Nested Class Summary | |
|---|---|
static class |
SimpleSearch.Factory
Deprecated. As of Business Objects XI Release 3.0. Use BIPlatform as a replacement. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Deprecated. Internal Use Only. |
| Method Summary | |
|---|---|
java.util.Calendar |
getBeginDate()
Deprecated. Set the earliest CreationDate to be searched for in the list of BICatalogObject. |
java.util.Calendar |
getEndDate()
Deprecated. Returns the EndDate element. |
java.lang.String |
getInAuthor()
Deprecated. Returns the InAuthor attribute. |
java.lang.String |
getInName()
Deprecated. Returns the InName attribute. |
java.lang.String |
getObjectType()
Deprecated. Returns the ObjectType attribute. |
boolean |
isNilBeginDate()
Deprecated. Checks if BeginDate is Nil. |
boolean |
isNilEndDate()
Deprecated. Checks if the EndDate element is Nil. |
boolean |
isSetBeginDate()
Deprecated. Checks if the BeginDate element has been set. |
boolean |
isSetEndDate()
Deprecated. Checks if the EndDate element is set. |
boolean |
isSetInAuthor()
Deprecated. Checks if the InAuthor attribute has been set. |
boolean |
isSetInName()
Deprecated. Checks if the InName attribute is set. |
boolean |
isSetObjectType()
Deprecated. Checks if the ObjectType attribute is set. |
void |
setBeginDate(java.util.Calendar beginDate)
Deprecated. Sets the BeginDate element. |
void |
setEndDate(java.util.Calendar endDate)
Deprecated. Set the latest CreationDate to be searched for in the list of BICatalogObject. |
void |
setInAuthor(java.lang.String inAuthor)
Deprecated. Set the string being searched for in the author attribute of all BICatalogObjects. |
void |
setInName(java.lang.String inName)
Deprecated. Set the string being searched for in the name attribute of all BICatalogObjects. |
void |
setNilBeginDate()
Deprecated. Nils the BeginDate element. |
void |
setNilEndDate()
Deprecated. Nils the EndDate element. |
void |
setObjectType(java.lang.String objectType)
Deprecated. Set the string being searched for in the objectType attribute of all BICatalogObjects. |
void |
unsetBeginDate()
Deprecated. Deletes or unsets the BeginDate element. |
void |
unsetEndDate()
Deprecated. Deletes or unsets the EndDate element. |
void |
unsetInAuthor()
Deprecated. Deletes or unsets the InAuthor attribute. |
void |
unsetInName()
Deprecated. Deletes or unsets the InName attribute |
void |
unsetObjectType()
Deprecated. Deletes or unsets the ObjectType attribute. |
org.apache.xmlbeans.XmlDateTime |
xgetBeginDate()
Deprecated. Internal Use Only. |
org.apache.xmlbeans.XmlDateTime |
xgetEndDate()
Deprecated. Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetInAuthor()
Deprecated. Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetInName()
Deprecated. Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetObjectType()
Deprecated. Internal Use Only. |
void |
xsetBeginDate(org.apache.xmlbeans.XmlDateTime beginDate)
Deprecated. Internal Use Only. |
void |
xsetEndDate(org.apache.xmlbeans.XmlDateTime endDate)
Deprecated. Internal Use Only. |
void |
xsetInAuthor(org.apache.xmlbeans.XmlString inAuthor)
Deprecated. Internal Use Only. |
void |
xsetInName(org.apache.xmlbeans.XmlString inName)
Deprecated. Internal Use Only. |
void |
xsetObjectType(org.apache.xmlbeans.XmlString objectType)
Deprecated. Internal Use Only. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
| Method Detail |
|---|
java.util.Calendar getBeginDate()
beginDate - a Calendar object containing the start date to search on.BICatalogObject.getCreationDate(),
BICatalogObject.setCreationDate(java.util.Calendar)org.apache.xmlbeans.XmlDateTime xgetBeginDate()
boolean isNilBeginDate()
true if the BeginDate element is nil,otherwise false.boolean isSetBeginDate()
true if the BeginDate element has been set,otherwise false.void setBeginDate(java.util.Calendar beginDate)
beginDate - a Calendar object containing the first date to search for.void xsetBeginDate(org.apache.xmlbeans.XmlDateTime beginDate)
void setNilBeginDate()
void unsetBeginDate()
java.util.Calendar getEndDate()
org.apache.xmlbeans.XmlDateTime xgetEndDate()
boolean isNilEndDate()
true if the EndDate element is nil,otherwise false.boolean isSetEndDate()
true if the EndDate element has been set,otherwise false.void setEndDate(java.util.Calendar endDate)
endDate - a Calendar object containing the latest date to search for.BICatalogObject.getCreationDate(),
BICatalogObject.setCreationDate(java.util.Calendar)void xsetEndDate(org.apache.xmlbeans.XmlDateTime endDate)
void setNilEndDate()
void unsetEndDate()
java.lang.String getInName()
String containing the InName.org.apache.xmlbeans.XmlString xgetInName()
boolean isSetInName()
true if the InName element has been set,otherwise false.void setInName(java.lang.String inName)
inName - a search string.BICatalogObject.getName(),
BICatalogObject.setName(java.lang.String)void xsetInName(org.apache.xmlbeans.XmlString inName)
void unsetInName()
java.lang.String getInAuthor()
String InAuthor.org.apache.xmlbeans.XmlString xgetInAuthor()
boolean isSetInAuthor()
true if the InAuthor element has been set,otherwise false.void setInAuthor(java.lang.String inAuthor)
inAuthor - a search string.BICatalogObject.getAuthor(),
BICatalogObject.setAuthor(java.lang.String)void xsetInAuthor(org.apache.xmlbeans.XmlString inAuthor)
void unsetInAuthor()
java.lang.String getObjectType()
org.apache.xmlbeans.XmlString xgetObjectType()
boolean isSetObjectType()
true if the ObjectType element has been set,otherwise false.void setObjectType(java.lang.String objectType)
here for
a list of possible ObjectTypes.
objectType - a search string.BICatalogObject.getObjectType(),
BICatalogObject.setObjectType(java.lang.String)void xsetObjectType(org.apache.xmlbeans.XmlString objectType)
void unsetObjectType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||