You are viewing a plain text version of this content. The canonical link for it is here.
Posted to graffito-commits@incubator.apache.org by ta...@apache.org on 2005/01/20 21:55:33 UTC
svn commit: r125822 - /incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/store/impl/fs/FileSystemContentStore.java
Author: taylor
Date: Thu Jan 20 13:55:33 2005
New Revision: 125822
URL: http://svn.apache.org/viewcvs?view=rev&rev=125822
Log:
skeleton for File System Content Store
Added:
incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/store/impl/fs/FileSystemContentStore.java
Added: incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/store/impl/fs/FileSystemContentStore.java
Url: http://svn.apache.org/viewcvs/incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/store/impl/fs/FileSystemContentStore.java?view=auto&rev=125822
==============================================================================
--- (empty file)
+++ incubator/graffito/trunk/components/src/java/org/apache/portals/graffito/store/impl/fs/FileSystemContentStore.java Thu Jan 20 13:55:33 2005
@@ -0,0 +1,190 @@
+/*
+ * Created on Jan 20, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package org.apache.portals.graffito.store.impl.fs;
+
+import java.util.Collection;
+import java.util.Iterator;
+
+import org.apache.portals.graffito.exception.CmsPermissionException;
+import org.apache.portals.graffito.model.CmsObject;
+import org.apache.portals.graffito.model.Document;
+import org.apache.portals.graffito.model.HistoryElement;
+import org.apache.portals.graffito.persistence.ContentPersistenceException;
+import org.apache.portals.graffito.search.Filter;
+import org.apache.portals.graffito.store.ContentStore;
+
+
+/**
+ * @author david
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class FileSystemContentStore implements ContentStore
+{
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#getCmsObject(java.lang.String)
+ */
+ public CmsObject getCmsObject(String uri) throws CmsPermissionException
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#getChildren(java.lang.String)
+ */
+ public Collection getChildren(String parentUri)
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#getFolders(java.lang.String)
+ */
+ public Collection getFolders(String parentUri)
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#getDocuments(java.lang.String)
+ */
+ public Collection getDocuments(String parentUri)
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#insertHistoryElement(org.apache.portals.graffito.model.HistoryElement)
+ */
+ public void insertHistoryElement(HistoryElement historyElement)
+ throws ContentPersistenceException, CmsPermissionException
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#getHistory(org.apache.portals.graffito.model.Document)
+ */
+ public HistoryElement getHistory(Document document)
+ throws CmsPermissionException
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#newFilter()
+ */
+ public Filter newFilter()
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#getObjectByQuery(java.lang.Class, org.apache.portals.graffito.search.Filter)
+ */
+ public Object getObjectByQuery(Class clazz, Filter filter)
+ throws CmsPermissionException
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#getCollectionByQuery(java.lang.Class, org.apache.portals.graffito.search.Filter)
+ */
+ public Collection getCollectionByQuery(Class clazz, Filter filter)
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#getIteratorByQuery(java.lang.Class, org.apache.portals.graffito.search.Filter)
+ */
+ public Iterator getIteratorByQuery(Class clazz, Filter filter)
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#delete(java.lang.Object)
+ */
+ public void delete(Object object) throws ContentPersistenceException,
+ CmsPermissionException
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#deleteAll(java.lang.Class, org.apache.portals.graffito.search.Filter)
+ */
+ public void deleteAll(Class clazz, Filter filter)
+ throws ContentPersistenceException, CmsPermissionException
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#insert(java.lang.Object)
+ */
+ public void insert(Object object) throws ContentPersistenceException,
+ CmsPermissionException
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#update(java.lang.Object)
+ */
+ public void update(Object object) throws ContentPersistenceException,
+ CmsPermissionException
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#isClosed()
+ */
+ public boolean isClosed()
+ {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#close()
+ */
+ public void close()
+ {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.portals.graffito.store.ContentStore#getScope()
+ */
+ public String getScope()
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+}