|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.data.attachments.LocalTempAttachmentsProvider
com.webmethods.caf.jcr.faces.data.JcrTempAttachmentsProvider
LocalTempAttachmentsProvider
instead
@Deprecated public class JcrTempAttachmentsProvider
Subclass of the JcrAttachmentsProvider to store attachments in a temp JCR folder that can then be migrated to a permanent folder later.
Nested Class Summary | |
---|---|
protected static class |
JcrTempAttachmentsProvider.ErrorReportingMode
Deprecated. Used to affect how errors are reported |
Nested classes/interfaces inherited from class com.webmethods.caf.faces.data.attachments.LocalTempAttachmentsProvider |
---|
LocalTempAttachmentsProvider.FileItemImpl, LocalTempAttachmentsProvider.TempAttachmentItem |
Field Summary | |
---|---|
protected Session |
jcrSession
Deprecated. Reference to the current JCR session |
protected AttachmentsMigrationProvider |
migrationProvider
Deprecated. Reference to the attachments migration provider |
Fields inherited from class com.webmethods.caf.faces.data.attachments.LocalTempAttachmentsProvider |
---|
fTempFolder |
Constructor Summary | |
---|---|
JcrTempAttachmentsProvider()
Deprecated. |
Method Summary | |
---|---|
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(Session jcrSession)
Deprecated. Sets the active JCR session |
Methods inherited from class com.webmethods.caf.faces.data.attachments.LocalTempAttachmentsProvider |
---|
addAttachment, finalize, getHasAttachments, getTempFolder, isAddAttachmentsAvailable, listAttachments, removeAttachment, updateAttachment, valueBound, valueUnbound |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient Session jcrSession
protected AttachmentsMigrationProvider migrationProvider
Constructor Detail |
---|
public JcrTempAttachmentsProvider()
Method Detail |
---|
public Session getJcrSession()
public void setJcrSession(Session jcrSession)
jcrSession
- the JCR session to usepublic AttachmentsMigrationProvider getMigrationProvider()
protected boolean sanityCheck(JcrTempAttachmentsProvider.ErrorReportingMode mode)
mode
- the error reporting mode
protected void reportError(JcrTempAttachmentsProvider.ErrorReportingMode mode, String msg)
mode
- the error reporting mode to usemsg
- the error message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |