|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActorDetailsManager
This interface represents a data manager for actor details table. It contains various methods to insert actor information, getting total actors, marking actors outdated etc. All the operations happen under transaction. One can start the updated with beginTransaction()
and he can make changes an commit the changes. There is a call to rollback the transaction as well
Method Summary | |
---|---|
void |
beginTransaction() Start the resource transaction. |
void |
commitTransaction() Commit the current transaction, writing any unflushed changes to the database. |
java.util.List<java.lang.String> |
getActorIds(int startIndex, int size, java.util.Date lastCrawlTime) This API gets the ActorIds [i.e. |
int |
getTotalNumRows(java.util.Date updationDate) This method returns total no. |
void |
insertActorBasicInfo(java.lang.String guid, java.lang.String name) This method updates the actor details table with the basic details. |
ActorDetails |
lookup(java.lang.String actorGUID) |
void |
markAllActorsAsOutdated() This method marks all the actors as obsolate or outdated |
void |
rollBackTransaction() Roll back the current transaction |
void |
updateActorDetails(java.lang.String guid, java.lang.String username, java.util.Map<java.lang.String,java.lang.String> displayNamesByLocale, java.lang.String email, java.lang.String department, java.lang.String jobTitle, java.lang.String manager) Updates the Actor details table with the information provided. |
void |
updateActorDetails(java.lang.String guid, java.lang.String userId, java.lang.String displayName, java.lang.String email, java.lang.String department, java.lang.String job_title, java.lang.String manager) Deprecated. Use updateActorDetails(String, String, Map, String, String, String, String) . |
Method Detail |
---|
int getTotalNumRows(java.util.Date updationDate)
updationDate
-void insertActorBasicInfo(java.lang.String guid, java.lang.String name)
guid
- GUID of the username
- Name of the uservoid markAllActorsAsOutdated()
java.util.List<java.lang.String> getActorIds(int startIndex, int size, java.util.Date lastCrawlTime)
startIndex
- Starting Indexsize
- Size of the result setlastCrawlTime
- The Date
onwardsvoid updateActorDetails(java.lang.String guid, java.lang.String username, java.util.Map<java.lang.String,java.lang.String> displayNamesByLocale, java.lang.String email, java.lang.String department, java.lang.String jobTitle, java.lang.String manager)
If actor is not found in the table, it will create a new entry for this actor and set the last updated date for the new row to current system date.
guid
- GUID of the userusername
- User namedisplayNamesByLocale
- Map of display names of the user keyed by locale (and with key "*" pointing to the default, non-locale-specific, display name of the user).email
- Business Emaildepartment
- DepartmentjobTitle
- Expertise or Job titlemanager
- manager
@Deprecated
void updateActorDetails(java.lang.String guid,
java.lang.String userId,
java.lang.String displayName,
java.lang.String email,
java.lang.String department,
java.lang.String job_title,
java.lang.String manager)
updateActorDetails(String, String, Map, String, String, String, String)
.ActorDetails lookup(java.lang.String actorGUID)
void beginTransaction()
void commitTransaction()
void rollBackTransaction()
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |