|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FollowManager
FollowManager manages all aspects related to follow, such as to follow or unfollow certain object, to return all objects followed by a user, etc.
Method Summary | |
---|---|
boolean |
doesFollowObject(ActivityActor actor, ActivityObject followedObject) Whether the actor follow the specified object |
void |
followObject(ActivityActor actor, ActivityObject followedObject) To set the actor to follow the specified object |
void |
followObject(java.lang.String serviceId, ActivityActor actor, ActivityObject followedObject) To set the actor to follow the specified object |
java.util.List<ActivityObject> |
getFollowedObjects(ActivityActor actor) Return all objects followed by the specified actor |
java.util.List<ActivityObject> |
getFollowedObjects(ActivityActor actor, boolean objectSecured) Return all objects followed by the specified actor |
void |
unfollowObject(ActivityActor actor, ActivityObject followedObject) Unfollow the specified object for an actor. |
void |
unfollowObject(ActivityActor actor, java.util.List<ActivityObject> followedObjects, boolean isAsync) Unfollow the specified list of objects for actor. |
void |
unfollowObject(ActivityObject followedObject) Unfollow the specified object for actors. |
void |
unfollowObject(java.lang.String serviceId, ActivityActor actor, ActivityObject followedObject) Unfollow the specified object for an actor. |
void |
unfollowObject(java.lang.String serviceId, ActivityObject followedObject) Unfollow the specified object for actors. |
Method Detail |
---|
void followObject(java.lang.String serviceId, ActivityActor actor, ActivityObject followedObject) throws ActivityException
serviceId,
- the service in which the follow happens.actor
- the actor who follow the specified objectfollowedObject
- the object to be followedActivityException
void followObject(ActivityActor actor, ActivityObject followedObject) throws ActivityException
actor
- the actor who follow the specified objectfollowedObject
- the object to be followedActivityException
void unfollowObject(java.lang.String serviceId, ActivityActor actor, ActivityObject followedObject) throws ActivityException
serviceId,
- the service in which the follow happens.actor
- the actor who unfollow the specified objectfollowedObject
- the object to be unfollowedActivityException
void unfollowObject(ActivityActor actor, ActivityObject followedObject) throws ActivityException
actor
- the actor who unfollow the specified objectfollowedObject
- the object to be unfollowedActivityException
void unfollowObject(ActivityObject followedObject) throws ActivityException
followedObject
- the object to be unfollowedActivityException
void unfollowObject(java.lang.String serviceId, ActivityObject followedObject) throws ActivityException
serviceId,
- the service in which the follow happens.followedObject
- the object to be unfollowedActivityException
void unfollowObject(ActivityActor actor, java.util.List<ActivityObject> followedObjects, boolean isAsync) throws ActivityException
actor
- the actor who unfollow the specified objectfollowedObjects
- the list of objects to be unfollowedisAsync
- submit as asyncronous process if set this value to trueActivityException
boolean doesFollowObject(ActivityActor actor, ActivityObject followedObject) throws ActivityException
actor
- the actor to be checked whether he follow the specified objectfollowedObject
- the object to be checkedActivityException
java.util.List<ActivityObject> getFollowedObjects(ActivityActor actor) throws ActivityException
actor
- the actor whose followed object to be returnedActivityException
java.util.List<ActivityObject> getFollowedObjects(ActivityActor actor, boolean objectSecured) throws ActivityException
actor
- the actor whose followed object to be returnedobjectSecured
- If the objectSecured is true, the implemenation of this method should filter those objects that the user has no permission to access.ActivityException
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |