Package com.volantis.mcs.accessors

Examples of com.volantis.mcs.accessors.CollectionRepositoryEnumeration


                            + " PROJECT: " + projectName);
                }
                JDBCAccessorHelper.setStringValue(ps, 1, projectName);
            }
        };
        return new CollectionRepositoryEnumeration(
                template.query(jdbcConnection, sql, rowProcessor,setter));
    }
View Full Code Here


                public void next(String pattern) {
                    devicePatterns.add(new String[]{deviceName, pattern});
                }
            });
        }
        return new CollectionRepositoryEnumeration(devicePatterns);
    }
View Full Code Here

                // This is how the old JDOM accessor worked.
                deviceFallbacks.add(new String[] {
                    entry.getDeviceName(), null});
            }
        }
        return new CollectionRepositoryEnumeration(deviceFallbacks);
    }
View Full Code Here

                    }
                }
            }
        }
        // else, we return an empty enumeration.
        return new CollectionRepositoryEnumeration(tacPairs);
    }
View Full Code Here

        // ... plus the fake fallback policy name.
        // Note that this will have a bit of a strange ordering, but I don't
        // think we make any guarantees about ordering...
        names.add(DeviceRepositoryConstants.FALLBACK_POLICY_NAME);

        return new CollectionRepositoryEnumeration(names);
    }
View Full Code Here

        if (DeviceRepositoryConstants.FALLBACK_POLICY_CATEGORY.equals(
                categoryName)) {
            names.add(DeviceRepositoryConstants.FALLBACK_POLICY_NAME);
        }

        return new CollectionRepositoryEnumeration(names);
    }
View Full Code Here

        final List categoryNames = new LinkedList();
        while (categoriesIter.hasNext()) {
            final Category category = (Category) categoriesIter.next();
            categoryNames.add(category.getName());
        }
        return new CollectionRepositoryEnumeration(categoryNames);
    }
View Full Code Here

            if (!deviceToFallback.containsKey(fallbackName)) {
                orphaned.add(deviceName);
            }
        }

        return new CollectionRepositoryEnumeration(orphaned);
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.accessors.CollectionRepositoryEnumeration

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.