Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package org.litesoft.datt.server;

import org.litesoft.bo.views.*;
import org.litesoft.datt.server.boviews.podataproviders.*;
import org.litesoft.datt.server.pos.*;
import org.litesoft.or.*;
import org.litesoft.orsup.nonpublic.*;
import org.litesoft.security.*;

import static org.litesoft.bo.views.ServerVoDataProviderMap.*;

public class DATT_MetaDataRegistry extends MetaDataRegistry implements ServerVoDataProviderMapFactory {
    public static final DATT_MetaDataRegistry INSTANCE = new DATT_MetaDataRegistry();

    private DATT_MetaDataRegistry() {
        super( //
               DeviceMetaData.INSTANCE, //
               DocumentReferenceMetaData.INSTANCE, //
               EmailMetaData.INSTANCE, //
               ImageReferenceMetaData.INSTANCE, //
               PhoneMetaData.INSTANCE, //
               ReportAllRestrictedResourceCommonMetaData.INSTANCE, //
               ReportRestrictedResourceCommonMetaData.INSTANCE, //
               RestrictedResourceMetaData.INSTANCE, //
               StoryMetaData.INSTANCE, //
               StoryChangeMetaData.INSTANCE, //
               StoryTemplateMetaData.INSTANCE, //
               StoryUpdateMetaData.INSTANCE, //
               TaskMetaData.INSTANCE, //
               TaskTemplateMetaData.INSTANCE, //
               ToDoStoryMetaData.INSTANCE, //
               ToDoTaskMetaData.INSTANCE, //
               UserMetaData.INSTANCE, //

               // Xrefs:
               UserXrefRestrictedResourceMetaData.INSTANCE, //
               UserXrefTaskMetaData.INSTANCE, //

               //Bridges
//               DocumentBridgeMetaData.INSTANCE, //
//               ImageBridgeMetaData.INSTANCE, //

               // Sequences
               DBSequencesMetaData.INSTANCE );
    }

    @Override
    public ServerVoDataProviderMap createServerVoDataProviderMap() {
        UserViewPoServerVoDataProvider zUserViewPoServerVoDataProvider = new UserViewPoServerVoDataProvider( this );
        return new ServerVoDataProviderMap( mapping( new RestrictedResourceViewPoServerVoDataProvider( this ) ), //
                                            mapping( new StoryViewPoServerVoDataProvider( this ) ), //
                                            mapping( zUserViewPoServerVoDataProvider ), //
                                            mapping( SecurityUserView.class, zUserViewPoServerVoDataProvider ) //
        );
    }
}

Commits for litesoft/trunk/Java/DATT/src/org/litesoft/datt/server/DATT_MetaDataRegistry.java

Diff revisions: vs.
Revision Author Commited Message
948 Diff Diff GeorgeS picture GeorgeS Sat 07 Jun, 2014 23:42:39 +0000

Jusefuls Formatter Updated to New Code Format

496 Diff Diff GeorgeS picture GeorgeS Sun 11 Sep, 2011 16:58:00 +0000
430 GeorgeS picture GeorgeS Sat 20 Aug, 2011 19:46:21 +0000