Package de.innovationgate.wgaservices.types

Examples of de.innovationgate.wgaservices.types.DatabaseServerInfo


        public Image getColumnImage(Object element, int columnIndex) {
            return null;
        }

        public String getColumnText(Object element, int columnIndex) {
            DatabaseServerInfo server = (DatabaseServerInfo)element;
            if (columnIndex == 0) {
                return server.getTitle();
            } else if (columnIndex == 1) {
                return server.getDescription();
            }
            return null;
        }
View Full Code Here


                while (servers.hasNext()) {
                    WGDatabaseServer server = servers.next();               
                    Iterator<ModuleDefinition> csTypes = server.getContentStoreTypes().iterator();
                                       
                    if (csTypes.hasNext()) {
                        DatabaseServerInfo info = new DatabaseServerInfo();
                        info.setUid(server.getUid());
                        info.setTitle(server.getTitle(Locale.ENGLISH));
                        infos.add(info);
                       
                        while (csTypes.hasNext()) {
                            ModuleDefinition csType = csTypes.next();                       
                            if (server.isDatabaseTypeCreatable((Class<? extends WGDatabaseCore>)csType.getImplementationClass())) {
                                info.getCreateableContentStoreImplemenations().add(csType.getImplementationClass().getName());                           
                            }
                        }
                    }                   
                }
            }
View Full Code Here

TOP

Related Classes of de.innovationgate.wgaservices.types.DatabaseServerInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.