org.tynamo.editablecontent.internal.services
Class EditableContentStorageImpl
java.lang.Object
org.tynamo.editablecontent.internal.services.EditableContentStorageImpl
- All Implemented Interfaces:
- EditableContentStorage
public class EditableContentStorageImpl
- extends Object
- implements EditableContentStorage
|
Constructor Summary |
EditableContentStorageImpl(org.apache.tapestry5.jpa.EntityManagerManager entityManagerManager,
org.apache.tapestry5.ioc.services.ThreadLocale threadLocale,
javax.servlet.http.HttpServletRequest request,
boolean localizedContent,
String persistenceUnitName,
int lruCacheSize)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditableContentStorageImpl
public EditableContentStorageImpl(org.apache.tapestry5.jpa.EntityManagerManager entityManagerManager,
org.apache.tapestry5.ioc.services.ThreadLocale threadLocale,
javax.servlet.http.HttpServletRequest request,
@Inject@Symbol(value="editablecontent.localizedcontent")
boolean localizedContent,
@Inject@Symbol(value="editablecontent.persistenceunit")
String persistenceUnitName,
@Inject@Symbol(value="editablecontent.lrucachesize")
int lruCacheSize)
contains
public boolean contains(String contentId)
- Specified by:
contains in interface EditableContentStorage
updateContent
public String updateContent(String contentId,
String contentValue,
int maxHistory)
- Specified by:
updateContent in interface EditableContentStorage
getTextualContentValue
public String getTextualContentValue(String contentId)
- Specified by:
getTextualContentValue in interface EditableContentStorage
getTextualContent
public TextualContent getTextualContent(String contentId)
- Specified by:
getTextualContent in interface EditableContentStorage
Copyright © 2004-2012. All Rights Reserved.