|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.endeca.portal.metadata.AbstractMetadataManager<SimpleMetadataObject>
com.endeca.portal.metadata.simple.SimpleMetadataManager
public final class SimpleMetadataManager
Central facade for managing simple key-value pair metadata records
| Field Summary | |
|---|---|
static java.lang.String |
TYPE_SIMPLE_METADATA
Represents the "type" value |
| Constructor Summary | |
|---|---|
SimpleMetadataManager()
|
|
| Method Summary | ||
|---|---|---|
static SimpleMetadataManager |
getInstance()
Method to get a FrameworkSettingManager instance. |
|
boolean |
hasProperties()
Simple metadata objects do not have associated properties. |
|
SimpleMetadataObject |
objectFromMetadataRecord(com.endeca.portal.liferay.ext.metadata.model.MetadataRecord record)
Converts a Liferay record to a Simple Metadata Object |
|
|
propertyFromMetadataPropertyRecord(com.endeca.portal.liferay.ext.metadata.model.MetadataPropertyRecord record)
Returns null; Simple Metadata Objects do not have child Metadata Properties |
|
| Methods inherited from class com.endeca.portal.metadata.AbstractMetadataManager |
|---|
getMetadataPropertyRecords, getObject, getObjectById, getObjects, getProperties, getProperty, handleObjectPropertyPersistence, objectsFromMetadataRecords, persist, persist, persistProperties, persistProperty, propertiesFromMetadataPropertyRecords, removeObjectById, removePropertyById, setupPropertyQuery |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TYPE_SIMPLE_METADATA
| Constructor Detail |
|---|
public SimpleMetadataManager()
| Method Detail |
|---|
public static SimpleMetadataManager getInstance()
public SimpleMetadataObject objectFromMetadataRecord(com.endeca.portal.liferay.ext.metadata.model.MetadataRecord record)
objectFromMetadataRecord in interface MetadataManager<SimpleMetadataObject>objectFromMetadataRecord in class AbstractMetadataManager<SimpleMetadataObject>record - the base Liferay record
MetadataManager.objectFromMetadataRecord(MetadataRecord)public <S extends MetadataProperty> S propertyFromMetadataPropertyRecord(com.endeca.portal.liferay.ext.metadata.model.MetadataPropertyRecord record)
propertyFromMetadataPropertyRecord in interface MetadataManager<SimpleMetadataObject>propertyFromMetadataPropertyRecord in class AbstractMetadataManager<SimpleMetadataObject>S - an instance of a Metadata Property extensionrecord - the base Liferay record
MetadataManager.propertyFromMetadataPropertyRecord(MetadataPropertyRecord)public boolean hasProperties()
hasProperties in class AbstractMetadataManager<SimpleMetadataObject>AbstractMetadataManager.hasProperties()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||