| org.sakaiproject.content.api.ContentEntity
getContainingCollection | public ContentCollection getContainingCollection()(Code) | | Access this ContentEntity's containing collection, or null if this entity is the site collection.
|
getResourceType | public String getResourceType()(Code) | | Access the "type" of this ContentEntity, which defines which ResourceType registration defines
its properties.
|
getUrl | public String getUrl(boolean relative)(Code) | | Access the URL which can be used to access the entity. Will return a relative or absolute url,
depending on value of the parameter. If parameter is true, URL will be relative to the server's
root. Otherwise, it will be a complete URL starting with the base URL of the server.
Parameters: relative - The URL which can be used to access the resource. |
isCollection | public boolean isCollection()(Code) | | Check whether an entity is a ContentCollection.
true if the entity implements the ContentCollection interface, false otherwise. |
isResource | public boolean isResource()(Code) | | Check whether an entity is a ContentResource.
true if the entity implements the ContentResource interface, false otherwise. |
setVirtualContentEntity | public void setVirtualContentEntity(ContentEntity ce)(Code) | | Parameters: ce - |
|
|