Class AbstractUnicityChecker
- java.lang.Object
-
- org.nuxeo.ecm.platform.filemanager.core.listener.AbstractUnicityChecker
-
- Direct Known Subclasses:
AsynchronousUnicityCheckListener
,SynchronousUnicityCheckListener
public abstract class AbstractUnicityChecker extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
DUPLICATED_FILE
-
Constructor Summary
Constructors Constructor Description AbstractUnicityChecker()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
doUnicityCheck(DocumentModel doc2Check, CoreSession session, Event event)
protected boolean
isUnicityCheckEnabled()
protected abstract void
onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)
protected void
raiseDuplicatedFileEvent(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs)
-
-
-
Field Detail
-
DUPLICATED_FILE
protected static final String DUPLICATED_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
doUnicityCheck
protected void doUnicityCheck(DocumentModel doc2Check, CoreSession session, Event event)
-
onDuplicatedDoc
protected abstract void onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)
-
raiseDuplicatedFileEvent
protected void raiseDuplicatedFileEvent(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs)
-
isUnicityCheckEnabled
protected boolean isUnicityCheckEnabled()
-
-