Package com.uc4.api
Class SearchResultItem
java.lang.Object
com.uc4.api.SearchResultItem
- All Implemented Interfaces:
- ITransportable
This class represents an item from the search result.
- 
Constructor SummaryConstructorsConstructorDescriptionSearchResultItem(ConnectionAttributes session, Element row) Constructs aSearchResultItemusing the specified XML element.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the internal usage id.Returns the folder in which this object can be found.getIcon()Returns the name of the platform icon if the object type is JOBS.getId()Returns the date and time of the last modification.getName()Returns the name of the object.getOpen()Returns the name of the user who has opened the object.getTitle()Returns the title of the object.getType()Deprecated.getUse()Returns aStringcontaining information where the object is used.booleanisLink()booleanReturnstrueif this was a search for use and this match can be replaced.
- 
Constructor Details- 
SearchResultItemConstructs aSearchResultItemusing the specified XML element.- Parameters:
- session- Session time zone
- row- Element
 
 
- 
- 
Method Details- 
getIconReturns the name of the platform icon if the object type is JOBS. For other object types (JOBP, VARA, ...) only the object type is returned because there is currently no icon in the User Interface. For Jobs the return value is the same asUC4Object.getType()- Returns:
- Name of the platform icon; possible return values are: JOBS_WINDOWS, JOBS_CIT, JOBP, FILTER, CONN
 
- 
isLinkpublic boolean isLink()- Returns:
- True if the object is only a link
 
- 
getAttributeIDReturns the internal usage id.- Returns:
- ID
 
- 
isReplaceablepublic boolean isReplaceable()Returnstrueif this was a search for use and this match can be replaced.- Returns:
- true if replace is possible
 
- 
getFolderReturns the folder in which this object can be found.- Returns:
- Folder of the object
 
- 
getModifiedReturns the date and time of the last modification.- Returns:
- Date and time of the last modification
 
- 
getNameReturns the name of the object.- Specified by:
- getNamein interface- ITransportable
- Returns:
- Name of the object
 
- 
getOpenReturns the name of the user who has opened the object.- Returns:
- Name of the user who has opened the object
 
- 
getTitleReturns the title of the object.- Returns:
- Title of the object
 
- 
getTypeDeprecated.UsegetObjectTypeinstead- Returns:
- Type of the object
 
- 
getUseReturns aStringcontaining information where the object is used.- Returns:
- Information where the object is used
 
- 
getId- Specified by:
- getIdin interface- ITransportable
- Returns:
- ID of the object
 
- 
getObjectType- Specified by:
- getObjectTypein interface- ITransportable
- Returns:
- Object type
 
- 
getFolderID- Specified by:
- getFolderIDin interface- ITransportable
- Returns:
- ID of the folder
 
 
- 
getObjectTypeinstead