@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)
ContentPropertyManager
createOrUpdateProperty
in interface ContentPropertyManager
definition
- the content property definitionpublic java.util.List<ContentProperty> getDefault(java.util.List<java.lang.String> propertyNames)
ContentPropertyManager
getDefault
in interface ContentPropertyManager
propertyNames
- the list of properties you want