01: package com.sun.portal.providers;
02:
03: /**
04: * This class defines the edit types that can be returned from the
05: * <code>Provider.getEditType()</code> method.
06: *
07: * The edit type informs a client of a provider object what it can expect to
08: * be returned from the provider's getEdit() method.
09: */
10:
11: public interface ProviderEditTypes {
12:
13: /**
14: * Edit page is <i>not</i> a complete document.
15: * This value is potentially returned from <code>.getEditType()</code>
16: * to signify that the buffer returned is only a subset of an
17: * document.
18: *
19: * @see com.sun.portal.providers.ProviderEditTypes#EDIT_COMPLETE
20: * @see com.sun.portal.providers.Provider#getEditType
21: * @see com.sun.portal.providers.Provider#getEdit
22: */
23:
24: public final static int EDIT_SUBSET = 3;
25:
26: /**
27: * Edit page is a complete document.
28: * This value is potentially returned from <code>.getEdit()</code>
29: * to signify that the buffer returned is a complete
30: * document.
31: *
32: * @see com.sun.portal.providers.ProviderEditTypes#EDIT_SUBSET
33: * @see com.sun.portal.providers.Provider#getEditType
34: * @see com.sun.portal.providers.Provider#getEdit
35: *
36: */
37: public final static int EDIT_COMPLETE = 4;
38: }
|