public class SearchObjectAdmin extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
ATTRIBUTE_TYPE |
protected static String |
CONTEXT_TYPE |
protected AdminManager |
m_Main |
protected Hashtable |
m_SearchClassSpecTable |
protected Hashtable |
m_SearchObjectTable |
protected Hashtable |
m_SearchQualTable |
protected Hashtable |
m_SearchResultTable |
protected Hashtable |
m_SearchSortSpecTable |
protected Hashtable |
m_SearchSpecTable |
protected Hashtable |
m_SearchTable |
protected Hashtable |
m_ViewSpecTable |
Constructor and Description |
---|
SearchObjectAdmin(AdminManager main)
Create a SearchObjectAdmin object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addClassToViewSpec(LibrarySession sess,
ParameterTable params)
Adds class and attribute to a View specification.
|
protected void |
addResultClass(LibrarySession sess,
ParameterTable params)
Adds new result class to an exisiting search class spec.
|
protected void |
addSearchClass(LibrarySession sess,
ParameterTable params)
Adds new search class to an exisiting search class spec.
|
protected void |
addSearchSortQual(LibrarySession sess,
ParameterTable params)
Adds a new Sort Qualifier to the existing Sort Spec.
|
protected void |
createAttributeQual(LibrarySession sess,
ParameterTable params)
Creates a Attribute Qualification.
|
protected void |
createContextQual(LibrarySession sess,
ParameterTable params)
Creates a context Qualification.
|
protected void |
createExistenceQual(LibrarySession sess,
ParameterTable params)
Creates a Existence Qualification.
|
protected void |
createFolderRestrictQual(LibrarySession sess,
ParameterTable params)
Creates a Folder Restrict Qualification.
|
protected void |
createFreeFormQual(LibrarySession sess,
ParameterTable params)
Creates a FreeForm Qualification.
|
protected void |
createJoinQual(LibrarySession sess,
ParameterTable params)
Creates a Join Qualification.
|
protected void |
createPropertyQual(LibrarySession sess,
ParameterTable params)
Creates a Property Qualification.
|
protected void |
createSearch(LibrarySession sess,
ParameterTable params)
Creates a Search.
|
protected void |
createSearchClassSpec(LibrarySession sess,
ParameterTable params)
Create a Search class specification.
|
protected void |
createSearchClause(LibrarySession sess,
ParameterTable params)
Creates a Search Clause.
|
void |
createSearchObject(LibrarySession sess,
ParameterTable params)
Section variant of Create SearchObject
|
void |
createSearchObject(LibrarySession sess,
String idname,
SearchObjectDefinition def)
internal variant of Create SearchObject
|
void |
createSearchObject(LibrarySession sess,
String idname,
SearchObjectDefinition def,
VersionDescriptionDefinition vddef)
internal variant of VERSIONED Create SearchObject
|
protected void |
createSearchSortSpec(LibrarySession sess,
ParameterTable params)
Creates a new search sort specification.
|
protected void |
createSearchSpec(LibrarySession sess,
ParameterTable params)
Create a Search Specification.
|
protected void |
createView(LibrarySession sess,
ParameterTable params)
Create a view.
|
protected void |
createViewSpec(LibrarySession sess,
ParameterTable params)
Create a View Specification.
|
void |
deleteSearchObject(LibrarySession sess,
ParameterTable params)
Section variant of delete SearchObject
|
void |
deleteSearchObject(LibrarySession sess,
String idname)
Inline/internal variant of Delete SearchObject
|
void |
deleteSearchObject(LibrarySession sess,
String idname,
LibraryObjectDefinition def)
Inline/internal variant of Delete SearchObject
|
void |
freeSearchObject(LibrarySession sess,
ParameterTable params)
Section variant of Free SearchObject
|
void |
freeSearchObject(LibrarySession sess,
String idname)
Inline/internal variant of Free SearchObject
|
void |
identifySearchObject(LibrarySession sess,
ParameterTable params)
Section variant of Identify SearchObject
|
void |
identifySearchObject(LibrarySession sess,
String idname,
Long id,
String name,
String valueDefaultName,
String path)
Inline/internal variant of Identify SearchObject
|
protected void |
identifySearchObjectResults(LibrarySession sess,
ParameterTable params)
Invokes a searchObject and associates the given ID with search results.
|
protected void |
identifySearchResults(LibrarySession sess,
ParameterTable params)
Invokes a search and associates the given ID with search results.
|
protected void |
invokeSearch(LibrarySession sess,
ParameterTable params)
Invokes a on a Transient Search.
|
protected void |
invokeSearchObject(LibrarySession sess,
ParameterTable params)
Invokes a on a Saved Search.
|
protected Search |
lookupSearch(String searchHandle)
Get the Search based on the name of the handle.
|
protected SearchClassSpecification |
lookupSearchClassSpec(String searchClassSpecHandle)
Get the SearchClassSpec based on the name of the handle.
|
protected SearchObject |
lookupSearchObject(String searchObjectHandle)
Get the SearchObject based on the name of the handle.
|
protected SearchQualification |
lookupSearchQual(String searchQualHandle)
Get the SearchQual based on the name of the handle.
|
protected Vector |
lookupSearchResult(String searchResultHandle)
Get the search Result collection based on the name of the handle.
|
protected SearchSortSpecification |
lookupSearchSortSpec(String searchSortSpecHandle)
Get the SearchSortSpec based on the name of the handle.
|
protected AttributeSearchSpecification |
lookupSearchSpec(String searchSpecHandle)
Get the SearchSpec based on the name of the handle.
|
protected ViewSpecification |
lookupViewSpec(String viewSpecHandle)
Get the ViewSpec based on the name of the handle.
|
protected int |
mapDateCompare(String dateComparisonLevel)
Map date comparison level strings to integers.
|
void |
modifySearchObject(LibrarySession sess,
ParameterTable params)
Section variant of Modify SearchObject
|
void |
modifySearchObject(LibrarySession sess,
String idname,
SearchObjectDefinition def)
internal variant of Modify SearchObject
|
protected void |
modifySearchResultsFromDefinition(LibrarySession sess,
ParameterTable params)
Modifies the attributes of the identified search results using the
definition supplied.
|
protected void |
setContextClass(LibrarySession sess,
ParameterTable params)
Sets the context class of a search specification.
|
protected void |
setDirectoryObjectForViewSpec(LibrarySession sess,
ParameterTable params)
Sets the directory object for a View Spec.
|
protected void |
setSearchClassSpec(LibrarySession sess,
ParameterTable params)
Sets the Search Class Specification.
|
protected void |
setSearchQual(LibrarySession sess,
ParameterTable params)
Sets the Search Qualification.
|
protected void |
setSearchSortSpec(LibrarySession sess,
ParameterTable params)
Sets the Search Sort Specification.
|
protected void |
showSearchClassSpec(LibrarySession sess,
ParameterTable params)
Shows a search class specification.
|
void |
showSearchObject(LibrarySession sess,
ParameterTable params)
Section variant of showSearchObject
|
void |
showSearchObject(LibrarySession sess,
SearchObject searchObj) |
void |
showSearchObject(LibrarySession sess,
String searchObjectName)
Inline/internal variant of SearchObject
|
protected void |
showSearchQual(LibrarySession sess,
ParameterTable params)
Show a search qualification.
|
protected void |
showSearchQual(LibrarySession sess,
SearchQualification qual,
int level)
Show contents of a search qualification.
|
protected void |
showSearchSortSpec(LibrarySession sess,
ParameterTable params)
Show the search sort specification.
|
protected void |
showSearchSpec(LibrarySession sess,
AttributeSearchSpecification someSearchSpec)
Show Search Specification.
|
protected void |
showSearchSpec(LibrarySession sess,
ParameterTable params)
Show Search Specification.
|
void |
undeleteSearchObject(LibrarySession sess,
ParameterTable params)
Section variant of undelete SearchObject
|
void |
undeleteSearchObject(LibrarySession sess,
String idname)
Inline/internal variant of Undelete SearchObject
|
void |
undeleteSearchObject(LibrarySession sess,
String idname,
LibraryObjectDefinition def)
Inline/internal variant of Undelete SearchObject
|
void |
unidentifySearch(LibrarySession sess,
ParameterTable params)
Section variant of Unidentify Search
|
void |
unidentifySearchClassSpec(LibrarySession sess,
ParameterTable params)
Section variant of Unidentify SearchClassSpec
|
void |
unidentifySearchObject(LibrarySession sess,
ParameterTable params)
Section variant of Unidentify SearchObject
|
void |
unidentifySearchQual(LibrarySession sess,
ParameterTable params)
Section variant of Unidentify SearchQual
|
void |
unidentifySearchSortSpec(LibrarySession sess,
ParameterTable params)
Section variant of Unidentify SearchSortSpec
|
void |
unidentifySearchSpec(LibrarySession sess,
ParameterTable params)
Section variant of Unidentify SearchSpec
|
void |
unidentifyViewSpec(LibrarySession sess,
ParameterTable params)
Section variant of unidentify View spec.
|
protected static String CONTEXT_TYPE
protected static String ATTRIBUTE_TYPE
protected AdminManager m_Main
protected Hashtable m_SearchClassSpecTable
protected Hashtable m_SearchQualTable
protected Hashtable m_SearchSortSpecTable
protected Hashtable m_SearchSpecTable
protected Hashtable m_SearchTable
protected Hashtable m_SearchObjectTable
protected Hashtable m_ViewSpecTable
protected Hashtable m_SearchResultTable
public SearchObjectAdmin(AdminManager main)
main
- AdminManager Reference to the AdminManager which constructs this.protected void createSearchSpec(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void showSearchSpec(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void showSearchSpec(LibrarySession sess, AttributeSearchSpecification someSearchSpec) throws IfsException
sess
- LibrarySession Handle to current sessionsomeSearchSpec
- AttributeSearchSpecification The object to be shown.IfsException
- if the operation failsprotected void setSearchClassSpec(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void setSearchSortSpec(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void setSearchQual(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void setContextClass(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void createViewSpec(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to the current Session.params
- ParameterTable Handle to parameter table.IfsException
- if the operation fails.protected void addClassToViewSpec(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to the current session.params
- ParameterTable Hanlde to the ParameterTable.IfsException
- if the operation fails.protected void setDirectoryObjectForViewSpec(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to the current session.params
- ParameterTable Hanlde to the ParameterTable.IfsException
- if the operation fails.protected void createView(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void createSearchClassSpec(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void addSearchClass(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void addResultClass(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void showSearchClassSpec(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void createSearchSortSpec(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void addSearchSortQual(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void showSearchSortSpec(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void createAttributeQual(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void createContextQual(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void createFolderRestrictQual(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void createJoinQual(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void createExistenceQual(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void createPropertyQual(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void createFreeFormQual(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void createSearchClause(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void showSearchQual(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void showSearchQual(LibrarySession sess, SearchQualification qual, int level) throws IfsException
sess
- sessionqual
- SearchQualification Object is one of the subclasses of this.level
- int Used to indent based on search tree levelIfsException
- if the operation fails.protected void createSearch(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Handle to current sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void invokeSearch(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Current Sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void invokeSearchObject(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Current Sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void identifySearchResults(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Current Sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void identifySearchObjectResults(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Current Sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected void modifySearchResultsFromDefinition(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Current Sessionparams
- ParameterTable paramsIfsException
- if the operation failsprotected Search lookupSearch(String searchHandle) throws IfsException
searchHandle
- String searchHandleIfsException
- is the named Search is not foundprotected Vector lookupSearchResult(String searchResultHandle) throws IfsException
searchResultHandle
- string SearchResultHandleIfsException
- if the named search result collection not found.protected SearchObject lookupSearchObject(String searchObjectHandle) throws IfsException
searchObjectHandle
- String searchObjectHandleIfsException
- is the named Search is not foundprotected AttributeSearchSpecification lookupSearchSpec(String searchSpecHandle) throws IfsException
searchSpecHandle
- String searchSpecHandleIfsException
- is the named SearchSpec is not foundprotected ViewSpecification lookupViewSpec(String viewSpecHandle) throws IfsException
viewSpecHandle
- String viewSpecHandleIfsException
- is the named ViewSpec is not foundprotected SearchClassSpecification lookupSearchClassSpec(String searchClassSpecHandle) throws IfsException
searchClassSpecHandle
- String searchClassSpecHandleIfsException
- is the named SearchClassSpec is not foundprotected SearchSortSpecification lookupSearchSortSpec(String searchSortSpecHandle) throws IfsException
searchSortSpecHandle
- String searchSortSpecHandleIfsException
- is the named SearchSortSpec is not foundprotected SearchQualification lookupSearchQual(String searchQualHandle) throws IfsException
searchQualHandle
- String searchQualHandleIfsException
- is the named SearchQual is not foundprotected int mapDateCompare(String dateComparisonLevel)
dateComparisonLevel
- String date comparison level string to be mappedpublic void createSearchObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void createSearchObject(LibrarySession sess, String idname, SearchObjectDefinition def) throws IfsException
IfsException
public void createSearchObject(LibrarySession sess, String idname, SearchObjectDefinition def, VersionDescriptionDefinition vddef) throws IfsException
IfsException
public void modifySearchObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void modifySearchObject(LibrarySession sess, String idname, SearchObjectDefinition def) throws IfsException
IfsException
public void identifySearchObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void identifySearchObject(LibrarySession sess, String idname, Long id, String name, String valueDefaultName, String path) throws IfsException
IfsException
public void unidentifySearchObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void unidentifySearchClassSpec(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void unidentifySearchQual(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void unidentifySearchSortSpec(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void unidentifySearchSpec(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void unidentifySearch(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void unidentifyViewSpec(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void freeSearchObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void freeSearchObject(LibrarySession sess, String idname) throws IfsException
IfsException
public void deleteSearchObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void deleteSearchObject(LibrarySession sess, String idname) throws IfsException
IfsException
public void deleteSearchObject(LibrarySession sess, String idname, LibraryObjectDefinition def) throws IfsException
IfsException
public void undeleteSearchObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void undeleteSearchObject(LibrarySession sess, String idname) throws IfsException
IfsException
public void undeleteSearchObject(LibrarySession sess, String idname, LibraryObjectDefinition def) throws IfsException
IfsException
public void showSearchObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void showSearchObject(LibrarySession sess, String searchObjectName) throws IfsException
IfsException
public void showSearchObject(LibrarySession sess, SearchObject searchObj) throws IfsException
IfsException
Copyright © 2023. All rights reserved.