|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.jcr.business.AbstractRepositoryDAO
fr.paris.lutece.plugins.jcr.business.AbstractRepositoryContentDAO
fr.paris.lutece.plugins.jcr.business.AlfrescoRepositoryFileDAO
public class AlfrescoRepositoryFileDAO
An IRepositoryFileDAO implementation for Alfresco JCR
| Field Summary | |
|---|---|
protected static java.lang.String |
PATH_SEPARATOR
|
protected static java.lang.String |
RESOURCE_TYPE
|
| Fields inherited from class fr.paris.lutece.plugins.jcr.business.AbstractRepositoryContentDAO |
|---|
ATTRIBUTE_NODE_SIZE, DEFAULT_MIME_TYPE, MIXIN_REFERENCEABLE, MIXIN_VERSIONNABLE, NODE_TYPE_FILE, NODE_TYPE_FILE_RESOURCE, NODE_TYPE_FOLDER, NODE_TYPE_JCR_CONTENT, PROPERTY_JCR_DATA, PROPERTY_JCR_LASTMODIFIED, PROPERTY_JCR_MIMETYPE, PROPERTY_JCR_NAME, REGEXP_ABSOLUTE_PATH, ROOT_NODE_PATH |
| Fields inherited from class fr.paris.lutece.plugins.jcr.business.AbstractRepositoryDAO |
|---|
_jcrTemplate, _repositoryInitializer, _strDefaultWorkspaceName |
| Constructor Summary | |
|---|---|
protected |
AlfrescoRepositoryFileDAO()
Default constructor, instantiates the configuration properties |
| Method Summary | |
|---|---|
protected boolean |
exists(javax.jcr.Node node)
Get the node existence |
protected java.lang.String |
getAbsolutePath(javax.jcr.Node node)
Get the absolute path of a node |
protected java.util.Calendar |
getCreated(javax.jcr.Node node)
Get the creation date |
protected java.io.InputStream |
getFileContent(javax.jcr.Node node)
Get the node content |
protected java.util.Calendar |
getLastModified(javax.jcr.Node node)
Get the modification date |
protected java.lang.String |
getMimeType(javax.jcr.Node node)
Get the Mime type |
protected java.lang.String |
getName(javax.jcr.Node node)
Gets the name of a node |
protected java.lang.String |
getPath(javax.jcr.Node node)
Gives the path of a node It must be overloaded by children classes |
protected java.util.Properties |
getProperties()
Gives a way to the configuration properties |
protected long |
getSize(javax.jcr.Node node)
Get the size of node content |
protected boolean |
isDirectory(javax.jcr.Node node)
Get the node type |
protected boolean |
isFile(javax.jcr.Node node)
Get the node type |
protected boolean |
setContent(javax.jcr.Node node,
java.io.InputStream inputStream,
java.lang.String strMimeType)
Set the content of a node |
| Methods inherited from class fr.paris.lutece.plugins.jcr.business.AbstractRepositoryContentDAO |
|---|
create, create, delete, findById, findById, findByPath, getHistory, getParentUUID, getPathToFile, getProperty, getUUID, isVersionnable, listFiles, ownsLock, removeLock, setLock, setVersionnable, store |
| Methods inherited from class fr.paris.lutece.plugins.jcr.business.AbstractRepositoryDAO |
|---|
execute, execute, free, init, isAlive |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fr.paris.lutece.plugins.jcr.business.IRepositoryFileDAO |
|---|
create, create, delete, findById, findById, findByPath, getHistory, getPathToFile, listFiles, removeLock, setLock, setVersionnable, store |
| Methods inherited from interface fr.paris.lutece.plugins.jcr.business.IJsr170DAO |
|---|
free, isAlive |
| Field Detail |
|---|
protected static final java.lang.String PATH_SEPARATOR
protected static final java.lang.String RESOURCE_TYPE
| Constructor Detail |
|---|
protected AlfrescoRepositoryFileDAO()
| Method Detail |
|---|
protected java.lang.String getAbsolutePath(javax.jcr.Node node)
getAbsolutePath in class AbstractRepositoryContentDAOnode - the node
protected java.io.InputStream getFileContent(javax.jcr.Node node)
getFileContent in class AbstractRepositoryContentDAOnode - the node
protected long getSize(javax.jcr.Node node)
getSize in class AbstractRepositoryContentDAOnode - the node
protected boolean isDirectory(javax.jcr.Node node)
isDirectory in class AbstractRepositoryContentDAOnode - the node
protected boolean isFile(javax.jcr.Node node)
isFile in class AbstractRepositoryContentDAOnode - the node
protected boolean exists(javax.jcr.Node node)
exists in class AbstractRepositoryContentDAOnode - the node
protected java.lang.String getMimeType(javax.jcr.Node node)
getMimeType in class AbstractRepositoryContentDAOnode - the node
protected java.util.Calendar getCreated(javax.jcr.Node node)
getCreated in class AbstractRepositoryContentDAOnode - the node
protected java.util.Calendar getLastModified(javax.jcr.Node node)
getLastModified in class AbstractRepositoryContentDAOnode - the node
protected boolean setContent(javax.jcr.Node node,
java.io.InputStream inputStream,
java.lang.String strMimeType)
setContent in class AbstractRepositoryContentDAOnode - the nodeinputStream - a stream with the contentstrMimeType - the Mime type
protected java.lang.String getName(javax.jcr.Node node)
getName in class AbstractRepositoryContentDAOnode - the node
protected java.lang.String getPath(javax.jcr.Node node)
AbstractRepositoryContentDAO
getPath in class AbstractRepositoryContentDAOnode - the node
protected java.util.Properties getProperties()
AbstractRepositoryContentDAO
getProperties in class AbstractRepositoryContentDAO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||