@Component public class ContentPropertyManagerImpl extends java.lang.Object implements ContentPropertyManager
| Modifier and Type | Field and Description |
|---|---|
(package private) ContentPropertyDao |
cpDao |
(package private) PartnerManager |
pMgr |
| Constructor and Description |
|---|
ContentPropertyManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
ContentProperty |
createOrUpdateProperty(ContentPropertyDefinition definition)
Create or update a particular content property with the data
in the ContentPropertyDefinition given
|
java.util.List<ContentProperty> |
getDefault(java.util.List<java.lang.String> propertyNames)
Get the list of default values for the content properties
|
@Autowired ContentPropertyDao cpDao
@Autowired PartnerManager pMgr
public ContentProperty createOrUpdateProperty(ContentPropertyDefinition definition)
ContentPropertyManagercreateOrUpdateProperty in interface ContentPropertyManagerdefinition - the content property definitionpublic java.util.List<ContentProperty> getDefault(java.util.List<java.lang.String> propertyNames)
ContentPropertyManagergetDefault in interface ContentPropertyManagerpropertyNames - the list of properties you want