Package com.uc4.communication.requests
Class SearchObject
java.lang.Object
com.uc4.communication.requests.XMLRequest
com.uc4.communication.requests.SearchObject
Finds UC4 Objects.
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidcreateRequest(com.uc4.util.XMLDocument doc, Element request, ConnectionAttributes sessionInfo) Creates the XML Document for the request.voidDisable text search.Returns the begin of the date range.getName()Returns the object name filter.Returns the folder path which used in the search.protected StringgetSrc()Returns the request source.Returns the end of the date range.protected voidhandleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session) Sub classes extract the values from the XML document and provide public getter methods.protected booleanprotected booleanThis method is used internally.booleanReturnstrueif the creation date of objects is used in the selection for this search.booleanReturnstrueif the modification timestamp of objects is used in the selection for this search.booleanReturnstrueif the last used timestamp of objects is used in the selection for this search.booleanReturnstrueif links to objects are included in the result.booleanReturnstrueif subfolder are included.booleanReturnstrueif the date selection is disabled.booleanReturnstrueif the use of objects is selected.booleanReturns whether the object type CALE is enabled for the search or not.booleanReturns whether the object type CALL is enabled for the search or not.booleanReturns whether the object type CITC is enabled for the search or not.booleanReturns whether the object type CLNT is enabled for the search or not.booleanReturns whether the object type CODE is enabled for the search or not.booleanReturns whether the object type CONN is enabled for the search or not.booleanReturns whether the object type CPIT is enabled for the search or not.booleanReturns whether the object type DASH is enabled for the search or not.booleanReturns whether the object type DOCU is enabled for the search or not.booleanReturns whether the object type EVNT is enabled for the search or not.booleanReturns whether the object type FILTER is enabled for the search or not.booleanReturns whether the object type FOLD is enabled for the search or not.booleanReturns whether the object type HOST is enabled for the search or not.booleanReturns whether the object type HOSTG is enabled for the search or not.booleanReturns whether the object type HSTA is enabled for the search or not.booleanReturns whether the object type JOBF is enabled for the search or not.booleanReturns whether the object type JOBG is enabled for the search or not.booleanReturns whether the object type JOBI is enabled for the search or not.booleanReturns whether the object type JOBP is enabled for the search or not.booleanReturns whether the object type JOBQ is enabled for the search or not.booleanReturns whether the object type JOBS is enabled for the search or not.booleanReturns whether the object type JSCH is enabled for the search or not.booleanReturns whether the object type LOGIN is enabled for the search or not.booleanReturns whether the object type STORE is enabled for the search or not.booleanReturns whether the object type PRPT is enabled for the search or not.booleanReturns whether the object type QUEUE is enabled for the search or not.booleanReturns whether the object type SCRI is enabled for the search or not.booleanReturns whether the object type SERV is enabled for the search or not.booleanReturns whether the object type SLO is enabled for the search or not.booleanReturns whether the object type STORE is enabled for the search or not.booleanReturns whether the object type SYNC is enabled for the search or not.booleanisTypeTZ()Returns whether the object type TZ is enabled for the search or not.booleanReturns whether the object type USER is enabled for the search or not.booleanReturns whether the object type USER is enabled for the search or not.booleanReturns whether the object type VARA is enabled for the search or not.booleanReturns whether the object type XSL is enabled for the search or not.Returns an iterator overSearchResultItem.voidsearchCalendarKeyword(String keywordPattern) Sets a filter to return only CALE objects which contain the specifiedkeywordPatternThe default value is *.voidsearchInRAValues(String pattern) Search for RA values.voidSelect all object types.voidsetDateSelectionCreated(DateTime from, DateTime to) Select objects which are created within the specified date range.voidsetDateSelectionModified(DateTime from, DateTime to) Select objects which are modified within the specified date range.voidsetDateSelectionUsed(DateTime from, DateTime to) Select objects which are used within the specified date range.voidsetIncludeLinks(boolean includeLinks) If the parameterincludeLinksis set totruelinks to objects are included in the result.voidsetIncludeUseInScripts(boolean scripts) Enables or disables the content of Scripts in the search.voidSets the object name filter.voidsetNameAndTitle(String name) Sets the search pattern for the object name and/or the object title.voidDisables date selection.voidsetSearchInVariable(String pattern, boolean key, boolean value, boolean allValueColumns, SearchObject.VariableDataType dataType) Searches in UC4 Variable Objects.voidsetSearchLocation(String path, boolean includeSubfolder) Sets the folder path.voidsetSearchUseOfObjects(boolean searchUseOfObjects) Enables or disables the search for use of objects.voidsetTextSearch(String pattern, boolean process, boolean documentation, boolean objectTitle, boolean archiveKeys) Search for texts.voidsetTypeCALE(boolean typeCALE) Enables or disables the object type CALE.voidsetTypeCALL(boolean typeCALL) Enables or disables the object type CALL.voidsetTypeCITC(boolean typeCITC) Enables or disables the object type CITC.voidsetTypeCLNT(boolean typeCLNT) Enables or disables the object type CLNT.voidsetTypeCODE(boolean typeCODE) Enables or disables the object type CODE.voidsetTypeCONN(boolean typeCONN) Enables or disables the object type CONN.voidsetTypeCPIT(boolean typeCPIT) Enables or disables the object type CPIT.voidsetTypeDASH(boolean typeDASH) Enables or disables the object type DASH.voidsetTypeDOCU(boolean typeDOCU) Enables or disables the object type DOCU.voidsetTypeEVNT(boolean typeEVNT) Enables or disables the object type EVNT.voidSelects all executable object types.voidsetTypeFILTER(boolean typeFILTER) Enables or disables the object type FILTER.voidsetTypeFOLD(boolean typeFOLD) Enables or disables the object type FOLD.voidsetTypeHOST(boolean typeHOST) Enables or disables the object type HOST.voidsetTypeHOSTG(boolean typeHOSTG) Enables or disables the object type HOSTG.voidsetTypeHSTA(boolean typeHSTA) Enables or disables the object type HSTA.voidsetTypeJOBF(boolean typeJOBF) Enables or disables the object type JOBF.voidsetTypeJOBG(boolean typeJOBG) Enables or disables the object type JOBG.voidsetTypeJOBI(boolean typeJOBI) Enables or disables the object type JOBI.voidsetTypeJOBP(boolean typeJOBP) Enables or disables the object type JOBP.voidsetTypeJOBQ(boolean typeJOBQ) Enables or disables the object type JOBQ.voidsetTypeJOBS(boolean typeJOBS) Enables or disables the object type JOBS.voidsetTypeJSCH(boolean typeJSCH) Enables or disables the object type JSCH.voidsetTypeLOGIN(boolean typeLOGIN) Enables or disables the object type LOGIN.voidsetTypePERIOD(boolean typePERIOD) Enables or disables the object type PERIOD.voidsetTypePRPT(boolean typePRPT) Enables or disables the object type PRPT.voidsetTypeQUEUE(boolean typeQUEUE) Enables or disables the object type QUEUE.voidsetTypeSCRI(boolean typeSCRI) Enables or disables the object type SCRI.voidsetTypeSERV(boolean typeSERV) Enables or disables the object type SERV.voidsetTypeSLO(boolean typeSLO) Enables or disables the object type SLO.voidsetTypeSTORE(boolean typeSTORE) Enables or disables the object type STORE.voidsetTypeSYNC(boolean typeSYNC) Enables or disables the object type SYNC.voidsetTypeTZ(boolean typeTZ) Enables or disables the object type TZ.voidsetTypeUSER(boolean typeUSER) Enables or disables the object type USER.voidsetTypeUSRG(boolean typeUSRG) Enables or disables the object type USERG.voidsetTypeVARA(boolean typeVARA) Enables or disables the object type VARA.voidsetTypeXSL(boolean typeXSL) Enables or disables the object type XSL.intsize()Returns the number of objects in the search result.voidUnselect all object types.Methods inherited from class com.uc4.communication.requests.XMLRequestassertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send, setMessageBox, showQuarantineNotification
- 
Constructor Details- 
SearchObjectpublic SearchObject()Constructs aSearch. The default search path is / and the search definition is set to * (all Objects). Version control is not include and no object type is selected.
 
- 
- 
Method Details- 
getSrcDescription copied from class:XMLRequestReturns the request source. This method is used internally.- Specified by:
- getSrcin class- XMLRequest
- Returns:
- Source
 
- 
createRequestprotected void createRequest(com.uc4.util.XMLDocument doc, Element request, ConnectionAttributes sessionInfo) Description copied from class:XMLRequestCreates the XML Document for the request. This method is used internally.- Specified by:
- createRequestin class- XMLRequest
- Parameters:
- doc- Document, used to create new Elements
- request- Request Element - classes append information to this request element
- sessionInfo- Information about the session
 
- 
handleContentDescription copied from class:XMLRequestSub classes extract the values from the XML document and provide public getter methods.- Overrides:
- handleContentin class- XMLRequest
- Parameters:
- doc- XML Document
- session- Info about the user session
 
- 
ignoreMessageBoxprotected boolean ignoreMessageBox()- Overrides:
- ignoreMessageBoxin class- XMLRequest
 
- 
setTypeExecuteablepublic void setTypeExecuteable()Selects all executable object types.
- 
resultIteratorReturns an iterator overSearchResultItem.- Returns:
- iterator over SearchResultItemornullif this request does not contain a search result
 
- 
isSearchUseOfObjectspublic boolean isSearchUseOfObjects()Returnstrueif the use of objects is selected.- Returns:
- Boolean containing trueif the use of objects is selected
 
- 
setSearchUseOfObjectspublic void setSearchUseOfObjects(boolean searchUseOfObjects) Enables or disables the search for use of objects.- Parameters:
- searchUseOfObjects- Boolean containing- trueif the use of objects is selected
 
- 
isIncludeLinkspublic boolean isIncludeLinks()Returnstrueif links to objects are included in the result.- Returns:
- Include links to objects
 
- 
setIncludeLinkspublic void setIncludeLinks(boolean includeLinks) If the parameterincludeLinksis set totruelinks to objects are included in the result.- Parameters:
- includeLinks- true to include links in the search result
 
- 
setIncludeUseInScriptspublic void setIncludeUseInScripts(boolean scripts) Enables or disables the content of Scripts in the search.- Parameters:
- scripts- Boolean containing- trueif Scripts are included
 
- 
getSearchLocationReturns the folder path which used in the search.- Returns:
- path
 
- 
setSearchLocationSets the folder path. Only UC4 Objects in the specified folder or subfolders are found.- Parameters:
- path- Path
- includeSubfolder- Include subfolder
 
- 
isIncludeSubfolderpublic boolean isIncludeSubfolder()Returnstrueif subfolder are included.- Returns:
- Boolean containing trueif subfolders are included
 
- 
getNameReturns the object name filter.- Returns:
- Pattern containing the object name
 
- 
setNameAndTitleSets the search pattern for the object name and/or the object title. By default this method adds the wildcard character '*' as prefix to the given search pattern.- Parameters:
- name- Pattern containing the object name or title
 
- 
setNameSets the object name filter.- Parameters:
- name- Pattern containing the object name
 
- 
isTypeCALEpublic boolean isTypeCALE()Returns whether the object type CALE is enabled for the search or not.- Returns:
- Boolean containing trueif the object type CALE is enabled
 
- 
setTypeCALEpublic void setTypeCALE(boolean typeCALE) Enables or disables the object type CALE.- Parameters:
- typeCALE- Boolean which is set to- trueif objects of type CALE should be returned.
 
- 
isTypeCITCpublic boolean isTypeCITC()Returns whether the object type CITC is enabled for the search or not.- Returns:
- Boolean containing trueif the object type CITC is enabled
 
- 
setTypeCITCpublic void setTypeCITC(boolean typeCITC) Enables or disables the object type CITC.- Parameters:
- typeCITC- Boolean which is set to- trueif objects of type CITC should be returned.
 
- 
isTypeCONNpublic boolean isTypeCONN()Returns whether the object type CONN is enabled for the search or not.- Returns:
- Boolean containing trueif the object type CONN is enabled
 
- 
setTypeCONNpublic void setTypeCONN(boolean typeCONN) Enables or disables the object type CONN.- Parameters:
- typeCONN- Boolean which is set to- trueif objects of type CONN should be returned.
 
- 
isTypeFILTERpublic boolean isTypeFILTER()Returns whether the object type FILTER is enabled for the search or not.- Returns:
- Boolean containing trueif the object type FILTER is enabled
 
- 
isTypeQUEUEpublic boolean isTypeQUEUE()Returns whether the object type QUEUE is enabled for the search or not.- Returns:
- Boolean containing trueif the object type QUEUE is enabled
 
- 
setTypeQUEUEpublic void setTypeQUEUE(boolean typeQUEUE) Enables or disables the object type QUEUE.- Parameters:
- typeQUEUE- Boolean which is set to- trueif objects of type QUEUE should be returned.
 
- 
setTypeFILTERpublic void setTypeFILTER(boolean typeFILTER) Enables or disables the object type FILTER.- Parameters:
- typeFILTER- Boolean which is set to- trueif objects of type FILTER should be returned.
 
- 
isTypeHSTApublic boolean isTypeHSTA()Returns whether the object type HSTA is enabled for the search or not.- Returns:
- Boolean containing trueif the object type HSTA is enabled
 
- 
setTypeHSTApublic void setTypeHSTA(boolean typeHSTA) Enables or disables the object type HSTA.- Parameters:
- typeHSTA- Boolean which is set to- trueif objects of type HSTA should be returned.
 
- 
isTypeXSLpublic boolean isTypeXSL()Returns whether the object type XSL is enabled for the search or not.- Returns:
- Boolean containing trueif the object type XSL is enabled
 
- 
setTypeXSLpublic void setTypeXSL(boolean typeXSL) Enables or disables the object type XSL.- Parameters:
- typeXSL- Boolean which is set to- trueif objects of type XSL should be returned.
 
- 
isTypeCALLpublic boolean isTypeCALL()Returns whether the object type CALL is enabled for the search or not.- Returns:
- Boolean containing trueif the object type CALL is enabled
 
- 
setTypeCALLpublic void setTypeCALL(boolean typeCALL) Enables or disables the object type CALL.- Parameters:
- typeCALL- Boolean which is set to- trueif objects of type CALL should be returned.
 
- 
isTypeCLNTpublic boolean isTypeCLNT()Returns whether the object type CLNT is enabled for the search or not.- Returns:
- Boolean containing trueif the object type CLNT is enabled
 
- 
setTypeCLNTpublic void setTypeCLNT(boolean typeCLNT) Enables or disables the object type CLNT.- Parameters:
- typeCLNT- Boolean which is set to- trueif objects of type CLNT should be returned.
 
- 
isTypeCODEpublic boolean isTypeCODE()Returns whether the object type CODE is enabled for the search or not.- Returns:
- Boolean containing trueif the object type CODE is enabled
 
- 
setTypeCODEpublic void setTypeCODE(boolean typeCODE) Enables or disables the object type CODE.- Parameters:
- typeCODE- Boolean which is set to- trueif objects of type CODE should be returned.
 
- 
isTypeCPITpublic boolean isTypeCPIT()Returns whether the object type CPIT is enabled for the search or not.- Returns:
- Boolean containing trueif the object type CPIT is enabled
 
- 
setTypeCPITpublic void setTypeCPIT(boolean typeCPIT) Enables or disables the object type CPIT.- Parameters:
- typeCPIT- Boolean which is set to- trueif objects of type CPIT should be returned.
 
- 
isTypeDOCUpublic boolean isTypeDOCU()Returns whether the object type DOCU is enabled for the search or not.- Returns:
- Boolean containing trueif the object type DOCU is enabled
 
- 
setTypeDOCUpublic void setTypeDOCU(boolean typeDOCU) Enables or disables the object type DOCU.- Parameters:
- typeDOCU- Boolean which is set to- trueif objects of type DOCU should be returned.
 
- 
isTypeEVNTpublic boolean isTypeEVNT()Returns whether the object type EVNT is enabled for the search or not.- Returns:
- Boolean containing trueif the object type EVNT is enabled
 
- 
setTypeEVNTpublic void setTypeEVNT(boolean typeEVNT) Enables or disables the object type EVNT.- Parameters:
- typeEVNT- Boolean which is set to- trueif objects of type EVNT should be returned.
 
- 
isTypeFOLDpublic boolean isTypeFOLD()Returns whether the object type FOLD is enabled for the search or not.- Returns:
- Boolean containing trueif the object type FOLD is enabled
 
- 
setTypeFOLDpublic void setTypeFOLD(boolean typeFOLD) Enables or disables the object type FOLD.- Parameters:
- typeFOLD- Boolean which is set to- trueif objects of type FOLD should be returned.
 
- 
isTypeHOSTpublic boolean isTypeHOST()Returns whether the object type HOST is enabled for the search or not.- Returns:
- Boolean containing trueif the object type HOST is enabled
 
- 
setTypeHOSTpublic void setTypeHOST(boolean typeHOST) Enables or disables the object type HOST.- Parameters:
- typeHOST- Boolean which is set to- trueif objects of type HOST should be returned.
 
- 
isTypeJOBFpublic boolean isTypeJOBF()Returns whether the object type JOBF is enabled for the search or not.- Returns:
- Boolean containing trueif the object type JOBF is enabled
 
- 
setTypeJOBFpublic void setTypeJOBF(boolean typeJOBF) Enables or disables the object type JOBF.- Parameters:
- typeJOBF- Boolean which is set to- trueif objects of type JOBF should be returned.
 
- 
isTypeJOBGpublic boolean isTypeJOBG()Returns whether the object type JOBG is enabled for the search or not.- Returns:
- Boolean containing trueif the object type JOBG is enabled
 
- 
setTypeJOBGpublic void setTypeJOBG(boolean typeJOBG) Enables or disables the object type JOBG.- Parameters:
- typeJOBG- Boolean which is set to- trueif objects of type JOBG should be returned.
 
- 
isTypeJOBIpublic boolean isTypeJOBI()Returns whether the object type JOBI is enabled for the search or not.- Returns:
- Boolean containing trueif the object type JOBI is enabled
 
- 
isTypeHOSTGpublic boolean isTypeHOSTG()Returns whether the object type HOSTG is enabled for the search or not.- Returns:
- Boolean containing trueif the object type HOSTG is enabled
 
- 
setTypeHOSTGpublic void setTypeHOSTG(boolean typeHOSTG) Enables or disables the object type HOSTG.- Parameters:
- typeHOSTG- Boolean which is set to- trueif objects of type HOSTG should be returned.
 
- 
setTypeJOBIpublic void setTypeJOBI(boolean typeJOBI) Enables or disables the object type JOBI.- Parameters:
- typeJOBI- Boolean which is set to- trueif objects of type JOBI should be returned.
 
- 
isTypeJOBPpublic boolean isTypeJOBP()Returns whether the object type JOBP is enabled for the search or not.- Returns:
- Boolean containing trueif the object type JOBP is enabled
 
- 
setTypeJOBPpublic void setTypeJOBP(boolean typeJOBP) Enables or disables the object type JOBP.- Parameters:
- typeJOBP- Boolean which is set to- trueif objects of type JOBP should be returned.
 
- 
isTypeJOBSpublic boolean isTypeJOBS()Returns whether the object type JOBS is enabled for the search or not.- Returns:
- Boolean containing trueif the object type JOBS is enabled
 
- 
setTypeJOBSpublic void setTypeJOBS(boolean typeJOBS) Enables or disables the object type JOBS.- Parameters:
- typeJOBS- Boolean which is set to- trueif objects of type JOBS should be returned.
 
- 
isTypeJSCHpublic boolean isTypeJSCH()Returns whether the object type JSCH is enabled for the search or not.- Returns:
- Boolean containing trueif the object type JSCH is enabled
 
- 
setTypeJSCHpublic void setTypeJSCH(boolean typeJSCH) Enables or disables the object type JSCH.- Parameters:
- typeJSCH- Boolean which is set to- trueif objects of type JSCH should be returned.
 
- 
isTypeLOGINpublic boolean isTypeLOGIN()Returns whether the object type LOGIN is enabled for the search or not.- Returns:
- Boolean containing trueif the object type LOGIN is enabled
 
- 
setTypeLOGINpublic void setTypeLOGIN(boolean typeLOGIN) Enables or disables the object type LOGIN.- Parameters:
- typeLOGIN- Boolean which is set to- trueif objects of type LOGIN should be returned.
 
- 
isTypeSCRIpublic boolean isTypeSCRI()Returns whether the object type SCRI is enabled for the search or not.- Returns:
- Boolean containing trueif the object type SCRI is enabled
 
- 
setTypeSCRIpublic void setTypeSCRI(boolean typeSCRI) Enables or disables the object type SCRI.- Parameters:
- typeSCRI- Boolean which is set to- trueif objects of type SCRI should be returned.
 
- 
isTypeSERVpublic boolean isTypeSERV()Returns whether the object type SERV is enabled for the search or not.- Returns:
- Boolean containing trueif the object type SERV is enabled
 
- 
setTypeSERVpublic void setTypeSERV(boolean typeSERV) Enables or disables the object type SERV.- Parameters:
- typeSERV- Boolean which is set to- trueif objects of type SERV should be returned.
 
- 
isTypeSYNCpublic boolean isTypeSYNC()Returns whether the object type SYNC is enabled for the search or not.- Returns:
- Boolean containing trueif the object type SYNC is enabled
 
- 
setTypeSYNCpublic void setTypeSYNC(boolean typeSYNC) Enables or disables the object type SYNC.- Parameters:
- typeSYNC- Boolean which is set to- trueif objects of type SYNC should be returned.
 
- 
isTypeTZpublic boolean isTypeTZ()Returns whether the object type TZ is enabled for the search or not.- Returns:
- Boolean containing trueif the object type TZ is enabled
 
- 
setTypeTZpublic void setTypeTZ(boolean typeTZ) Enables or disables the object type TZ.- Parameters:
- typeTZ- Boolean which is set to- trueif objects of type TZ should be returned.
 
- 
isTypeUSERpublic boolean isTypeUSER()Returns whether the object type USER is enabled for the search or not.- Returns:
- Boolean containing trueif the object type USER is enabled
 
- 
setTypeUSERpublic void setTypeUSER(boolean typeUSER) Enables or disables the object type USER.- Parameters:
- typeUSER- Boolean which is set to- trueif objects of type USER should be returned.
 
- 
isTypePRPTpublic boolean isTypePRPT()Returns whether the object type PRPT is enabled for the search or not.- Returns:
- Boolean containing trueif the object type PRPT is enabled
 
- 
setTypePRPTpublic void setTypePRPT(boolean typePRPT) Enables or disables the object type PRPT.- Parameters:
- typePRPT- Boolean which is set to- trueif objects of type PRPT should be returned.
 
- 
isTypeUSRGpublic boolean isTypeUSRG()Returns whether the object type USER is enabled for the search or not.- Returns:
- Boolean containing trueif the object type USER is enabled
 
- 
setTypeUSRGpublic void setTypeUSRG(boolean typeUSRG) Enables or disables the object type USERG.- Parameters:
- typeUSRG- Boolean which is set to- trueif objects of type USERG should be returned.
 
- 
isTypeVARApublic boolean isTypeVARA()Returns whether the object type VARA is enabled for the search or not.- Returns:
- Boolean containing trueif the object type VARA is enabled
 
- 
setTypeVARApublic void setTypeVARA(boolean typeVARA) Enables or disables the object type VARA.- Parameters:
- typeVARA- Boolean which is set to- trueif objects of type VARA should be returned.
 
- 
isTypeJOBQpublic boolean isTypeJOBQ()Returns whether the object type JOBQ is enabled for the search or not.- Returns:
- Boolean containing trueif the object type JOBQ is enabled
 
- 
setTypeJOBQpublic void setTypeJOBQ(boolean typeJOBQ) Enables or disables the object type JOBQ.- Parameters:
- typeJOBQ- Boolean which is set to- trueif objects of type JOBQ should be returned.
 
- 
isTypeDASHpublic boolean isTypeDASH()Returns whether the object type DASH is enabled for the search or not.- Returns:
- Boolean containing trueif the object type DASH is enabled
 
- 
setTypeSTOREpublic void setTypeSTORE(boolean typeSTORE) Enables or disables the object type STORE.- Parameters:
- typeSTORE- Boolean which is set to- trueif objects of type STORE should be returned.
 
- 
setTypePERIODpublic void setTypePERIOD(boolean typePERIOD) Enables or disables the object type PERIOD.- Parameters:
- typePERIOD- Boolean which is set to- trueif objects of type PERIOD should be returned.
 
- 
isTypeSLOpublic boolean isTypeSLO()Returns whether the object type SLO is enabled for the search or not.- Returns:
- Boolean containing trueif the object type SLO is enabled
 
- 
setTypeSLOpublic void setTypeSLO(boolean typeSLO) Enables or disables the object type SLO.- Parameters:
- typeSLO- Boolean which is set to- trueif objects of type SLO should be returned.
 
- 
isTypeSTOREpublic boolean isTypeSTORE()Returns whether the object type STORE is enabled for the search or not.- Returns:
- Boolean containing trueif the object type STORE is enabled
 
- 
isTypePERIODpublic boolean isTypePERIOD()Returns whether the object type STORE is enabled for the search or not.- Returns:
- Boolean containing trueif the object type STORE is enabled
 
- 
setTypeDASHpublic void setTypeDASH(boolean typeDASH) Enables or disables the object type DASH.- Parameters:
- typeDASH- Boolean which is set to- trueif objects of type DASH should be returned.
 
- 
selectAllObjectTypespublic void selectAllObjectTypes()Select all object types.
- 
unselectAllObjectTypespublic void unselectAllObjectTypes()Unselect all object types.
- 
setNoDateSelectionpublic void setNoDateSelection()Disables date selection.
- 
isNoDateSelectionpublic boolean isNoDateSelection()Returnstrueif the date selection is disabled.- Returns:
- Boolean which is set to trueif date selection is not enabled
 
- 
setDateSelectionCreatedSelect objects which are created within the specified date range.- Parameters:
- from- Begin of the date range
- to- End of the date range
 
- 
isDateSelectionCreatedpublic boolean isDateSelectionCreated()Returnstrueif the creation date of objects is used in the selection for this search.- Returns:
- Boolean indicating whether the creation date is used to find objects
 
- 
setDateSelectionModifiedSelect objects which are modified within the specified date range.- Parameters:
- from- Begin of the date range
- to- End of the date range
 
- 
isDateSelectionModifiedpublic boolean isDateSelectionModified()Returnstrueif the modification timestamp of objects is used in the selection for this search.- Returns:
- Boolean indicating whether the modification timestamp is used to find objects
 
- 
setDateSelectionUsedSelect objects which are used within the specified date range.- Parameters:
- from- Begin of the date range
- to- End of the date range
 
- 
isDateSelectionUsedpublic boolean isDateSelectionUsed()Returnstrueif the last used timestamp of objects is used in the selection for this search.- Returns:
- Boolean indicating whether the last used timestamp is used to find objects
 
- 
getFromDateReturns the begin of the date range.- Returns:
- DateTime containing the begin of the date range
 
- 
getToDateReturns the end of the date range.- Returns:
- DateTime containing the end of the date range
 
- 
searchCalendarKeywordSets a filter to return only CALE objects which contain the specifiedkeywordPatternThe default value is *.- Parameters:
- keywordPattern- String containing a keyword pattern
 
- 
setTextSearchpublic void setTextSearch(String pattern, boolean process, boolean documentation, boolean objectTitle, boolean archiveKeys) Search for texts.- Parameters:
- pattern- text pattern
- process- Include Scripts
- documentation- Include documentation content
- objectTitle- Include object title
- archiveKeys- Include archive keys
 
- 
searchInRAValuesSearch for RA values.- Parameters:
- pattern- Text pattern
 
- 
setSearchInVariablepublic void setSearchInVariable(String pattern, boolean key, boolean value, boolean allValueColumns, SearchObject.VariableDataType dataType) Searches in UC4 Variable Objects.- Parameters:
- pattern- Search pattern
- key- Find pattern in key column?
- value- Find pattern in value column?
- allValueColumns- Find pattern in all value columns
- dataType- Type of a variable
 
- 
disableTextSearchpublic void disableTextSearch()Disable text search.
- 
isAllowedInClientZeroprotected boolean isAllowedInClientZero()Description copied from class:XMLRequestThis method is used internally. Tests if thisXMLRequestis allowed in client 0. The default implementation returnsfalse, subclasses may override.- Overrides:
- isAllowedInClientZeroin class- XMLRequest
- Returns:
- trueif this request is allowed in client 0,- falseotherwise
 
- 
sizepublic int size()Returns the number of objects in the search result.- Returns:
- number of objects in result
 
 
-