|
Oracle© Fusion Middleware Extensibility Framework (REX) for Oracle Enterprise Repository 11g Release 1 (11.1.1) E16598-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.flashline.registry.openapi.query.SearchTermGroup
com.flashline.registry.openapi.query.AssetCriteria
public class AssetCriteria
This class is used to specify search criteria for assets. The properties id, hash, name, version, description, keyword, general, assettypeid, categorizatoin, and uniqueelement are convenience properties that will automatically be translated into instances of SearchTerm.
The property exactMatch determines if the search will require exact matches in order to match on an Asset. For example, if exactMatch is FALSE, then setting the name property to "foo" would match on an Asset named "foo" and also on an asset named "foobar".
It is also possible to interact with the AssetFactory's low-level searching capabilities directly by manually creating SearchTerm instances and adding them to an AssetCriteria. The following list describes valid SearchTerm keys for performing extended Asset searches. Note that when manually specifying SearchTerms, the operator is always assumed to be EQUALS and all SearchTerms are combined using an AND operation. Certain SearchTerm keys do support the IN operator. These are id, assettypeid, createdbyid, and submittedbyid.
The asset criteria object model can accept SearchTerm objects as well as objects that extend SearchTerm. The DateRangeSearchTerm object is used to specify date criteria. The date inputs must conform to the Short Date format specified in the system settings. The TabStatusSearchTerm will search for assets with a specified tab status and updated date. This date input must also conform to the Short Date format.
NOTE: The criteria object model is currently moving to a more flexible representation of terms and grouping. As they occur, these changes will affect the availability of certain API features when executing a query using a criteria object. The Asset subsystem only directly evaluates the AssetCriteria, and does not make use of the extended capabilities of the underlying SearchTermGroup, unless otherwise noted in this documentation.
Constructor Summary | |
---|---|
AssetCriteria() |
|
AssetCriteria(long IDCriteria, java.lang.String[] SFIDCriteria, java.lang.String UUIDCriteria, long assetTypeCriteria, java.lang.String browsableOnlyCriteria, Categorization categorizationCriteria, java.lang.String descriptionCriteria, java.lang.String exactMatchCriteria, java.lang.String generalCriteria, java.lang.String keywordCriteria, java.lang.String nameCriteria, java.lang.String uniqueElementCriteria, java.lang.String versionCriteria) |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getAssetTypeCriteria() Gets the assetTypeCriteria value for this AssetCriteria. |
java.lang.String |
getBrowsableOnlyCriteria() Gets the browsableOnlyCriteria value for this AssetCriteria. |
Categorization |
getCategorizationCriteria() Gets the categorizationCriteria value for this AssetCriteria. |
java.lang.String |
getDescriptionCriteria() Gets the descriptionCriteria value for this AssetCriteria. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) Get Custom Deserializer |
java.lang.String |
getExactMatchCriteria() Gets the exactMatchCriteria value for this AssetCriteria. |
java.lang.String |
getGeneralCriteria() Gets the generalCriteria value for this AssetCriteria. |
long |
getIDCriteria() Gets the IDCriteria value for this AssetCriteria. |
java.lang.String |
getKeywordCriteria() Gets the keywordCriteria value for this AssetCriteria. |
java.lang.String |
getNameCriteria() Gets the nameCriteria value for this AssetCriteria. |
static org.apache.axis.encoding.Serializer |
getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) Get Custom Serializer |
java.lang.String[] |
getSFIDCriteria() Gets the SFIDCriteria value for this AssetCriteria. |
static org.apache.axis.description.TypeDesc |
getTypeDesc() Return type metadata object |
java.lang.String |
getUniqueElementCriteria() Set unique element criteria. |
java.lang.String |
getUUIDCriteria() Gets the UUIDCriteria value for this AssetCriteria. |
java.lang.String |
getVersionCriteria() Set search string that must be present in the version. |
int |
hashCode() |
void |
setAssetTypeCriteria(long assetTypeCriteria) Set asset type that must be assigned. |
void |
setBrowsableOnlyCriteria(java.lang.String browsableOnlyCriteria) Set whether to return only browsable assets. |
void |
setCategorizationCriteria(Categorization categorizationCriteria) Set categorization that must be assigned. |
void |
setDescriptionCriteria(java.lang.String descriptionCriteria) Set search string that must be present in the description. |
void |
setExactMatchCriteria(java.lang.String exactMatchCriteria) Set whether to return only exact matches. |
void |
setGeneralCriteria(java.lang.String generalCriteria) Set search string that must be present in name, version, description, keywords, categorizations or indexed fields |
void |
setIDCriteria(long IDCriteria) Set ID of Asset to find. |
void |
setKeywordCriteria(java.lang.String keywordCriteria) Set search string that must be present in the Keyword. |
void |
setNameCriteria(java.lang.String nameCriteria) Set search string that must be present in the name. |
void |
setSFIDCriteria(java.lang.String[] SFIDCriteria) Set list of hash values to search for |
void |
setUniqueElementCriteria(java.lang.String uniqueElementCriteria) Sets the uniqueElementCriteria value for this AssetCriteria. |
void |
setUUIDCriteria(java.lang.String UUIDCriteria) Set UUID string criteria. |
void |
setVersionCriteria(java.lang.String versionCriteria) Sets the versionCriteria value for this AssetCriteria. |
Methods inherited from class com.flashline.registry.openapi.query.SearchTermGroup |
---|
getOrderBy, getQualifier, getSearchTermGroups, getSearchTerms, getSupportedKeys, setOrderBy, setQualifier, setSearchTermGroups, setSearchTerms, setSupportedKeys |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssetCriteria()
public AssetCriteria(long IDCriteria, java.lang.String[] SFIDCriteria, java.lang.String UUIDCriteria, long assetTypeCriteria, java.lang.String browsableOnlyCriteria, Categorization categorizationCriteria, java.lang.String descriptionCriteria, java.lang.String exactMatchCriteria, java.lang.String generalCriteria, java.lang.String keywordCriteria, java.lang.String nameCriteria, java.lang.String uniqueElementCriteria, java.lang.String versionCriteria)
Method Detail |
---|
public long getIDCriteria()
public void setIDCriteria(long IDCriteria)
pID
- The ID of the asset to find.public java.lang.String[] getSFIDCriteria()
public void setSFIDCriteria(java.lang.String[] SFIDCriteria)
pSFIDs
- List of hash valuespublic java.lang.String getUUIDCriteria()
public void setUUIDCriteria(java.lang.String UUIDCriteria)
pUniqueElement
- The UUID string criteriapublic long getAssetTypeCriteria()
public void setAssetTypeCriteria(long assetTypeCriteria)
pAssetTypeID
- the id of the asset typepublic java.lang.String getBrowsableOnlyCriteria()
public void setBrowsableOnlyCriteria(java.lang.String browsableOnlyCriteria)
pBrowsableOnly
- true/false whether to return only browsable assetspublic Categorization getCategorizationCriteria()
public void setCategorizationCriteria(Categorization categorizationCriteria)
pCategorization
- the categorization objectpublic java.lang.String getDescriptionCriteria()
public void setDescriptionCriteria(java.lang.String descriptionCriteria)
pDescription
- Description search stringpublic java.lang.String getExactMatchCriteria()
public void setExactMatchCriteria(java.lang.String exactMatchCriteria)
pExactMatch
- true/false whether to return only exact matchespublic java.lang.String getGeneralCriteria()
public void setGeneralCriteria(java.lang.String generalCriteria)
pGeneral
- The general criteria.public java.lang.String getKeywordCriteria()
public void setKeywordCriteria(java.lang.String keywordCriteria)
pKeyword
- Keyword search string.public java.lang.String getNameCriteria()
public void setNameCriteria(java.lang.String nameCriteria)
pName
- The name of the asset to find.public java.lang.String getUniqueElementCriteria()
pUniqueElement
- The unique element criteriapublic void setUniqueElementCriteria(java.lang.String uniqueElementCriteria)
uniqueElementCriteria
-public java.lang.String getVersionCriteria()
pVersion
- Version search stringpublic void setVersionCriteria(java.lang.String versionCriteria)
versionCriteria
-public boolean equals(java.lang.Object obj)
equals
in class SearchTermGroup
public int hashCode()
hashCode
in class SearchTermGroup
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
|
Oracle© Fusion Middleware Extensibility Framework (REX) for Oracle Enterprise Repository 11g Release 1 (11.1.1) E16598-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |