Modifier and Type | Field and Description |
---|---|
protected AdminManager |
m_Main |
protected Hashtable |
m_selectorObjTable |
protected Hashtable |
m_selectorResultsTable |
Constructor and Description |
---|
SelectorObjectAdmin(AdminManager main)
The only constructor that is being used.
|
Modifier and Type | Method and Description |
---|---|
protected String |
buildSearchSelection(LibrarySession sess,
String searchClass,
ParameterTable params,
String valueDelim,
String arrayValueDelim) |
void |
createSelectorObject(LibrarySession sess,
ParameterTable params)
Section variant of Create SelectorObject
|
void |
createSelectorObject(LibrarySession sess,
String idname,
SelectorObjectDefinition def)
internal variant of Create SelectorObject
|
void |
createSelectorObject(LibrarySession sess,
String idname,
SelectorObjectDefinition def,
VersionDescriptionDefinition vddef)
internal variant of VERSIONED Create SelectorObject
|
void |
createSelectorObject(LibrarySession sess,
String idname,
String nameToken)
inline variant of Create SelectorObject
|
void |
deleteSelectorObject(LibrarySession sess,
ParameterTable params)
Section variant of delete SelectorObject
|
void |
deleteSelectorObject(LibrarySession sess,
String idname)
Inline/internal variant of Delete SelectorObject
|
void |
deleteSelectorObject(LibrarySession sess,
String idname,
LibraryObjectDefinition def)
Inline/internal variant of Delete SelectorObject
|
protected String |
formatAttr(LibrarySession sess,
AttributeValue av)
Format an attribute value as a string
|
void |
freeSelectorObject(LibrarySession sess,
ParameterTable params)
Section variant of Free SelectorObject
|
void |
freeSelectorObject(LibrarySession sess,
String idname)
Inline/internal variant of Free SelectorObject
|
protected String |
getAttributeValueSearchString(LibrarySession sess,
AttributeValue av)
return an AV converted to a String suitable for use in a Selector
SelectQualification.
|
protected String |
getAttributeValueString(LibrarySession sess,
String attrName)
from the name of an attribute value, return the "search identifier".
|
protected String |
getColumnName(LibrarySession sess,
String searchClass,
String attrName)
Convert the attribute name to a database column name.
|
String[] |
getObjectAttrNames(ClassObject cls)
Get an array of attribute names for an object
|
protected String |
getOperationString(String operName)
parse the operation, return a SQL operator
|
void |
identifySelectorObject(LibrarySession sess,
ParameterTable params)
Section variant of Identify SelectorObject
|
void |
identifySelectorObject(LibrarySession sess,
String idname,
Long id,
String name,
String valueDefaultName,
String path)
Inline/internal variant of Identify SelectorObject
|
void |
identifySelectorResults(LibrarySession sess,
ParameterTable params)
Section variant of identify selector results.
|
void |
identifySelectorResults(LibrarySession sess,
Selector sel,
ParameterTable params)
Implements identifying results.
|
void |
invokeSelector(LibrarySession sess,
ParameterTable params)
Section variant of invoke Selector
|
void |
invokeSelector(LibrarySession sess,
Selector sel,
ParameterTable params) |
void |
invokeSelector(LibrarySession sess,
Selector sel,
String[] selectedAttrs)
Internal variant of invoke Selector
|
SelectorObject |
lookupSelectorObject(String idname) |
protected Vector |
lookupSelectorResult(String selectorResultHandle)
Get the search Result collection based on the name of the handle.
|
void |
modifySelectorObject(LibrarySession sess,
ParameterTable params)
Section variant of Modify SelectorObject
|
void |
modifySelectorObject(LibrarySession sess,
String idname,
SelectorObjectDefinition def)
internal variant of Modify SelectorObject
|
protected void |
modifySelectorResultsFromDefinition(LibrarySession sess,
ParameterTable params)
Modifies the attributes of the identified selector results using the
definition supplied.
|
protected String |
parseExpression(LibrarySession sess,
String searchClass,
String expression,
String arrayValueDelim) |
protected String |
parseSelectQualification(LibrarySession sess,
String searchClass,
String qualLine,
String valueDelim,
String arrayValueDelim) |
void |
showObject(LibrarySession sess,
LibraryObject obj,
String[] attrNames)
Display the attributes for an object
|
void |
showObject(LibrarySession sess,
LibraryObject obj,
String[] attrNames,
String[] attrNamesToOmit) |
void |
showObjectAttrs(LibrarySession sess,
LibraryObject obj,
String[] attrNames)
Display an output row of attribute values for an object
|
void |
showObjectAttrsHdr(LibrarySession sess,
ClassObject cls,
String[] attrNames)
Display a header row of attribute names for an object
|
void |
showPublicObjectDetail(LibrarySession sess,
PublicObject obj)
Display detail information for a public object
|
void |
showSelectorObject(LibrarySession sess,
ParameterTable params)
Section variant of showSelectorObject
|
void |
showSelectorObject(LibrarySession sess,
SelectorObject selectorObj) |
void |
showSelectorObject(LibrarySession sess,
String selectorObjname)
Inline/internal variant of showSelectorObject
|
void |
undeleteSelectorObject(LibrarySession sess,
ParameterTable params)
Section variant of undelete SelectorObject
|
void |
undeleteSelectorObject(LibrarySession sess,
String idname)
Inline/internal variant of Undelete SelectorObject
|
void |
undeleteSelectorObject(LibrarySession sess,
String idname,
LibraryObjectDefinition def)
Inline/internal variant of Undelete SelectorObject
|
void |
unidentifySelectorObject(LibrarySession sess,
ParameterTable params)
Section variant of Unidentify SelectorObject
|
protected AdminManager m_Main
protected Hashtable m_selectorObjTable
protected Hashtable m_selectorResultsTable
public SelectorObjectAdmin(AdminManager main)
main
- Reference to AdminManager which invokes this.public void createSelectorObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void createSelectorObject(LibrarySession sess, String idname, String nameToken) throws IfsException
IfsException
public void createSelectorObject(LibrarySession sess, String idname, SelectorObjectDefinition def) throws IfsException
IfsException
public void createSelectorObject(LibrarySession sess, String idname, SelectorObjectDefinition def, VersionDescriptionDefinition vddef) throws IfsException
IfsException
public void modifySelectorObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void modifySelectorObject(LibrarySession sess, String idname, SelectorObjectDefinition def) throws IfsException
IfsException
public void freeSelectorObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void freeSelectorObject(LibrarySession sess, String idname) throws IfsException
IfsException
public void deleteSelectorObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void deleteSelectorObject(LibrarySession sess, String idname) throws IfsException
IfsException
public void deleteSelectorObject(LibrarySession sess, String idname, LibraryObjectDefinition def) throws IfsException
IfsException
public void undeleteSelectorObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void undeleteSelectorObject(LibrarySession sess, String idname) throws IfsException
IfsException
public void undeleteSelectorObject(LibrarySession sess, String idname, LibraryObjectDefinition def) throws IfsException
IfsException
public void identifySelectorObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void identifySelectorObject(LibrarySession sess, String idname, Long id, String name, String valueDefaultName, String path) throws IfsException
IfsException
public void unidentifySelectorObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void invokeSelector(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void invokeSelector(LibrarySession sess, Selector sel, ParameterTable params) throws IfsException
IfsException
public void invokeSelector(LibrarySession sess, Selector sel, String[] selectedAttrs) throws IfsException
IfsException
public void identifySelectorResults(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void identifySelectorResults(LibrarySession sess, Selector sel, ParameterTable params) throws IfsException
IfsException
protected Vector lookupSelectorResult(String selectorResultHandle) throws IfsException
selectorResultHandle
- string SearchResultHandleIfsException
- if the named search result collection not found.protected void modifySelectorResultsFromDefinition(LibrarySession sess, ParameterTable params) throws IfsException
sess
- LibrarySession Current Sessionparams
- ParameterTable paramsIfsException
- if the operation failspublic void showSelectorObject(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void showSelectorObject(LibrarySession sess, String selectorObjname) throws IfsException
IfsException
public SelectorObject lookupSelectorObject(String idname) throws IfsException
IfsException
public void showSelectorObject(LibrarySession sess, SelectorObject selectorObj) throws IfsException
IfsException
public String[] getObjectAttrNames(ClassObject cls) throws IfsException
IfsException
public void showObjectAttrs(LibrarySession sess, LibraryObject obj, String[] attrNames) throws IfsException
IfsException
public void showObjectAttrsHdr(LibrarySession sess, ClassObject cls, String[] attrNames) throws IfsException
IfsException
protected String formatAttr(LibrarySession sess, AttributeValue av) throws IfsException
IfsException
public void showObject(LibrarySession sess, LibraryObject obj, String[] attrNames) throws IfsException
IfsException
public void showObject(LibrarySession sess, LibraryObject obj, String[] attrNames, String[] attrNamesToOmit) throws IfsException
IfsException
public void showPublicObjectDetail(LibrarySession sess, PublicObject obj) throws IfsException
IfsException
protected String getAttributeValueSearchString(LibrarySession sess, AttributeValue av) throws IfsException
sess
- the LibrarySessionav
- the AttributeVakue that is requested to be converted to a
String.IfsException
- if the operation failsprotected String buildSearchSelection(LibrarySession sess, String searchClass, ParameterTable params, String valueDelim, String arrayValueDelim) throws IfsException
IfsException
protected String parseSelectQualification(LibrarySession sess, String searchClass, String qualLine, String valueDelim, String arrayValueDelim) throws IfsException
IfsException
protected String parseExpression(LibrarySession sess, String searchClass, String expression, String arrayValueDelim) throws IfsException
IfsException
protected String getColumnName(LibrarySession sess, String searchClass, String attrName) throws IfsException
IfsException
protected String getOperationString(String operName) throws IfsException
IfsException
protected String getAttributeValueString(LibrarySession sess, String attrName) throws IfsException
IfsException
Copyright © 2023. All rights reserved.