public class MetadataPropertyQuery extends MetadataQuery<com.endeca.portal.liferay.ext.metadata.model.MetadataPropertyRecord>
MetadataPropertyRecord instances.MetadataPropertyRecord| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIELD_NAME_PROPERTY_ID |
FIELD_NAME_DESCRIPTION, FIELD_NAME_FEATURE, FIELD_NAME_KEY, FIELD_NAME_LAST_UPDATED, FIELD_NAME_LOCALE, FIELD_NAME_OBJECT_ID, FIELD_NAME_REL, FIELD_NAME_SOURCE, FIELD_NAME_TYPE, FIELD_NAME_VALUE, query| Constructor and Description |
|---|
MetadataPropertyQuery()
Constructs an empty metadata query
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<com.endeca.portal.liferay.ext.metadata.model.MetadataPropertyRecord> |
execute()
Executes the
DynamicQuery and returns a list of MetadataPropertyRecord objects. |
void |
initDynamicQuery()
Initializes the
DynamicQuery using the MetadataPropertyRecord class. |
void |
setPropertyId(long propertyId)
Adds criteria to the query: the value of the "metadataPropertyId" field
|
setDescription, setFeature, setKey, setLocale, setObjectId, setOrderAsc, setOrderDesc, setRel, setSource, setType, setValuepublic static final java.lang.String FIELD_NAME_PROPERTY_ID
public MetadataPropertyQuery()
public void initDynamicQuery()
DynamicQuery using the MetadataPropertyRecord class.initDynamicQuery in class MetadataQuery<com.endeca.portal.liferay.ext.metadata.model.MetadataPropertyRecord>MetadataQuery.initDynamicQuery()public java.util.List<com.endeca.portal.liferay.ext.metadata.model.MetadataPropertyRecord> execute()
throws MetadataQueryException
DynamicQuery and returns a list of MetadataPropertyRecord objects.execute in class MetadataQuery<com.endeca.portal.liferay.ext.metadata.model.MetadataPropertyRecord>MetadataQueryExceptionMetadataQuery.execute()public void setPropertyId(long propertyId)
propertyId - the property ID to look forCopyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.