|
@@ -1,46 +1,46 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
|
- |
package org.litesoft.GWT.forms.server; |
3 |
|
- |
|
4 |
|
- |
import org.litesoft.*; |
5 |
|
- |
import org.litesoft.logger.*; |
6 |
|
- |
import org.litesoft.ui.def.nonpublic.support.*; |
7 |
|
- |
import org.litesoft.ui.support.*; |
8 |
|
- |
import org.litesoft.ui_1_5.*; |
9 |
|
- |
import org.litesoft.ui_1_5.def.*; |
10 |
|
- |
|
11 |
|
- |
import java.io.*; |
12 |
|
- |
|
13 |
|
- |
public interface FormServicePeer extends UI.Hints { |
14 |
|
- |
public static final Logger LOGGER = LoggerFactory.getLogger( FormServicePeer.class ); |
15 |
|
- |
|
16 |
|
- |
public static final String ERR_ATTR_NOT_FOUND = "AttributeNotFound"; |
17 |
|
- |
public static final String ERR_UNKNOWN_ACTION = "UnknownAction"; |
18 |
|
- |
public static final String ERR_VALUE_UPDATE_NOT_HANDLED = "ValueUpdateNotHandled"; |
19 |
|
- |
public static final String ERR_ILLEGAL_VALUE = "IllegalValue"; |
20 |
|
- |
public static final String ERR_UNEXPECTED = "UnexpectedError"; |
21 |
|
- |
public static final String IS_REQUIRED_ERROR_KEY = "IsRequired"; |
22 |
|
- |
|
23 |
|
- |
public ServicePeerToFormCreationData initializeAndCreateFormMetaData( PushInterface pPushInterface, |
24 |
|
- |
ISystemUserResolver pSystemUserResolver, |
25 |
|
- |
Long pUniqueFormID, |
26 |
|
- |
ISystemUser pSystemUser, |
27 |
|
- |
FormUsage pUsage, |
28 |
|
- |
Serializable pInitializationPayload, |
29 |
|
- |
ExternalizationInterface pExternalization, |
30 |
|
- |
FormAccessControl pAccessControl ); |
31 |
|
- |
|
32 |
|
- |
public void dispose(); |
33 |
|
- |
|
34 |
|
- |
public ServicePeerToFormData setRootObjectTo( Integer pAsyncMessageNumber, String pKey ); |
35 |
|
- |
|
36 |
|
- |
public AttributeResourceOptionsResponseData getResourceOptions( |
37 |
|
- |
AttributeResourceOptionsRequestData pRequest ); |
38 |
|
- |
|
39 |
|
- |
public ServicePeerToFormData formEvent( FormToServicePeerData pToServicePeerData ); |
40 |
|
- |
|
41 |
|
- |
public interface PushInterface { |
42 |
|
- |
public void releasedBy( FormServicePeer pFormServicePeer ); |
43 |
|
- |
|
44 |
|
- |
public void sendUnsolicitedData( ServicePeerToFormData pServicePeerToFormData ); |
45 |
|
- |
} |
46 |
|
- |
} |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
|
2 |
+ |
package org.litesoft.GWT.forms.server; |
|
3 |
+ |
|
|
4 |
+ |
import org.litesoft.*; |
|
5 |
+ |
import org.litesoft.logger.*; |
|
6 |
+ |
import org.litesoft.ui.def.nonpublic.support.*; |
|
7 |
+ |
import org.litesoft.ui.support.*; |
|
8 |
+ |
import org.litesoft.ui_1_5.*; |
|
9 |
+ |
import org.litesoft.ui_1_5.def.*; |
|
10 |
+ |
|
|
11 |
+ |
import java.io.*; |
|
12 |
+ |
|
|
13 |
+ |
public interface FormServicePeer extends UI.Hints { |
|
14 |
+ |
public static final Logger LOGGER = LoggerFactory.getLogger( FormServicePeer.class ); |
|
15 |
+ |
|
|
16 |
+ |
public static final String ERR_ATTR_NOT_FOUND = "AttributeNotFound"; |
|
17 |
+ |
public static final String ERR_UNKNOWN_ACTION = "UnknownAction"; |
|
18 |
+ |
public static final String ERR_VALUE_UPDATE_NOT_HANDLED = "ValueUpdateNotHandled"; |
|
19 |
+ |
public static final String ERR_ILLEGAL_VALUE = "IllegalValue"; |
|
20 |
+ |
public static final String ERR_UNEXPECTED = "UnexpectedError"; |
|
21 |
+ |
public static final String IS_REQUIRED_ERROR_KEY = "IsRequired"; |
|
22 |
+ |
|
|
23 |
+ |
public ServicePeerToFormCreationData initializeAndCreateFormMetaData( PushInterface pPushInterface, |
|
24 |
+ |
ISystemUserResolver pSystemUserResolver, |
|
25 |
+ |
Long pUniqueFormID, |
|
26 |
+ |
ISystemUser pSystemUser, |
|
27 |
+ |
FormUsage pUsage, |
|
28 |
+ |
Serializable pInitializationPayload, |
|
29 |
+ |
ExternalizationInterface pExternalization, |
|
30 |
+ |
FormAccessControl pAccessControl ); |
|
31 |
+ |
|
|
32 |
+ |
public void dispose(); |
|
33 |
+ |
|
|
34 |
+ |
public ServicePeerToFormData setRootObjectTo( Integer pAsyncMessageNumber, String pKey ); |
|
35 |
+ |
|
|
36 |
+ |
public AttributeResourceOptionsResponseData getResourceOptions( |
|
37 |
+ |
AttributeResourceOptionsRequestData pRequest ); |
|
38 |
+ |
|
|
39 |
+ |
public ServicePeerToFormData formEvent( FormToServicePeerData pToServicePeerData ); |
|
40 |
+ |
|
|
41 |
+ |
public interface PushInterface { |
|
42 |
+ |
public void releasedBy( FormServicePeer pFormServicePeer ); |
|
43 |
+ |
|
|
44 |
+ |
public void sendUnsolicitedData( ServicePeerToFormData pServicePeerToFormData ); |
|
45 |
+ |
} |
|
46 |
+ |
} |