|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.core.DefaultContentEntityManager
com.atlassian.confluence.user.DefaultPersonalInformationManager
public class DefaultPersonalInformationManager
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.core.DefaultContentEntityManager |
|---|
attachmentManager, contentEntityObjectDao, eventManager, hibernateSessionManager, indexer, labelManager, linkManager |
| Fields inherited from interface com.atlassian.confluence.core.ContentEntityManager |
|---|
ITERATE_ALL |
| Constructor Summary | |
|---|---|
DefaultPersonalInformationManager()
|
|
| Method Summary | |
|---|---|
PersonalInformation |
createPersonalInformation(com.atlassian.user.User user)
Creates a new PersonalInformation for the specified user. |
PersonalInformation |
getOrCreatePersonalInformation(com.atlassian.user.User user)
This operation needs to be atomic to avoid a race condition with duplicate PersonalInformation objects being created (CONF-10234) |
PersonalInformation |
getPersonalInformation(com.atlassian.user.User user)
Retrieve the personal information for a user. |
boolean |
hasPersonalInformation(java.lang.String username)
|
protected void |
publishCreateEvent(ContentEntityObject obj)
This method publishes *CreateEventss. |
protected void |
publishCreateEvent(ContentEntityObject obj,
SaveContext saveContext)
|
protected void |
publishRemoveEvent(ContentEntityObject obj)
This method publishes *RemoveEvents. |
protected void |
publishUpdateEvent(ContentEntityObject obj,
ContentEntityObject origObj,
SaveContext saveContext)
This method publishes *UpdateEvents. |
void |
removePersonalInformation(ConfluenceUser user)
|
void |
removePersonalInformation(java.lang.String username)
Deprecated. |
void |
savePersonalInformation(PersonalInformation newInfo,
PersonalInformation oldInfo)
Saves personal information object. |
void |
savePersonalInformation(com.atlassian.user.User user,
java.lang.String newInfoString,
java.lang.String fullName)
Saves personal information and full name against the user object. |
void |
setPersonalInformationDao(PersonalInformationDao personalInformationDao)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPersonalInformationManager()
| Method Detail |
|---|
public PersonalInformation getPersonalInformation(com.atlassian.user.User user)
PersonalInformationManager
getPersonalInformation in interface PersonalInformationManageruser - the user to retrieve personal information for
public PersonalInformation getOrCreatePersonalInformation(com.atlassian.user.User user)
getOrCreatePersonalInformation in interface PersonalInformationManageruser - the user to retrieve personal information for
public PersonalInformation createPersonalInformation(com.atlassian.user.User user)
PersonalInformationManagerPersonalInformation for the specified user. Returns the existing one if it already exists.
createPersonalInformation in interface PersonalInformationManager
public void savePersonalInformation(PersonalInformation newInfo,
PersonalInformation oldInfo)
PersonalInformationManager
savePersonalInformation in interface PersonalInformationManager
public void savePersonalInformation(com.atlassian.user.User user,
java.lang.String newInfoString,
java.lang.String fullName)
PersonalInformationManager
savePersonalInformation in interface PersonalInformationManagerpublic void setPersonalInformationDao(PersonalInformationDao personalInformationDao)
@Deprecated public void removePersonalInformation(java.lang.String username)
removePersonalInformation in interface PersonalInformationManagerpublic void removePersonalInformation(ConfluenceUser user)
removePersonalInformation in interface PersonalInformationManagerprotected void publishCreateEvent(ContentEntityObject obj)
DefaultContentEntityManager*CreateEventss.
Specific content entity object manager that need to publish those events should override this method.
publishCreateEvent in class DefaultContentEntityManagerobj - the created content entity object
protected void publishCreateEvent(ContentEntityObject obj,
SaveContext saveContext)
publishCreateEvent in class DefaultContentEntityManager
protected void publishUpdateEvent(ContentEntityObject obj,
ContentEntityObject origObj,
SaveContext saveContext)
DefaultContentEntityManager*UpdateEvents.
Specific content entity object manager that need to publish those events should override this method.
publishUpdateEvent in class DefaultContentEntityManagerobj - the updated content entity objectorigObj - the old version of the content entity object, for history purposesaveContext - the associated SaveContextprotected void publishRemoveEvent(ContentEntityObject obj)
DefaultContentEntityManager*RemoveEvents.
Specific content entity object manager that need to publish those events should override this method.
publishRemoveEvent in class DefaultContentEntityManagerobj - the removed content entity objectpublic boolean hasPersonalInformation(java.lang.String username)
hasPersonalInformation in interface PersonalInformationManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||