Examples of CollectionRepositoryEnumeration


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

Examples of com.volantis.mcs.accessors.CollectionRepositoryEnumeration

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

Examples of com.volantis.mcs.accessors.CollectionRepositoryEnumeration

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

Examples of com.volantis.mcs.accessors.CollectionRepositoryEnumeration

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

Examples of com.volantis.mcs.accessors.CollectionRepositoryEnumeration

        // ... 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

Examples of com.volantis.mcs.accessors.CollectionRepositoryEnumeration

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

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

Examples of com.volantis.mcs.accessors.CollectionRepositoryEnumeration

        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

Examples of com.volantis.mcs.accessors.CollectionRepositoryEnumeration

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

        return new CollectionRepositoryEnumeration(orphaned);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.