fr.paris.lutece.plugins.jcr.business
Class RemoteAlfrescoRepositoryFileDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.jcr.business.AbstractRepositoryDAO
      extended by fr.paris.lutece.plugins.jcr.business.AbstractRepositoryContentDAO
          extended by fr.paris.lutece.plugins.jcr.business.AlfrescoRepositoryFileDAO
              extended by fr.paris.lutece.plugins.jcr.business.RemoteAlfrescoRepositoryFileDAO
All Implemented Interfaces:
IJsr170DAO, IRepositoryFileDAO

public class RemoteAlfrescoRepositoryFileDAO
extends AlfrescoRepositoryFileDAO

An IRepositoryFileDAO implementation for Alfresco JCR


Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.jcr.business.AlfrescoRepositoryFileDAO
PATH_SEPARATOR, 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 RemoteAlfrescoRepositoryFileDAO()
           
 
Method Summary
protected  long getSize(javax.jcr.Node node)
          Get the size of node content
protected  boolean isVersionnable(javax.jcr.Node node)
          Tells whether a node is versionable
 void releaseSession(javax.jcr.Session session)
           
 
Methods inherited from class fr.paris.lutece.plugins.jcr.business.AlfrescoRepositoryFileDAO
exists, getAbsolutePath, getCreated, getDepth, getFileContent, getLastModified, getMimeType, getName, getPath, getProperties, isDirectory, isFile, setContent
 
Methods inherited from class fr.paris.lutece.plugins.jcr.business.AbstractRepositoryContentDAO
create, create, delete, findById, findById, findByPath, getHistory, getParentUUID, getPathToFile, getProperty, getUUID, 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
 

Constructor Detail

RemoteAlfrescoRepositoryFileDAO

protected RemoteAlfrescoRepositoryFileDAO()
Method Detail

getSize

protected long getSize(javax.jcr.Node node)
Get the size of node content

Overrides:
getSize in class AlfrescoRepositoryFileDAO
Parameters:
node - the node
Returns:
the size in bytes

isVersionnable

protected boolean isVersionnable(javax.jcr.Node node)
Description copied from class: AbstractRepositoryContentDAO
Tells whether a node is versionable

Overrides:
isVersionnable in class AbstractRepositoryContentDAO
Parameters:
node - to test
Returns:
true if it is versionable (ie contains a mixin cm:versionable)

releaseSession

public void releaseSession(javax.jcr.Session session)
Overrides:
releaseSession in class AlfrescoRepositoryFileDAO


Copyright © 2014 Mairie de Paris. All Rights Reserved.