Class JCRDeleteFileStorageImpl
- java.lang.Object
-
- org.exoplatform.documents.storage.jcr.JCRDeleteFileStorageImpl
-
- All Implemented Interfaces:
org.exoplatform.documents.storage.JCRDeleteFileStorage,org.picocontainer.Startable
public class JCRDeleteFileStorageImpl extends Object implements org.exoplatform.documents.storage.JCRDeleteFileStorage, org.picocontainer.Startable
-
-
Field Summary
Fields Modifier and Type Field Description static Map<String,String>documentsToDeleteQueue
-
Constructor Summary
Constructors Constructor Description JCRDeleteFileStorageImpl(org.exoplatform.services.jcr.RepositoryService repositoryService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.documents.storage.TrashStorage trashStorage, org.exoplatform.social.metadata.favorite.FavoriteService favoriteService, org.exoplatform.container.PortalContainer container, org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviderService, org.exoplatform.services.listener.ListenerService listenerService)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleancanRemoveNode(javax.jcr.Node node)voiddeleteDocument(String folderPath, String documentId, boolean favorite, boolean checkToMoveToTrash, long delay, org.exoplatform.services.security.Identity identity, long userIdentityId)voidstart()voidstop()voidundoDelete(String documentId, long userIdentityId)
-
-
-
Constructor Detail
-
JCRDeleteFileStorageImpl
public JCRDeleteFileStorageImpl(org.exoplatform.services.jcr.RepositoryService repositoryService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.documents.storage.TrashStorage trashStorage, org.exoplatform.social.metadata.favorite.FavoriteService favoriteService, org.exoplatform.container.PortalContainer container, org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviderService, org.exoplatform.services.listener.ListenerService listenerService)
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceorg.picocontainer.Startable
-
stop
public void stop()
- Specified by:
stopin interfaceorg.picocontainer.Startable
-
undoDelete
public void undoDelete(String documentId, long userIdentityId)
- Specified by:
undoDeletein interfaceorg.exoplatform.documents.storage.JCRDeleteFileStorage
-
deleteDocument
public void deleteDocument(String folderPath, String documentId, boolean favorite, boolean checkToMoveToTrash, long delay, org.exoplatform.services.security.Identity identity, long userIdentityId)
- Specified by:
deleteDocumentin interfaceorg.exoplatform.documents.storage.JCRDeleteFileStorage
-
canRemoveNode
public static boolean canRemoveNode(javax.jcr.Node node) throws javax.jcr.RepositoryException- Throws:
javax.jcr.RepositoryException
-
-