Uses of Interface
org.xmldb.api.base.Resource
-
Packages that use Resource Package Description org.xmldb.api.base org.xmldb.api.modules org.xmldb.api.security -
-
Uses of Resource in org.xmldb.api.base
Methods in org.xmldb.api.base with type parameters of type Resource Modifier and Type Method Description <R extends Resource>
RCollection. createResource(java.lang.String id, java.lang.Class<R> type)Creates a new emptyResourcewith the provided id.Methods in org.xmldb.api.base that return Resource Modifier and Type Method Description ResourceResourceSet. getMembersAsResource()Returns a Resource containing an XML representation of all resources stored in the set.ResourceCollection. getResource(java.lang.String id)Retrieves aResourcefrom the database.ResourceResourceSet. getResource(long index)Returns theResourceinstance stored at the index specified by index.ResourceResourceIterator. nextResource()Returns the nextResourceinstance in the iterator.Methods in org.xmldb.api.base with parameters of type Resource Modifier and Type Method Description voidResourceSet. addResource(Resource res)Adds aResourceinstance to the set.voidCollection. removeResource(Resource res)Removes theResourcefrom the database.voidCollection. storeResource(Resource res)Stores the provided resource into the database.Method parameters in org.xmldb.api.base with type arguments of type Resource Modifier and Type Method Description default voidResourceIterator. forEachRemaining(java.util.function.Consumer<? super Resource> action)Calls the given action for each resource. -
Uses of Resource in org.xmldb.api.modules
Subinterfaces of Resource in org.xmldb.api.modules Modifier and Type Interface Description interfaceBinaryResourceResource for encapsulation of binary data that is stored in the data base.interfaceXMLResourceProvides access to XML resources stored in the database. -
Uses of Resource in org.xmldb.api.security
Methods in org.xmldb.api.security with parameters of type Resource Modifier and Type Method Description java.util.List<AclEntry>PermissionManagementService. getAcl(Resource resource)Returns a list of current ACL (Access Control List) entries for the given resource.AttributesPermissionManagementService. getAttributes(Resource resource)Returns an attribute view for the given resource.GroupPrincipalPermissionManagementService. getGroup(Resource resource)Returns the current group of the given resource.UserPrincipalPermissionManagementService. getOwner(Resource resource)Returns the current owner of the given resource.java.util.Set<Permission>PermissionManagementService. getPermissions(Resource resource)Returns a set of currently set permissions for the given resource.voidPermissionManagementService. setAcl(Resource resource, java.util.List<AclEntry> aclEntries)Replaces the current ACL (Access Control List) entries of the given resource with the given new ACL entries list.voidPermissionManagementService. setGroup(Resource resource, GroupPrincipal group)Sets the new group of the given resource.voidPermissionManagementService. setOwner(Resource resource, UserPrincipal owner)Sets the new owner of the given resource.voidPermissionManagementService. setPermissions(Resource resource, java.util.Set<Permission> perms)Replaces the current permissions of the given resource with the given new permission set.
-