LocalTempAttachmentsProvider
instead@Deprecated public class JcrTempAttachmentsProvider extends LocalTempAttachmentsProvider
Modifier and Type | Class and Description |
---|---|
protected static class |
JcrTempAttachmentsProvider.ErrorReportingMode
Deprecated.
Used to affect how errors are reported
|
LocalTempAttachmentsProvider.FileItemImpl, LocalTempAttachmentsProvider.TempAttachmentItem
Modifier and Type | Field and Description |
---|---|
protected javax.jcr.Session |
jcrSession
Deprecated.
Reference to the current JCR session
|
protected AttachmentsMigrationProvider |
migrationProvider
Deprecated.
Reference to the attachments migration provider
|
fTempFolder
Constructor and Description |
---|
JcrTempAttachmentsProvider()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
javax.jcr.Session |
getJcrSession()
Deprecated.
Returns the active JCR session
|
AttachmentsMigrationProvider |
getMigrationProvider()
Deprecated.
Migration Provider for easier codeless migration.
|
protected void |
reportError(JcrTempAttachmentsProvider.ErrorReportingMode mode,
String msg)
Deprecated.
Report an error
|
protected boolean |
sanityCheck(JcrTempAttachmentsProvider.ErrorReportingMode mode)
Deprecated.
Validates that the JCR session is alive and that the
parent node has been configured correctly
|
void |
setJcrSession(javax.jcr.Session jcrSession)
Deprecated.
Sets the active JCR session
|
addAttachment, finalize, getHasAttachments, getTempFolder, isAddAttachmentsAvailable, listAttachments, removeAttachment, updateAttachment, valueBound, valueUnbound
protected transient javax.jcr.Session jcrSession
protected AttachmentsMigrationProvider migrationProvider
public javax.jcr.Session getJcrSession()
public void setJcrSession(javax.jcr.Session jcrSession)
jcrSession
- the JCR session to usepublic AttachmentsMigrationProvider getMigrationProvider()
protected boolean sanityCheck(JcrTempAttachmentsProvider.ErrorReportingMode mode)
mode
- the error reporting modeprotected void reportError(JcrTempAttachmentsProvider.ErrorReportingMode mode, String msg)
mode
- the error reporting mode to usemsg
- the error message