public interface ActorDetailsManager
beginTransaction()
and he can make changes an commit the changes. There is a call to rollback
the transaction as well| Modifier and Type | Method and Description |
|---|---|
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)
|
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)
ActorDetails lookup(java.lang.String actorGUID)
void beginTransaction()
void commitTransaction()
void rollBackTransaction()