Package org.osid.resource
The Open Service Interface Definitions for the org.osid.resource service.
The Resource OSID defines a service to access and manage a directory of objects.
Resources
Resources may represent people, places or a set or arbitrary
entities that are used throughout the OSIDs as references to indirect
objects. In core OSID, Resources have no other meaning other than
to provide an identifier and a relation to an authentication principal.
Resource Types may define extra data to define an employee,
organizational unit or an inventory item.
Resources are referenced throughout the OSIDs to and the
abstraction level of this service provides a consistent interface with
which to access and manage object references not directly pertinent to the
service in play. For example, a Repository OSID may reference
Resources as authors or a Course OSID may reference Resources for
students and instructors. Each of these OSIDs may orchestrate a Resource
OSID to provide management of the set of referenced resources.
A Resource genus Type may be used to provide a label the kind
of resource. This service offers the flexibility that the producer of a
film may be a person, a production company, or a fire hydrant. While genus
Types may be used to constrain the kinds of Resources that
may be related to various OsidObjects if necessary, OSID Consumers
are expected to simply use the Resource as a reference. If an OSID Consumer
wishes to provide a mechanism for updating a Resource referenced,
the OSID Consumer should use an orchestrated Resource OSID.
Agents
A Resource also provides the mapping between an authentication
Agent and the entity on whose behalf the agent is acting. An
Agent can only map to a single Resource while a Resource
can have multiple Agents . An agent that represents the unix login
of "vijay" on server due.mit.edu can map to a Resource representing
Vijay Kumar, who may also have a campus agent of "vkumar@mit.edu."
Group
When a Resource is referenced in another OSID, it is a singular
entity. To provide groupings of multiple people or things, a
Resource can also be defined as a hierarchical group of other resources.
Whether a resource is a single entity or a group is an attribute of the
Resource itself. If a Resource is a group, then its
membership can be queried or managed in one of the group sessions. This
overloading of the object definition serves to keep the nature of the
resource separate from the other OSIDs such that a message to a "group",
for example, is referenced as a single resource receipient. Other OSIDs are
blind to whether or not a referenced Resource is a group or a
singular entity..
Resource Relationships
For kicks, Resources may have arbitrrary relationships to other
Resources using the ResourceRelationship interface.
Resource relationships may also be used to provide a place to describe in
more detail, or hang data, on a member to group relationship.
Bin Cataloging
Resources may be mapped into hierarchial Bins for the
purpose of cataloging or federation.
Sub Packages
The Resource OSID includes a Resource Demographic OSID for managing
dynamically generated populations of Resources and a Resource Batch
OSID for managing Resources in bulk.
Copyright © 2006-2008 Massachusetts Institute of Technology.
Copyright © 2010 Ingenescus. All Rights Reserved.
This Work is being provided by the copyright holder(s) subject to the following license. By obtaining, using and/or copying this Work, you agree that you have read, understand, and will comply with the following terms and conditions.
Permission to use, copy and distribute unmodified versions of this Work, for any purpose, without fee or royalty is hereby granted, provided that you include the above copyright notices and the terms of this license on ALL copies of the Work or portions thereof.
You may modify or create Derivatives of this Work only for your internal purposes. You shall not distribute or transfer any such Derivative of this Work to any location or to any third party. For the purposes of this license, "Derivative" shall mean any derivative of the Work as defined in the United States Copyright Act of 1976, such as a translation or modification.
This Work and the information contained herein is provided on an "AS IS" basis WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS IN THE WORK.
The export of software employing encryption technology may require a specific license from the United States Government. It is the responsibility of any person or organization contemplating export to obtain such a license before exporting this Work.
-
InterfacesClassDescriptionAn inventory defines a collection of resources.This session creates, updates, and deletes
Bins.This is the form for creating and updating bins.This session defines methods for managing a hierarchy ofBinobjects.This session defines methods for traversing a hierarchy ofBinobjects.Like allOsidLists,BinListprovides a means for accessingBinelements sequentially either one at a time or many at a time.This session provides methods for retrievingBinobjects.This interface is a container for a partial hierarchy retrieval.Like allOsidLists,BinNodeListprovides a means for accessingBinNodeelements sequentially either one at a time or many at a time.This session defines methods to receive notifications on adds/changes toBinobjects.This is the query for searching bins.This is the query inspector for examining bin queries.This session provides methods for searching amongBinobjects.The bin receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deletedBinobjects.The interface for governing bin searches.An interface for specifying the ordering of search results.This interface provides a means to capture results of a search.This session provides methods for searching amongBinobjects.This session provides methods to re-assignResourcesto groupResources.This session provides a hierarchical view of resource groups.This session defines methods to receive notifications on adds/changes toResourcemembers.The resource group receiver is the consumer supplied interface for receiving notifications pertaining to new or deleted members.This session provides methods to retrieveResourcetoGroupmappings.This session provides methods to query if aResourceis a member of anotherResource.AResourcerepresents an arbitrary entity.This session creates, updates, and deletesResources.This session provides methods to re-assignResourcetoAgents.This session provides methods to retrieveResourcetoAgentmappings.This session provides methods to re-assignResourcestoBins.This session provides methods to retrieveResourcetoBinmappings.This is the form for creating and updatingResources.Like allOsidLists,ResourceListprovides a means for accessingResourceelements sequentially either one at a time or many at a time.This session defines methods for retrieving resources.The resource manager provides access to resource lookup and creation sessions and provides interoperability tests for various aspects of this service.This interface is a container for a partial hierarchy retrieval.Like allOsidLists,ResourceNodeListprovides a means for accessingResourceNodeelements sequentially either one at a time or many at a time.This session defines methods to receive notifications on adds/changes toResourceobjects in thisBin.The resource profile describes interoperability among resource services.The resource manager provides access to resource lookup and creation session and provides interoperability tests for various aspects of this service.This is the query for searching resources.This is the query inspector for examining resource queries.This session provides methods for searching amongResourceobjects.The resource receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deletedResourceobjects.ResourceRelationshiprelates two resources.This session creates, updates, and deletesResourceRelationships.This session provides methods to re-assignResourceRelationshipstoBins.This session provides methods to retrieveResourceRelationshiptoBinmappings.This is the form for creating and updatingResourceRelationships.Like allOsidLists,ResourceRelationshipListprovides a means for accessingResourceRelationshipelements sequentially either one at a time or many at a time.This session provides methods for examining resource relationships.This session defines methods to receive asynchronous notifications on adds/changes to resource relationships.This is the query for searching resource relationships.This is the query inspector for examining resource relationship queries.This session provides methods for searchingResourceRelationshipobjects.The resource relationship receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deletedResourceRelationships.ResourceRelationshipSearchdefines the interface for specifying relationship search options.An interface for specifying the ordering of search results.This interface provides a means to capture results of a search.This session provides methods for searchingResourceRelationshipobjects.This session manages queries and sequencing to create "smart" dynamic catalogs.The search interface for governing resource searches.An interface for specifying the ordering of search results.This interface provides a means to capture results of a search.This session provides methods for searching amongResourceobjects.This session manages queries and sequencing to create "smart" dynamic catalogs.