com.ibm.portal.cp.resources
Interface CustomResource
- All Superinterfaces:
- Identifiable, Localized, Resource, TimeStamped
- All Known Subinterfaces:
- ModifiableCustomResource
- All Known Implementing Classes:
- AbstractCustomResource
-
public interface CustomResource
- extends Resource, Identifiable, TimeStamped
Interface for a Resource that is not
portal managed, thus called a custom resource. It is identified by the
URI and a ObjectID will be created for this custom
resource when it is created. This ObjectID can only be used
within the ResourceModel or the
TagModel or
RatingModel to search for a custom resource.
Note:It is important to implement the
Object.equals(Object) and
Object.hashCode() methods as custom resource likely
are held in collections.
- Since:
- 7.0.0
- Note:
This interface is designed to be implemented by clients. |
Method Summary
|
java.util.Collection<java.lang.String> |
getCategories()
Return the categories this resource belongs to. |
getCategories
java.util.Collection<java.lang.String> getCategories()
throws ModelException
- Returns the categories this resource belongs to.
- Returns:
- The categories this resource belongs to.
- Throws:
- ModelException