|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.3.0) E15995-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Resource
A resource represents anything in the system that can be tagged. The uniqueness of the resource is specified through the combination of two attributes, the serviceId and the resourceId.
Method Summary | |
---|---|
int |
getBookmarkCount() Return the resource's number of bookmarks, that is, the number of times the resource has been bookmarked |
java.lang.String |
getId() Returns the resource's id |
java.util.Date |
getLastTaggedDate() Return the last time this resource has been tagged |
java.lang.String |
getName() Returns the name of the resource. |
int |
getScalarValue() Return the resource's scalar value. |
java.lang.String |
getScope() Returns the resource's scope |
java.lang.String |
getServiceId() Returns the ID of the service owning the resource. |
java.lang.String |
getTagWords() Return a single string which contains tag words (space delimited) for this resource |
boolean |
isSurrogate() Returns whether this resource is a surrogate for another resource that may have been deleted |
boolean |
isTaggedBy(java.lang.String userId) Return a boolean whether this resource has been tagged by the specified user id |
Method Detail |
---|
java.lang.String getId()
java.lang.String getScope()
int getBookmarkCount()
java.lang.String getName()
java.lang.String getServiceId()
int getScalarValue()
TaggingService.findFilteredPersonalResources(oracle.webcenter.tagging.model.Order, java.lang.String, java.lang.String)
TaggingService.findRelatedSystemResources(java.lang.String, java.lang.String)
TaggingService.findSystemResources(oracle.webcenter.tagging.model.Order, java.lang.String, java.util.List<java.lang.String>, java.lang.String)
TaggingService.findPersonalResources(oracle.webcenter.tagging.model.Order, java.lang.String, java.util.List<java.lang.String>, java.lang.String, boolean)
java.lang.String getTagWords()
java.util.Date getLastTaggedDate()
boolean isTaggedBy(java.lang.String userId)
userId
- the current userIdboolean isSurrogate()
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.3.0) E15995-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |