Resource related utilities.
Adapts an object to a location aware member resource.
Parameters: |
|
---|---|
Returns: | an object implementing everest.resources.interfaces.IMemberResource |
Returns the registered collection resource class for the given marker interface or member resource class or instance.
Parameters: | rc (class implementing or instance providing or subclass of a registered resource interface.) – registered resource |
---|
Returns the registered member class for the given resource.
Parameters: | rc (class implementing or instance providing or subclass of a registered resource interface.) – registered resource |
---|
Returns a clone of the collection from the repository registered for the given registered resource.
Parameters: | rc (class implementing or instance providing or subclass of a registered resource interface.) – registered resource |
---|
Returns a clone of the collection in the stage repository matching the given registered resource.
Parameters: | rc (class implementing or instance providing or subclass of a registered resource interface.) – registered resource |
---|
Checks if the given URL string is a resource URL.
Currently, this check only looks if the URL scheme is either “http” or “https”.
Checks if the given type or instance provides the everest.resources.interfaces.ICollectionResource interface.