Class UserListServiceImpl

    • Constructor Detail

      • UserListServiceImpl

        public UserListServiceImpl()
    • Method Detail

      • setBundleContext

        public void setBundleContext​(org.osgi.framework.BundleContext bundleContext)
      • postConstruct

        public void postConstruct()
      • preDestroy

        public void preDestroy()
      • getUserListMetadatas

        public PartialList<Metadata> getUserListMetadatas​(int offset,
                                                          int size,
                                                          String sortBy)
        Description copied from interface: UserListService
        Retrieves user lists metadatas, ordered according to the specified sortBy String and and paged: only size of them are retrieved, starting with the offset-th one.
        Specified by:
        getUserListMetadatas in interface UserListService
        Parameters:
        offset - zero or a positive integer specifying the position of the first element in the total ordered collection of matching elements
        size - a positive integer specifying how many matching elements should be retrieved or -1 if all of them should be retrieved
        sortBy - an optional (null if no sorting is required) String of comma (,) separated property names on which ordering should be performed, ordering elements according to the property order in the String, considering each in turn and moving on to the next one in case of equality of all preceding ones. Each property name is optionally followed by a column (:) and an order specifier: asc or desc.
        Returns:
        a PartialList of UserList metadata
      • bundleChanged

        public void bundleChanged​(org.osgi.framework.BundleEvent bundleEvent)
        Specified by:
        bundleChanged in interface org.osgi.framework.BundleListener