public class SearchValidator extends Object
SearchSpecification
,
SearchQualification
,
Search
Modifier and Type | Field and Description |
---|---|
protected LibrarySession |
m_Session |
protected LibrarySession m_Session
protected static SearchValidator constructValidator(LibrarySession sess)
public static void disposeValidator(LibrarySession session)
session
- the sessionprotected void validate(AttributeSearchSpecification asp) throws IfsException
IfsException
protected void validate(ContextSearchSpecification csp) throws IfsException
IfsException
protected ClassObject findClass(AttributeSearchSpecification asp, String cName) throws IfsException
IfsException
protected ClassObject findClass(AttributeSearchSpecification asp, Long classId) throws IfsException
IfsException
protected ClassObject findClass(String cName) throws IfsException
IfsException
protected Attribute validateAttribute(ClassObject cls, String name) throws IfsException
IfsException
protected boolean requiresSqlView(ClassObject cls, Attribute attr) throws IfsException
IfsException
protected void setAttribute(AttributeQualification aq, Attribute attr) throws IfsException
IfsException
protected void validateObject(Long id, Long classId, int type) throws IfsException
IfsException
protected void validateValue(AttributeQualification aq) throws IfsException
IfsException
protected void validateValue(PropertyQualification pq) throws IfsException
IfsException
protected void validateValue(SubstringQualification sq) throws IfsException
sq
- SubstrinQualification for validationIfsException
- if the operation failsprotected void validateValue(ContextQualification cq) throws IfsException
cq
- ContextQualification for validationIfsException
- if the operation failsprotected void validateValue(FreeFormQualification ffq) throws IfsException
IfsException
protected void validateFolder(FolderRestrictQualification fq) throws IfsException
IfsException
protected void validateQuery(ContextQualification cq) throws IfsException
IfsException
protected void validatePublicObjectClass(String clssName) throws IfsException
IfsException
protected Attribute validateScalarAttribute(ClassObject co, String attributeName) throws IfsException
IfsException
protected boolean isMVDataType(int dataType)
protected boolean isScalarDataType(int dataType)
Copyright © 2023. All rights reserved.