org.jasig.portlet.cms.model.repository
Class JcrPostDao

java.lang.Object
  extended by org.jcrom.dao.AbstractJcrDAO<Post>
      extended by org.jasig.portlet.cms.model.repository.JcrPostDao
All Implemented Interfaces:
org.jcrom.dao.JcrDAO<Post>

public class JcrPostDao
extends org.jcrom.dao.AbstractJcrDAO<Post>


Field Summary
 
Fields inherited from class org.jcrom.dao.AbstractJcrDAO
entityClass, isVersionable, jcrom, mixinTypes, session
 
Constructor Summary
JcrPostDao(org.springframework.extensions.jcr.SessionFactory factory, org.jcrom.Jcrom jcrom)
           
JcrPostDao(javax.jcr.Session session, org.jcrom.Jcrom jcrom)
           
 
Method Summary
 Post create(Post entity)
           
 Post create(String arg0, Post arg1)
           
 boolean exists(String arg0)
           
 List<Post> findAll(RepositorySearchOptions options)
           
 Post get(String path)
           
 String update(Post entity)
           
 String update(Post arg0, String arg1, int arg2)
           
 
Methods inherited from class org.jcrom.dao.AbstractJcrDAO
findAll, findAll, findAll, findAll, findByXPath, findByXPath, get, getSession, getSize, getVersion, getVersion, getVersion, getVersionByUUID, getVersionByUUID, getVersionList, getVersionList, getVersionList, getVersionList, getVersionList, getVersionListByUUID, getVersionListByUUID, getVersionListByUUID, getVersionSize, getVersionSize, getVersionSizeByUUID, hasMixinType, loadByUUID, loadByUUID, move, relativePath, remove, removeByUUID, removeVersion, removeVersion, removeVersionByUUID, restoreVersion, restoreVersion, restoreVersion, restoreVersionByUUID, restoreVersionByUUID, toList, toList, update, updateByUUID, updateByUUID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcrPostDao

public JcrPostDao(javax.jcr.Session session,
                  org.jcrom.Jcrom jcrom)

JcrPostDao

public JcrPostDao(org.springframework.extensions.jcr.SessionFactory factory,
                  org.jcrom.Jcrom jcrom)
           throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException
Method Detail

create

public Post create(Post entity)
Specified by:
create in interface org.jcrom.dao.JcrDAO<Post>
Overrides:
create in class org.jcrom.dao.AbstractJcrDAO<Post>

create

public Post create(String arg0,
                   Post arg1)
Specified by:
create in interface org.jcrom.dao.JcrDAO<Post>
Overrides:
create in class org.jcrom.dao.AbstractJcrDAO<Post>

exists

public boolean exists(String arg0)
Specified by:
exists in interface org.jcrom.dao.JcrDAO<Post>
Overrides:
exists in class org.jcrom.dao.AbstractJcrDAO<Post>

findAll

public List<Post> findAll(RepositorySearchOptions options)
                   throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

get

public Post get(String path)
Specified by:
get in interface org.jcrom.dao.JcrDAO<Post>
Overrides:
get in class org.jcrom.dao.AbstractJcrDAO<Post>

update

public String update(Post entity)
Specified by:
update in interface org.jcrom.dao.JcrDAO<Post>
Overrides:
update in class org.jcrom.dao.AbstractJcrDAO<Post>

update

public String update(Post arg0,
                     String arg1,
                     int arg2)
Specified by:
update in interface org.jcrom.dao.JcrDAO<Post>
Overrides:
update in class org.jcrom.dao.AbstractJcrDAO<Post>


Copyright © 2011 uPortal Jasig Community. All Rights Reserved.