org.exoplatform.content.service.impl
Class ContentDAOImpl

java.lang.Object
  extended by org.exoplatform.content.service.BaseContentService
      extended by org.exoplatform.content.service.impl.ContentDAOImpl
All Implemented Interfaces:
ContentDAO

public class ContentDAOImpl
extends BaseContentService
implements ContentDAO

Created by The eXo Platform SARL . Author : Le Bien Thuy lebienthuy@gmail.com Date: 3/5/2007 Time: 1:12:22 PM


Field Summary
static java.lang.String APPLICATION_NAME
           
static java.lang.String GROUP_TYPE
           
static java.lang.String PORTAL_TYPE
           
static java.lang.String USER_TYPE
           
 
Fields inherited from class org.exoplatform.content.service.BaseContentService
contentCache_
 
Constructor Summary
ContentDAOImpl(org.exoplatform.services.cache.CacheService cservice, org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator creator)
           
 
Method Summary
 void create(ContentNavigation navigation)
           
 ContentNavigation get(java.lang.String owner)
           
 ContentData getData(java.lang.String id)
           
 void remove(java.lang.String owner)
           
 void removeData(java.lang.String id)
           
 void removeData(java.lang.String owner, java.lang.String type)
           
 void save(ContentNavigation navigation)
           
 
Methods inherited from class org.exoplatform.content.service.BaseContentService
addPlugin, fromXML, getContentData, getTypes, initListener, removeCache, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.exoplatform.content.service.ContentDAO
addPlugin, fromXML, getContentData, getTypes, initListener, removeCache, toXML
 

Field Detail

USER_TYPE

public static final java.lang.String USER_TYPE
See Also:
Constant Field Values

GROUP_TYPE

public static final java.lang.String GROUP_TYPE
See Also:
Constant Field Values

PORTAL_TYPE

public static final java.lang.String PORTAL_TYPE
See Also:
Constant Field Values

APPLICATION_NAME

public static final java.lang.String APPLICATION_NAME
See Also:
Constant Field Values
Constructor Detail

ContentDAOImpl

public ContentDAOImpl(org.exoplatform.services.cache.CacheService cservice,
                      org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator creator)
               throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

create

public void create(ContentNavigation navigation)
            throws java.lang.Exception
Specified by:
create in interface ContentDAO
Throws:
java.lang.Exception

save

public void save(ContentNavigation navigation)
          throws java.lang.Exception
Specified by:
save in interface ContentDAO
Throws:
java.lang.Exception

get

public ContentNavigation get(java.lang.String owner)
                      throws java.lang.Exception
Specified by:
get in interface ContentDAO
Throws:
java.lang.Exception

remove

public void remove(java.lang.String owner)
            throws java.lang.Exception
Specified by:
remove in interface ContentDAO
Throws:
java.lang.Exception

getData

public ContentData getData(java.lang.String id)
                    throws java.lang.Exception
Specified by:
getData in interface ContentDAO
Throws:
java.lang.Exception

removeData

public void removeData(java.lang.String id)
                throws java.lang.Exception
Specified by:
removeData in interface ContentDAO
Throws:
java.lang.Exception

removeData

public void removeData(java.lang.String owner,
                       java.lang.String type)
                throws java.lang.Exception
Specified by:
removeData in interface ContentDAO
Throws:
java.lang.Exception


Copyright © 2011 eXo Platform SAS. All Rights Reserved.