Class PortalResourceDao

    • Constructor Detail

      • PortalResourceDao

        public PortalResourceDao()
    • Method Detail

      • getObjectForPK

        public PortalResource getObjectForPK​(Object id)
        Return the portal resource with the specified OID
        Parameters:
        id - the OID
        Returns:
        the matching portal resource, or null if not found
      • getPortalResourceByPath

        public PortalResource getPortalResourceByPath​(Object portalId,
                                                      String path)
        Return the portal resource with the specified path and the given portal
        Parameters:
        portalId - the non-null OID of the portal
        path - the non-null portal resource path
        Returns:
        the matching portal resource
      • getPortalResourceList

        public List<PortalResource> getPortalResourceList​(Object portalId,
                                                          Object[] portalResourceIds)
        Return the list of portal resources for a given portal and a set of portal resource OIDs
        Parameters:
        portalId - the non-null OID of the portal
        portalResourceIds - the non-null array of portal resource OIDs
        Returns:
        the list of matching portal resources
      • getPortalResourceList

        public List<PortalResource> getPortalResourceList​(Object portalId)
        Return the list of portal resources for a portal, ordered by path
        Parameters:
        portalId - the non-null OID of the portal
        Returns:
        the list of portal resources