Class UmaResourceService


  • @ApplicationScoped
    public class UmaResourceService
    extends Object
    Author:
    Yuriy Zabrovarnyy
    • Constructor Detail

      • UmaResourceService

        public UmaResourceService()
    • Method Detail

      • addBranch

        public void addBranch()
      • findResources

        public List<io.jans.as.model.uma.persistence.UmaResource> findResources​(String pattern,
                                                                                int sizeLimit)
      • findResourcesByName

        public List<io.jans.as.model.uma.persistence.UmaResource> findResourcesByName​(String name,
                                                                                      int sizeLimit)
      • getAllResources

        public List<io.jans.as.model.uma.persistence.UmaResource> getAllResources​(int sizeLimit)
      • getAllResources

        public List<io.jans.as.model.uma.persistence.UmaResource> getAllResources()
      • addResource

        public void addResource​(io.jans.as.model.uma.persistence.UmaResource resource)
      • updateResource

        public void updateResource​(io.jans.as.model.uma.persistence.UmaResource resource)
      • remove

        public void remove​(io.jans.as.model.uma.persistence.UmaResource resource)
      • remove

        public void remove​(String rsid)
      • getResourceById

        public io.jans.as.model.uma.persistence.UmaResource getResourceById​(String id)
      • getResourcesByClient

        public List<io.jans.as.model.uma.persistence.UmaResource> getResourcesByClient​(String clientDn)
      • getDnForResource

        public String getDnForResource​(String jsId)
      • getBaseDnForResource

        public String getBaseDnForResource()
      • searchUmaResource

        public io.jans.orm.model.PagedResult<io.jans.as.model.uma.persistence.UmaResource> searchUmaResource​(io.jans.model.SearchRequest searchRequest)