org.jasig.portlet.cms.model.repository
Class JcrRepositoryDao
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.extensions.jcr.support.JcrDaoSupport
org.jasig.portlet.cms.model.repository.JcrRepositoryDao
- All Implemented Interfaces:
- RepositoryDao, org.springframework.beans.factory.InitializingBean
public class JcrRepositoryDao
- extends org.springframework.extensions.jcr.support.JcrDaoSupport
- implements RepositoryDao
| Methods inherited from class org.springframework.extensions.jcr.support.JcrDaoSupport |
checkDaoConfig, convertJcrAccessException, getSession, getSession, getSessionFactory, getTemplate, releaseSession, setSessionFactory, setTemplate |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JcrRepositoryDao
public JcrRepositoryDao()
getPost
@Cacheable(cacheName="postCache")
public Post getPost(String nodeName)
throws JcrRepositoryException
- Specified by:
getPost in interface RepositoryDao
- Throws:
JcrRepositoryException
search
@Cacheable(cacheName="postCache")
public Collection<Post> search(RepositorySearchOptions options)
throws JcrRepositoryException
- Specified by:
search in interface RepositoryDao
- Throws:
JcrRepositoryException
setPost
@TriggersRemove(cacheName="postCache",
when=AFTER_METHOD_INVOCATION,
removeAll=true)
public void setPost(Post post)
throws JcrRepositoryException
- Specified by:
setPost in interface RepositoryDao
- Throws:
JcrRepositoryException
setPostDao
public void setPostDao(JcrPostDao postDao)
Copyright © 2011 uPortal Jasig Community. All Rights Reserved.