|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.fatwire.assetapi.query.ConditionParser
public class ConditionParser
The parsing utilities to parse the conditions from query into Baisc search ics
variables or
flex search conditon - SearchState
Method Summary | |
---|---|
static java.util.List<java.lang.String> |
parseBasicCondition(ICS ics,
AssetTypeDef atd,
Condition c,
java.lang.String prefix,
FTValList attributes)
This method is used to convert a condition to an asset search format. |
static ISearchState |
parseFlexCondition(ICS ics,
AssetTypeDef atd,
java.lang.String attributeType,
Condition c)
|
static java.lang.String |
validAttributes(ICS ics,
AssetTypeDef atd,
java.util.List<java.lang.String> attributes)
validate whether any of the attribute specified in the list does not belong to the specified assettype/subtype |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ISearchState parseFlexCondition(ICS ics, AssetTypeDef atd, java.lang.String attributeType, Condition c) throws AssetAccessException
attributeType
- The flex asset attribute typec
- The condition to parse
AssetAccessException
public static java.util.List<java.lang.String> parseBasicCondition(ICS ics, AssetTypeDef atd, Condition c, java.lang.String prefix, FTValList attributes) throws AssetAccessException
ics
- c
- prefix
- attributes
-
AssetAccessException
public static java.lang.String validAttributes(ICS ics, AssetTypeDef atd, java.util.List<java.lang.String> attributes)
atd
- the asset type definition objectattributes
- list of string names to validate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |