|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jstore.BasicStorable com.jalios.jcms.Data com.jalios.jcms.Member
public class Member
A Member
object contains a set of information about a
JCMS referenced user.
Group
Nested Class Summary | |
---|---|
static class |
Member.AccountSelector
Select a subset of members with the Account usage. |
static class |
Member.AdministratorSelector
Select a subset of administrator members |
static class |
Member.ContactSelector
Select a subset of members with the Contact usage. |
static class |
Member.DisabledSelector
Select a subset of members which are disabled. |
static class |
Member.EnabledSelector
Select a subset of members which are not disabled. |
static class |
Member.GroupComparator<T extends Member>
|
static class |
Member.LangComparator<T extends Member>
|
static class |
Member.LastLdapSyncComparator<T extends Member>
|
static class |
Member.LastLoginDateComparator<T extends Member>
Compare member based on their last login date |
static class |
Member.LdapAccountComparator<T extends Member>
|
static class |
Member.LoginComparator<T extends Member>
|
static class |
Member.NameComparator<T extends Member>
|
static class |
Member.NotificationPeriodSelector
|
static class |
Member.PublicationCountComparator<T extends Member>
|
static class |
Member.RightComparator<T extends Member>
|
static class |
Member.SessionComparator<T extends Member>
|
static class |
Member.TextSelector
Select a set of members matching the given text in the name or in the email. |
static class |
Member.UsageSelector
Select a subset of members matching the specified Usage. |
static class |
Member.ValidEmailSelector
|
static class |
Member.WebdavComparator<T extends Member>
|
static class |
Member.WorkerSelector
Select a subset of worker members |
Nested classes/interfaces inherited from class com.jalios.jcms.Data |
---|
Data.AuthorComparator<T extends Data>, Data.AuthorSelector, Data.CdateSelector, Data.DataNameComparator<T extends Data>, Data.DeletableSelector, Data.ImportSelector, Data.MdateSelector, Data.OpAuthorComparator<T extends Data>, Data.RowIdComparator<T extends Data>, Data.StrongLockSelector |
Nested classes/interfaces inherited from class com.jalios.jstore.BasicStorable |
---|
BasicStorable.CdateComparator<T extends Storable>, BasicStorable.IdComparator<T extends Storable>, BasicStorable.MdateComparator<T extends Storable> |
Field Summary | |
---|---|
protected String |
address
|
protected boolean |
canEditCategories
|
protected boolean |
canManageContentStaled
|
protected boolean |
canPublishContent
|
protected boolean |
canUpdateDeleteContent
|
protected String |
country
|
static String |
CTX_SKIP_ACTIVITY
|
protected Group[] |
declaredGroups
|
protected TreeSet<Member> |
delegateMemberSet
|
protected String |
department
|
static String |
DISABLED_PASSWORD
The value to use in a Member's password to indicate that the member is disabled and should not be allowed to log in. |
static String |
DO_NOT_REASSIGN_PUBLICATION
When a member is deleted his publications are reassigned to the workspace admin or the default admin. |
protected String |
email
|
static String |
EMAIL_FORMAT_HTML
The value to use in a Member's email format to indicate that the member prefers to receive mail in HTML. |
static String |
EMAIL_FORMAT_TEXT
The value to use in a Member's email format to indicate that the member prefers to receive mail in plain text. |
protected String |
emailFormat
|
static String |
EXTRADBDATA_LAST_LOGIN_TIME
The extra data name for the last login time value. |
protected String |
firstName
|
protected String |
fullEmail
|
protected String |
fullName
|
protected Group[] |
groups
|
static String |
IGNORE_LOGIN_DATE
It is possible to specify the date must not be registered, by setting the request attribute with this key and Boolean.TRUE as value. |
protected String |
info
|
protected boolean |
isAdmin
|
protected boolean |
isEmailVisible
|
protected boolean |
isWorkspaceSetUpToDate
|
protected String |
jobTitle
|
protected String |
language
|
protected Date |
lastLdapSynchro
|
protected boolean |
lastLoginDateCached
|
protected Object |
lastLoginDateLock
|
protected SortedSet<Date> |
lastLoginDateSet
|
protected boolean |
ldapSync
|
protected Locale |
locale
|
protected String |
login
|
static int |
MAX_LAST_LOGIN_DATE_HISTORY
The maximum number of Date to keep in the last login date Set. |
static int |
MEMBER_STATUS_AWAY
|
static int |
MEMBER_STATUS_DND
|
static int |
MEMBER_STATUS_OFFLINE
|
static int |
MEMBER_STATUS_ONLINE
|
protected String |
mobile
|
protected String |
name
|
protected Notification |
notification
|
static int |
OP_UPDATE_PROFILE
|
protected String |
organization
|
protected String |
password
|
protected String |
phone
|
protected String |
photo
|
protected TreeSet<Category> |
readCategorySet
|
static String |
REVISION
|
protected HashMap<String,DataRight> |
rightFromClassMap
|
protected String |
salutation
|
static int |
UGC_COUNT_LIMIT_THREAD
|
protected int |
usage
|
static int |
USAGE_ACCOUNT
|
static int |
USAGE_CONTACT
|
static int |
USE_CATEGORY_GROUP_AND_MEMBER
|
static int |
USE_CATEGORY_GROUP_ONLY
|
static int |
USE_CATEGORY_MEMBER_ONLY
|
protected int |
useCategoryMode
|
protected TreeSet<Category> |
useCategorySet
|
protected boolean |
webdavAccess
|
Fields inherited from class com.jalios.jcms.Data |
---|
author, authorDBID, channel, DISPLAY_URL_EXTRA_INFO, extension, extraDataMap, extraDBDataMapToSaveOnOp, importMap, opAuthor, opDelegate |
Fields inherited from class com.jalios.jstore.BasicStorable |
---|
cdate, ddate, id, mdate, store |
Fields inherited from interface com.jalios.util.JaliosConstants |
---|
CRLF, MILLIS_IN_ONE_DAY, MILLIS_IN_ONE_HOUR, MILLIS_IN_ONE_MINUTE, MILLIS_IN_ONE_MONTH, MILLIS_IN_ONE_SECOND, MILLIS_IN_ONE_WEEK, MILLIS_IN_ONE_YEAR |
Fields inherited from interface com.jalios.jcms.mashup.ImportConstants |
---|
IMPORT_ALARM_MGR, IMPORT_AUTHOR_PROP, IMPORT_CATEGORY_DEFAULT, IMPORT_DC_ATTR, IMPORT_DC_STEP, IMPORT_DIR, IMPORT_ENABLED, IMPORT_JDOM_ELEMENT, IMPORT_LOG_FILE, IMPORT_LOG_MAX, IMPORT_OPTIONS, IMPORT_OPTIONS_DC_CONTEXT, IMPORT_ROOT_PROP, IMPORT_SOURCE_FILE, IMPORT_SOURCE_PREFIX_PROP, IMPORT_SOURCES_DIR, IMPORT_STEP_CLEAN, IMPORT_STEP_IMPORT, IMPORT_STEP_UPDATE_REF, IMPORT_WS_PROP |
Fields inherited from interface com.jalios.jcms.mashup.MashupConstants |
---|
DATA_TAG, DATASET_TAG, FIELD_CLASS, FIELD_ENTRY, FIELD_ITEM, FIELD_KEY, FIELD_NAME, FIELD_TAG, FIELD_VALUE, FILE_FIELD, FILE_ID, FILE_MTIME, FILE_SIZE, FILE_TAG, FILE_TICKET, FILESET_TAG, RELATED_TAG |
Constructor Summary | |
---|---|
Member()
|
|
Member(Member other)
Constructor by copy : creates a new instance of Member from the specified Member. |
Method Summary | |
---|---|
void |
addGroup(Group group)
Add this member to a given group (this changes is not saved) |
boolean |
alertSignup(String password,
boolean signupValidationRequired,
boolean sendPassword)
- Send mails to signup administrators - Send validation mail or confirmation mail |
boolean |
belongsToGroup(Group group)
This convenient method returns true if this member belongs to a given group. |
boolean |
belongsToGroup(Group[] grps)
This convenient method returns true if this member belongs to at least one of the given groups. |
WKRole |
belongsToRole()
|
WKRole |
belongsToRole(boolean checkGroups)
|
boolean |
belongsToRole(WKRole role)
|
boolean |
belongsToRole(WKRole role,
boolean checkGroups)
|
boolean |
belongsToWorkspace(Workspace ws)
This convenient method returns true if this member belongs to the given workspace. |
String |
buildPhotoFilename(String ext)
Returns the photo filename for this member. |
boolean |
canArchive(Publication pub)
Check if the member is in a role that can archive the given publication. |
boolean |
canCreateWorkCopy(Publication pub)
Convenience method |
boolean |
canCreateWorkspace()
Check if the member can create a workspace |
boolean |
canCreateWorkspace(Workspace model)
Check if the member can duplicate the model to create a workspace |
boolean |
canDeleteOther(Class<?> clazz)
|
boolean |
canDeleteOther(Class<?> clazz,
Workspace ws)
|
boolean |
canDeleteOther(Data data)
|
boolean |
canDeleteOther(Data data,
RightInfo rightInfo)
|
boolean |
canEditCategories()
Check if the member can edit categories. |
boolean |
canEditCategories(Workspace ws)
Return true if this member can edit at least one category of this workspace |
boolean |
canManageCategory(Category cat)
Check if the member can manage the given category (ie if the given category is a descendant of one of the member's root category) |
boolean |
canManageCategory(Category cat,
boolean searchInGroups,
boolean searchInParent)
Check if the member can manage the given category (ie if the given category is a descendant of one of the member's root category) |
boolean |
canMergeWorkCopy(Publication pub)
Convenience method |
boolean |
canPublish(Class<?> clazz)
Check if this member can publish this clazz of data (ie if this member has rights (or belongs at least to one group that have this right) and, if the given class inherits from Publication, the member can work on the WF's init state of this class. |
boolean |
canPublish(Class<?> clazz,
Workspace ws)
Convenient method |
boolean |
canPublish(Class clazz,
Set<? extends Workspace> workspaceSet)
Check if this member can publish this clazz of data (ie if this member has rights (or belongs at least to one group that have this right) and, if the given class inherits from Publication, the member can work on the WF's init state of this class for all of it's workflow. |
boolean |
canPublish(Data data)
Convenient method |
boolean |
canPublishAll(Class<?> clazz)
Check if this member can publish on this class and all it's subclass |
boolean |
canPublishContent()
Checks if if this member can publish something else than UGC. |
boolean |
canPublishContent(Workspace ws)
Checks if if this member can publish something else than UGC. |
boolean |
canPublishSome(Class<?> clazz)
Check if this member can publish on this class or one of it's subclass |
boolean |
canPublishSome(Class<?> clazz,
Workspace ws)
Check if this member can publish on this class or one of it's subclass in the given workspace. |
boolean |
canRead(Category cat,
boolean searchInGroups,
boolean searchInParent)
This convenient method checks if a member can read a categorie. |
boolean |
canRead(Group grp)
This convenient method checks if this member can read a group. |
boolean |
canRead(Publication pub,
boolean searchInGroups)
This convenient method checks if a member can read a publication. |
boolean |
canUpdateDeleteContent()
|
boolean |
canUpdateDeleteContent(Workspace ws)
Check if member can perform Update or Delete for the gicen Workspace |
protected boolean |
canUpdateDeleteOtherCommon(Class clazz,
Workspace ws,
boolean checkUpdate)
|
boolean |
canUpdateOther(Class<?> clazz)
|
boolean |
canUpdateOther(Class<?> clazz,
Workspace ws)
|
boolean |
canUpdateOther(Data data)
|
boolean |
canUpdateOther(Data data,
RightInfo rightInfo)
|
boolean |
canUploadPhoto()
Returns true if this member can upload a photo. |
boolean |
canUseCategory(Category cat)
Check if this member can use the given category. |
boolean |
canUseCategory(Category cat,
boolean searchInGroups,
boolean searchInParent)
Check if this member can use the given category. |
boolean |
canUseDescendantCategories(Category cat,
boolean checkRoot)
Check if this member can use at least one descendant of the given category. |
boolean |
canWorkOn(Publication pub)
Check if this member can work on the given publication (ie, if it has the rights and if it is in a state the member can work in). |
boolean |
canWorkOn(Publication pub,
RightInfo rightInfo)
|
boolean |
checkAccess(String resource,
Map<String,Object> context)
Check if this member is authorized to access the specified resource. |
ControllerStatus |
checkCreate(Member mbr,
Map context)
Checks if the creation can be performed |
ControllerStatus |
checkDelete(Member mbr,
Map context)
Checks if the deletion can be performed |
ControllerStatus |
checkIntegrity(Map context)
Checks whether or not data integrity constraints are respected. |
ControllerStatus |
checkMember(int op,
Member mbr,
Map context)
Checks if the given member can perform the given operation. |
static ControllerStatus |
checkMemberGroupModification(Member opAuthor,
Group modifiedGroup,
Member modifiedMember,
boolean checkParentGroup)
Check if the specified Member (opAuthor) is authorized to add or remove a member to the specified group to this member. |
ControllerStatus |
checkUpdate(Member mbr,
Map context)
Checks if the update can be performed |
ControllerStatus |
checkUpdateProfile(Member mbr,
Map context)
Checks if the profile update can be performed |
protected void |
deleteMemberData(Member mbr,
Map context)
|
protected static void |
deleteMemberUserContent(String mbrId)
|
void |
disable()
Disable this account |
void |
exportXmlField(StringBuffer sb,
int indentLevel)
Fills the given StringBuffer with Xml export of fields of this data. |
protected void |
exportXmlRelated(StringBuffer sb,
String related,
int indentLevel)
|
void |
fillExportXmlFieldAttributes(StringBuffer sb)
Fill the given string buffer with specific attributes of this data. |
String |
getAddress()
Gets the address of this member (street address, postal code, city, country and all). |
SortedSet<Workspace> |
getAdministratedWorkspaceSet()
This convenient method returns all the workspace this member is the administrator of. |
Set<Category> |
getCategoryRootSet()
Returns the set of category roots the member can manage |
Set<Category> |
getCategoryRootSet(Workspace ws)
Returns the set of category roots the member can manage in a given workspace |
static Comparator |
getComparator(String str,
boolean reverse)
Deprecated. use ComparatorManager |
Set<Content> |
getContentSet()
Get the value of contentSet. |
int |
getCookieMaxAge()
Return the lowerest cookieMaxAge value of the groups the member belongs to. |
String |
getCountry()
Retrieves the country of this member. |
static String |
getCSVHeader(String lang)
Returns the CSV header of this object |
String |
getDataImage()
Retrieves the image path of this data in the channel's main language. |
String |
getDataImage(String lang,
boolean useDefault)
Retrieves the image path of this data. |
String |
getDataName(String language)
Return the name of this Data, every sub class Data which will be displayed to user should implements this method already. |
Group[] |
getDeclaredGroups()
Get the value of declaredGroups. |
TreeSet<Member> |
getDelegateMemberSet()
Gets the TreeSet of Member allowed to login as this member. |
Set<Member> |
getDelegationHolderSet()
Retrieves the list of member into which this member was allowed to log in. |
String |
getDepartment()
Gets the department of this member. |
int |
getEditCategoryMode()
|
String |
getEmail()
Gets the email address of this member. |
String |
getEmailFormat()
Gets the email format requested by this member. Must be one of the following values : EMAIL_FORMAT_TEXT
EMAIL_FORMAT_HTML
As of current implementation, default value for a new member is EMAIL_FORMAT_HTML . |
TreeSet<Category> |
getExpandedUseCategorySet()
Return the category set this member can use according his category use mode (group, member or group and member) |
Workspace |
getFavoriteWorkspace(Workspace currentWS,
Class<?> clazz)
Return the favorite Member Workspace where it can work on |
Object |
getFieldValue(String fieldName,
String lang,
boolean useDefault)
Gets the Object value of the given field name for this Member . |
String |
getFirstName()
Gets the first name of this member. |
List<Publication> |
getFollowedPublicationList()
Returns the list of publications followed by this member. |
String |
getFriendlyName()
Return the name of this member nicely formated for a communication purpose (email, newsletter, welcome) |
String |
getFullEmail()
Return the a full email field in the form "FirstName Name <user@company.com>" |
String |
getFullName()
|
static Comparator<Member> |
getGroupComparator(Comparator<Group> groupComparator)
|
Group[] |
getGroups()
Returns all the groups this member belongs to. |
Set<Group> |
getGroupSet(Workspace ws)
Returns the groups of the given workspace the member belongs to. |
String |
getHtmlIcon(String userLang)
Return the img tag for the icon |
String |
getHtmlIcon(Workspace ws,
String userLang)
Return the img tag for the icon |
String |
getIcon()
|
String |
getIcon(Workspace ws)
|
protected String[] |
getIconParameter(Workspace ws,
String userLang)
Return a String[2]: Title / Alt for the given parameters |
Date |
getIndexingDate()
Retrieve the Date at which this Member was indexed in its search engine. |
String |
getInfo()
Gets informations available for this member. |
String |
getJobTitle()
Gets the job title of this member. |
static Comparator<Member> |
getLangComparator()
|
String |
getLangSalutation(String lang)
Return the salutation in the given language |
String |
getLanguage()
Get the value of language. |
static Comparator<Member> |
getLastLdapSyncComparator()
|
Date |
getLastLdapSynchro()
Get the value of lastLdapSynchro. |
Date |
getLastLoginDate()
Retrieves the last login Date of this Member. |
static Comparator<Member> |
getLastLoginDateComparator()
|
SortedSet<Date> |
getLastLoginDateSet()
Retrieve the last login Date of this Member. |
String |
getLastName()
Gets the last name of this member. |
static Comparator<Member> |
getLdapComparator()
|
boolean |
getLdapSync()
|
Locale |
getLocale()
Retrieve the Locale of this member. |
String |
getLogin()
Gets the login of this member. |
static Comparator<Member> |
getLoginComparator()
|
static Member |
getMemberFromLogin(String login,
boolean checkDisabled)
Returns the member with the given login. |
String |
getMobile()
Gets the mobile phone number of this member. |
String |
getName()
Gets the name of this member. |
static Comparator<Member> |
getNameComparator()
|
Notification |
getNotification()
Get the Notification |
String |
getOrganization()
Gets the organization of this member. |
String |
getOrganizationAndDepartment()
A convenient method which returns the organization and the department. |
String |
getPassword()
Gets the password of this member. This member's account will be disabled if the password is equal to the constant DISABLED_PASSWORD . |
String |
getPhone()
Gets the phone number of this member. |
String |
getPhoto()
Returns the member's photo. |
static Comparator<Member> |
getPublicationCountComparator()
|
Set<Publication> |
getPublicationSet()
Retrieve a Set containing all the Publication of which this member is the author. |
TreeSet<Category> |
getReadCategorySet()
Gets the TreeSet of Category used for Publication read right. |
DataRight |
getRight(Class<?> clazz,
boolean searchInGroups)
Search for a Right object bound to clazz or one of its super class. |
DataRight |
getRight(Class<?> clazz,
boolean searchInGroups,
Workspace ws)
Search for a Right object bound to clazz or one class. |
DataRight |
getRight(Data data)
|
static Comparator<Member> |
getRightComparator()
|
HashMap<String,DataRight> |
getRightFromClassMap()
Get the value of rightFromClassMap. |
String |
getSalutation()
Gets the salutation of this member as an internal non localized token. The salutation is usually one those values : "mr"
"mrs"
"miss"
You can then append this value to the language property "ui.com.lbl.salut." to retrieve the salutation in a localized form. |
static Comparator<Member> |
getSessionComparator()
|
String |
getSignupConfirmationUrl(String password)
Build an URL for SignUp validation using password and other secret data. |
int |
getStatus()
Return an interger Status of the Member |
Data |
getUpdateInstance()
Returns an instance of this object to update it. |
int |
getUsage()
Get the value of usage. |
String |
getUsageName(String lang)
Returns the name of the usage (eg: Account, Contact). |
int |
getUseCategoryMode()
Get the value of useCategoryMode. |
TreeSet<Category> |
getUseCategorySet()
Get the value of useCategorySet. |
boolean |
getWebdavAccess()
Get the value of webdavAccess |
static Comparator<Member> |
getWebdavComparator()
|
Set<Publication> |
getWorkspacePublicationSet()
|
Set<Workspace> |
getWorkspaceSet()
|
protected void |
handleDeleteMemberUserContent(String mbrId)
|
boolean |
hasAcl()
Check if this member belongs to at least one group with an Access Control List |
boolean |
hasExplicitRights()
|
boolean |
hasPhoto()
Returns true if this member has got a photo. |
boolean |
hasRead(Publication pub)
Check if the given publication has been read by this member |
boolean |
hasWebdavAccess()
This method check if member have a webdav access or belongs to a group having webdav access. |
static void |
indexLogin(Member mbr)
Index the login of the given member. |
protected boolean |
internalCanCreateWorkspace(Workspace model)
|
protected boolean |
internalCanDeleteOther(Data data,
RightInfo rightInfo)
|
protected boolean |
internalCanManageCategory(Category cat,
boolean searchInGroups,
boolean searchInParent)
|
protected boolean |
internalCanPublish(Class<?> clazz,
Set<? extends Workspace> workspaceSet)
|
protected boolean |
internalCanUpdateDeleteOtherCommon(Class<?> clazz,
Workspace ws,
boolean checkUpdate)
|
protected boolean |
internalCanUpdateOther(Data data,
RightInfo rightInfo)
|
protected boolean |
internalCanUseCategory(Category cat,
boolean searchInGroups,
boolean searchInParent)
|
protected ControllerStatus |
internalCheckMember(int op,
Member mbr,
Map context)
|
protected boolean |
internalIsWorker()
|
protected boolean |
internalIsWorker(Workspace ws)
|
protected void |
internalSetLastLoginDate(Date date)
Performs the persistance of the new last login date. |
void |
invalidateCanManageContent()
Invalidate the current status of canManageContent (the next time it will be called, it will be computed). |
boolean |
isAccount()
Returns true if this Member's usage is USAGE_ACCOUNT . |
boolean |
isAdmin()
Checks if this member is an administrator of the site. |
boolean |
isAdmin(Workspace ws)
Returns true if this member is an administrator of the given workspace |
boolean |
isContact()
Returns true if this Member's usage is USAGE_CONTACT . |
boolean |
isDeclaredGroup(Group group)
Returns true if the given group is a declared groups. |
boolean |
isDisabled()
Check if this member account has been disabled |
boolean |
isEmailValid(boolean checkDisable)
Check if the email of this member is not empty (does not check email format validity). |
boolean |
isEmailVisible()
Retrieves whether this member's email is visible to other members or not. |
boolean |
isLdapAccount()
Check if this member account has been created from LDAP |
boolean |
isValidAccount()
|
boolean |
isWorkAdmin()
This convenient method check if this member is administrator of at least one workspace. |
boolean |
isWorker()
Check if this member can work either on publications or on categories (this is a convenient method wich performs a 'or' on the values returned by canPublishContent(), canUpdateDeleteContent() and canEditCategories()). |
boolean |
isWorker(Workspace ws)
Check if this member can work either on publications or on categories (this is a convenient method wich performs a 'or' on the values returned by canPublishContent(Workspace), canUpdateDeleteContent(Workspace) and canEditCategories()). |
void |
performDelete(Member mbr,
Map context)
Performs deletion |
protected void |
reassignMemberPubs(Member mbr,
Map context)
|
void |
refreshGroups()
Refresh the groups (force groups to be inferred from declared groups) |
static void |
refreshLoginIndex()
Refresh login index. |
void |
refreshWorkspaceSet()
Refresh the workspaces this member belongs to. |
void |
removeAllPhotos(boolean removePhoto)
Removes all photo and thumbnail files for this member. |
void |
removeGroup(Group group)
Remove this member from a given group(this changes is not saved) |
protected void |
removeMemberAttendeeCalendarEvent(Member mbr,
Map context)
Find all the CalendarEventInterface in which the member attends, and remove the member from those events, called on delete of member (this). |
void |
setAddress(String address)
Set the address of this member. |
void |
setAdmin(boolean isAdmin)
Sets if this member can administrate the site. |
void |
setCountry(String countryCode)
Set the country of this member. |
void |
setDeclaredGroups(Group[] v)
Set the value of declaredGroups. |
void |
setDelegateMemberSet(TreeSet<Member> v)
Set the value of delegateMbrSet. |
void |
setDepartment(String department)
Set the department of this member. |
void |
setEmail(String email)
Set the email address of this member. |
void |
setEmailFormat(String emailFormat)
Set the email format that will be used to send mail to this member. |
void |
setEmailVisible(boolean visible)
Sets whether this member's email is visible to other members or not. |
void |
setFieldValue(String fieldName,
Object value,
String lang)
Sets the value of the given Object field name for the current Member . |
void |
setFirstName(String firstName)
Set the first name of this member. |
void |
setInfo(String info)
Set some informations available for this member. |
void |
setJobTitle(String jobTitle)
Set the job title of this member. |
void |
setLanguage(String v)
Set the value of language. |
void |
setLastLdapSynchro(Date v)
Set the value of lastLdapSynchro. |
void |
setLastLoginDate(Date date)
Sets the last login Date of this Member. |
void |
setLastName(String lastName)
Sets the last name of this member. |
void |
setLdapSync(boolean ldapSync)
Set if this Member should be synchronized with ldap or not. |
void |
setLocale(Locale locale)
|
void |
setLogin(String login)
Set the login of this member. |
void |
setMobile(String mobile)
Set the mobile phone number of this member. |
void |
setName(String name)
Set the name of this member. |
void |
setNotification(Notification notification)
Sets the Notification |
void |
setOrganization(String organization)
Set the organization of this member. |
void |
setPassword(String password)
Set the password of this member. |
void |
setPhone(String phone)
Set the phone number of this member. |
void |
setPhoto(String photo)
Set the member's photo. |
void |
setReadCategorySet(TreeSet<Category> v)
Set the value of readCategorySet. |
void |
setRightFromClassMap(HashMap<String,DataRight> v)
Set the value of rightFromClassMap. |
void |
setSalutation(String salutation)
Set the salutation of this member. |
void |
setUsage(int usage)
Set the value of usage (ie: Account or Contact). |
void |
setUseCategoryMode(int v)
Set the value of useCategoryMode. |
void |
setUseCategorySet(TreeSet<Category> v)
Set the value of useCategorySet. |
void |
setWebdavAccess(boolean webdavAccess)
Set the value of webdavAccess |
String |
toCSV(String lang)
Returns a CSV view of this object |
String |
toFullString()
|
String |
toString()
|
static void |
unindexLogin(Member mbr)
Unindex the login of the given member. |
void |
updateContentSet(Content content,
boolean add)
Update contentSet index |
void |
updateDelegationHolderSet(Member mbr,
boolean add)
Internal method used to update the (transient) delegation holder set. |
void |
updatePublicationSet(Publication pub,
boolean add)
Update publicationSet index |
protected void |
updateRights(Member mbr,
Map context)
|
void |
updateWorkspaceSet(Workspace ws,
boolean add)
Update workspaceSet index |
Methods inherited from class com.jalios.jstore.BasicStorable |
---|
clearId, compareTo, equals, getAttribute, getAttributes, getCdate, getCdateComparator, getDdate, getId, getIdComparator, getMdate, getMdateComparator, getStore, getUrid, hasBeenUpdated, isStored, resolveAtt, resolveVal, setAttributes, setCdate, setDdate, setId, setStore, toXml |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
public static final int USE_CATEGORY_GROUP_AND_MEMBER
public static final int USE_CATEGORY_MEMBER_ONLY
public static final int USE_CATEGORY_GROUP_ONLY
public static final int OP_UPDATE_PROFILE
public static final int USAGE_ACCOUNT
public static final int USAGE_CONTACT
public static final int UGC_COUNT_LIMIT_THREAD
public static final String CTX_SKIP_ACTIVITY
public static final String DISABLED_PASSWORD
setPassword(String)
,
Constant Field Valuespublic static final String EMAIL_FORMAT_TEXT
setEmailFormat(String)
,
Constant Field Valuespublic static final String EMAIL_FORMAT_HTML
setEmailFormat(String)
,
Constant Field Valuespublic static final String DO_NOT_REASSIGN_PUBLICATION
protected int usage
protected String login
protected String password
protected String name
protected String firstName
protected String salutation
protected String organization
protected String department
protected String jobTitle
protected String email
protected String emailFormat
protected boolean isEmailVisible
protected String phone
protected String mobile
protected String address
protected String info
protected String photo
protected Group[] declaredGroups
protected boolean isAdmin
protected boolean ldapSync
protected Date lastLdapSynchro
protected HashMap<String,DataRight> rightFromClassMap
protected int useCategoryMode
protected String language
protected String country
protected Notification notification
protected boolean webdavAccess
protected TreeSet<Category> useCategorySet
protected TreeSet<Category> readCategorySet
protected TreeSet<Member> delegateMemberSet
protected transient Group[] groups
protected transient boolean canPublishContent
protected transient boolean canUpdateDeleteContent
protected transient boolean canEditCategories
protected transient boolean canManageContentStaled
protected transient String fullName
protected transient String fullEmail
protected transient Locale locale
protected transient boolean isWorkspaceSetUpToDate
public static final int MEMBER_STATUS_OFFLINE
public static final int MEMBER_STATUS_ONLINE
public static final int MEMBER_STATUS_AWAY
public static final int MEMBER_STATUS_DND
public static final String EXTRADBDATA_LAST_LOGIN_TIME
public static int MAX_LAST_LOGIN_DATE_HISTORY
member.max-last-login-date
protected transient Object lastLoginDateLock
protected transient boolean lastLoginDateCached
protected transient SortedSet<Date> lastLoginDateSet
public static final String IGNORE_LOGIN_DATE
Constructor Detail |
---|
public Member()
public Member(Member other)
Warning : Do not use this constructor to create an update instance for a DBMember, instead use getUpdateInstance()
:
Member updated = (Member) member.getUpdateInstance(); update.performUpdate(...)
other
- the member to copy, must not be null.Method Detail |
---|
public Data getUpdateInstance()
Data
getUpdateInstance
in class Data
public Object getFieldValue(String fieldName, String lang, boolean useDefault) throws NoSuchFieldException
Object
value of the given field name for this Member
.
getFieldValue
in class Data
fieldName
- the field name from which to retrieve the field value.lang
- the language (ISO-639 code) in which to retrieve the field value
(used only for multilingual fields).useDefault
- whether to use the publication main language if the field value
is not available in the requested language (used only for multilingual fields).
Object
field value
NoSuchFieldException
- if the field was not found in the given Publication
.public void setFieldValue(String fieldName, Object value, String lang) throws NoSuchFieldException
Object
field name for the current Member
. Category
fields, see #getCategoryFieldValue(String, Member).
setFieldValue
in class Data
fieldName
- the field name from which to retrieve the field value.value
- whether to use the publication main language if the field value
is not available in the requested language (used only for multilingual fields).lang
- the language (ISO-639 code) in which to retrieve the field value
(used only for multilingual fields).
NoSuchFieldException
- if the field was not found in the given Data
.public String toString()
toString
in class Data
public String toFullString()
toFullString
in class Data
public String toCSV(String lang)
toCSV
in class Data
lang
- the output language
public static String getCSVHeader(String lang)
lang
- the output language
public void fillExportXmlFieldAttributes(StringBuffer sb)
fillExportXmlFieldAttributes
in class Data
sb
- the StringBufferData.fillExportXmlFieldAttributes(StringBuffer)
public void exportXmlField(StringBuffer sb, int indentLevel)
Data
exportXmlField
in class Data
sb
- the StringBufferindentLevel
- the indent levelpublic String getFullName()
public String getIcon()
public String getIcon(Workspace ws)
ws
- the current Workspace
public String getHtmlIcon(String userLang)
userLang
- the current language
public String getHtmlIcon(Workspace ws, String userLang)
ws
- the current WorkspaceuserLang
- the current language
protected String[] getIconParameter(Workspace ws, String userLang)
ws
- the Workspace or NulluserLang
- the UserLang or null
public int getStatus()
public boolean canRead(Group grp)
grp
- the group
public boolean canRead(Category cat, boolean searchInGroups, boolean searchInParent)
cat
- the categoriesearchInGroups
- if true check if one of the group this
member belongs to is authorized to read the categorie.searchInParent
- if true check right on parent categories
Category.canBeReadBy(com.jalios.jcms.Member)
public boolean canRead(Publication pub, boolean searchInGroups)
pub
- the publicationsearchInGroups
- if true check if one of the group this
member belongs to is authorized to read the publication.
Publication.canBeReadBy(com.jalios.jcms.Member)
public boolean canPublishContent()
public boolean canPublishContent(Workspace ws)
ws
- the Workspace to work on
public boolean canUpdateDeleteContent()
public boolean canUpdateDeleteContent(Workspace ws)
ws
- the Workspace to ckeck
public void invalidateCanManageContent()
public boolean canPublishSome(Class<?> clazz)
clazz
- the class to be checked
public boolean canPublishSome(Class<?> clazz, Workspace ws)
clazz
- the class to be checkedws
- the workspace to be checked
public boolean canPublishAll(Class<?> clazz)
clazz
- the class to be checked
public boolean canPublish(Class<?> clazz)
clazz
- the class to test
public boolean canPublish(Class<?> clazz, Workspace ws)
clazz
- the class to checkws
- the Workspace to work with
canPublish(java.lang.Class,java.util.Set)
public boolean canPublish(Class clazz, Set<? extends Workspace> workspaceSet)
clazz
- the class to testworkspaceSet
- the set of workspace to work on
protected boolean internalCanPublish(Class<?> clazz, Set<? extends Workspace> workspaceSet)
public boolean canPublish(Data data)
data
- the Data to check
canPublish(java.lang.Class)
public boolean canArchive(Publication pub)
pub
- the publication to check
public boolean canUpdateOther(Class<?> clazz)
protected boolean internalCanUpdateDeleteOtherCommon(Class<?> clazz, Workspace ws, boolean checkUpdate)
protected boolean canUpdateDeleteOtherCommon(Class clazz, Workspace ws, boolean checkUpdate)
public boolean canUpdateOther(Class<?> clazz, Workspace ws)
public boolean canUpdateOther(Data data)
public boolean canUpdateOther(Data data, RightInfo rightInfo)
protected boolean internalCanUpdateOther(Data data, RightInfo rightInfo)
public boolean canDeleteOther(Data data)
public boolean canDeleteOther(Data data, RightInfo rightInfo)
protected boolean internalCanDeleteOther(Data data, RightInfo rightInfo)
public boolean canDeleteOther(Class<?> clazz)
public boolean canDeleteOther(Class<?> clazz, Workspace ws)
public DataRight getRight(Data data)
public DataRight getRight(Class<?> clazz, boolean searchInGroups)
clazz
- the Class the right is searched forsearchInGroups
- if true, the search will be continued in the
groups rights if none member rights have been found
public DataRight getRight(Class<?> clazz, boolean searchInGroups, Workspace ws)
clazz
- the Class the right is searched forsearchInGroups
- if true, the search will be continued in the
groups rights if none member rights have been foundws
- only used if searchInGroups true. If ws is null, search
in the global groups otherwise search in groups of ws.
public boolean canWorkOn(Publication pub)
pub
- the publication
public boolean canWorkOn(Publication pub, RightInfo rightInfo)
public boolean isWorker()
canPublishContent()
,
canUpdateDeleteContent()
,
canEditCategories()
protected boolean internalIsWorker()
public boolean isWorker(Workspace ws)
ws
- the workspace to check
canPublishContent(Workspace)
,
canUpdateDeleteContent(Workspace)
,
canEditCategories()
protected boolean internalIsWorker(Workspace ws)
public int getEditCategoryMode()
public boolean isAdmin(Workspace ws)
ws
- the workspace to be checked
public boolean hasExplicitRights()
public boolean hasWebdavAccess()
public boolean isDisabled()
public void disable()
public boolean isLdapAccount()
public Date getLastLdapSynchro()
public void setLastLdapSynchro(Date v)
v
- Value to assign to lastLdapSynchro.public boolean getLdapSync()
public void setLdapSync(boolean ldapSync)
ldapSync
- true
if LDAP synchronization of this Member should
be performed if needed, false
otherwise.public boolean getWebdavAccess()
public void setWebdavAccess(boolean webdavAccess)
webdavAccess
- public boolean isEmailVisible()
public void setEmailVisible(boolean visible)
visible
- true if it is visible, false otherwisepublic boolean belongsToGroup(Group group)
group
- the group
public boolean belongsToGroup(Group[] grps)
grps
- the groups to be checked
public int getCookieMaxAge()
public Group[] getGroups()
public Set<Group> getGroupSet(Workspace ws)
ws
- the workspace
public boolean isDeclaredGroup(Group group)
group
- the group to be tests.
public void refreshGroups()
public Group[] getDeclaredGroups()
public void setDeclaredGroups(Group[] v)
v
- Value to assign to declaredGroups.public void addGroup(Group group)
group
- the group to be added.public void removeGroup(Group group)
group
- the group to be removed.public boolean hasRead(Publication pub)
pub
- the publication read
Publication.hasBeenReadBy(Member)
public Notification getNotification()
public void setNotification(Notification notification)
notification
- the notificationpublic boolean canEditCategories()
getCategoryRootSet()
public boolean canEditCategories(Workspace ws)
ws
- the Workspace to check with
getCategoryRootSet()
public Set<Category> getCategoryRootSet()
public Set<Category> getCategoryRootSet(Workspace ws)
ws
- the Workspace to be test (null for all workspace)
public boolean canManageCategory(Category cat)
cat
- the category to test
public boolean canManageCategory(Category cat, boolean searchInGroups, boolean searchInParent)
cat
- the category to testsearchInGroups
- if true check if one of the group this member belongs to is authorized to read the categorie.searchInParent
- if true check right on parent categories
protected boolean internalCanManageCategory(Category cat, boolean searchInGroups, boolean searchInParent)
public boolean canCreateWorkspace()
public boolean canCreateWorkspace(Workspace model)
model
- the workspace to duplicate
protected boolean internalCanCreateWorkspace(Workspace model)
public TreeSet<Category> getExpandedUseCategorySet()
public boolean canUseCategory(Category cat)
cat
- the category to check
canUseCategory(Category, boolean, boolean)
public boolean canUseCategory(Category cat, boolean searchInGroups, boolean searchInParent)
cat
- the category to checksearchInGroups
- if true check if one of the group this member belongs to is authorized to read the categorie.searchInParent
- if true check right on parent categories
protected boolean internalCanUseCategory(Category cat, boolean searchInGroups, boolean searchInParent)
public boolean canUseDescendantCategories(Category cat, boolean checkRoot)
cat
- the category to checkcheckRoot
- if true check also the given category
public TreeSet<Category> getUseCategorySet()
public void setUseCategorySet(TreeSet<Category> v)
v
- Value to assign to useCategorySet.public int getUseCategoryMode()
public void setUseCategoryMode(int v)
v
- Value to assign to useCategoryMode.public int getUsage()
public void setUsage(int usage)
usage
- value to assign to usage, choose from USAGE_ACCOUNT
or USAGE_CONTACT
public String getUsageName(String lang)
lang
- the language code (ISO-639) in which you would like to retrieve the usage
public boolean isAccount()
USAGE_ACCOUNT
.
getUsage()
is USAGE_ACCOUNT
, otherwise false.public boolean isContact()
USAGE_CONTACT
.
getUsage()
is USAGE_CONTACT
, otherwise false.public boolean isValidAccount()
public TreeSet<Category> getReadCategorySet()
public void setReadCategorySet(TreeSet<Category> v)
v
- Value to assign to readCategorySet.public TreeSet<Member> getDelegateMemberSet()
public void setDelegateMemberSet(TreeSet<Member> v)
v
- Value to assign to delegateMbrSet.public void updateDelegationHolderSet(Member mbr, boolean add)
mbr
- the member to add or remove from the delegation holder set.add
- true -> add, false -> removepublic Set<Member> getDelegationHolderSet()
Warning : If some Member have been excluded from delegation
using property "auth-mgr.delegation.excluded-mbr-ids", this list
will not filter them. Use DelegationAuthenticationHandler.filterExcludedMember(Set)
to retrieve a filtered list.
public String getLangSalutation(String lang)
lang
- the language
public String getLanguage()
public void setLanguage(String v)
v
- Value to assign to language.public String getCountry()
Locale
public void setCountry(String countryCode)
countryCode
- an ISO 3166 country code as used by java Locale
public boolean canCreateWorkCopy(Publication pub)
pub
- used to create work copy
Publication.canCreateWorkCopy(Member)
public boolean canMergeWorkCopy(Publication pub)
pub
- The publication to merge.
Publication.canMergeWorkCopy(Member)
public Set<Workspace> getWorkspaceSet()
public void refreshWorkspaceSet()
public void updateWorkspaceSet(Workspace ws, boolean add)
ws
- the workspace to be added or removedadd
- add if true, remove if falsepublic boolean belongsToWorkspace(Workspace ws)
ws
- the workspace to be checked
public Set<Publication> getWorkspacePublicationSet()
public WKRole belongsToRole()
public WKRole belongsToRole(boolean checkGroups)
checkGroups
- check also for member groups
public boolean belongsToRole(WKRole role)
role
- a WKRole
public boolean belongsToRole(WKRole role, boolean checkGroups)
role
- a WKRolecheckGroups
- check also for member groups
public SortedSet<Workspace> getAdministratedWorkspaceSet()
public boolean isWorkAdmin()
public Workspace getFavoriteWorkspace(Workspace currentWS, Class<?> clazz)
currentWS
- the current Workspaceclazz
- the class to publish
public boolean isEmailValid(boolean checkDisable)
checkDisable
- check if the account is disabled (set to true to consider disabled member as invalid emails)
MailUtil.checkEmail(String)
public String getFullEmail()
public String getFriendlyName()
public String getSignupConfirmationUrl(String password)
password
-
public boolean alertSignup(String password, boolean signupValidationRequired, boolean sendPassword)
password
- signupValidationRequired
- sendPassword
-
public boolean hasPhoto()
public boolean canUploadPhoto()
public String getDataName(String language)
Data
getDataName
in class Data
language
- the language in which to return the name if multilang available for the data.
getFullName()
,
Data.getDataName(String)
public String getDataImage()
Data
This method can (should) be implemented by subclasses to provide an image/illustration of this Data.
Default behaviour is to return empty string.
getDataImage
in class Data
public String getDataImage(String lang, boolean useDefault)
Data
This method can (should) be implemented by subclasses to provide an image/illustration of this Data.
Default behaviour is to return empty string.
getDataImage
in class Data
lang
- the user language (ISO-639 language code)useDefault
- should the default language be used if no value is found for the specified language
public String getLastName()
This method simply invoke getName()
which does exactly the same thing.
public void setLastName(String lastName)
This method simply invoke setName(String)
which does exactly the same thing.
lastName
- the last name to use for this member.public String getName()
public void setName(String name)
name
- the name to use.public String getFirstName()
public void setFirstName(String firstName)
firstName
- the first name to use.public boolean isAdmin()
true
if this member is and administrator, false
otherwise.public void setAdmin(boolean isAdmin)
isAdmin
- true
if this member is and administrator, false
otherwise.public String getSalutation()
"mr"
"mrs"
"miss"
"ui.com.lbl.salut."
to retrieve the salutation in a localized form.
public void setSalutation(String salutation)
salutation
- the salutation token to use, usually one those values
"mr"
"mrs"
"miss"
"ui.com.lbl.salut.{value}"
public String getOrganization()
public void setOrganization(String organization)
organization
- the organization to use.public String getDepartment()
public void setDepartment(String department)
department
- the department to use for this Member.public String getOrganizationAndDepartment()
public String getJobTitle()
public void setJobTitle(String jobTitle)
jobTitle
- the job title to use.public String getPhone()
public void setPhone(String phone)
phone
- the phone number to use.public String getMobile()
public void setMobile(String mobile)
mobile
- the mobile phone number to use.public String getAddress()
public void setAddress(String address)
address
- the address (street address, postal code, city, country and all) to use.public String getEmail()
public void setEmail(String email)
email
- the email address to use.public String getEmailFormat()
EMAIL_FORMAT_HTML
.
public void setEmailFormat(String emailFormat)
emailFormat
- the email format to use, must be one of the following values :
As of current implementation, default value for a new member is EMAIL_FORMAT_HTML
.public String getInfo()
public void setInfo(String info)
info
- the informations to use.public String getPhoto()
public void setPhoto(String photo)
photo
- the member's photopublic String getLogin()
public void setLogin(String login)
login
- the login to use, can be any string (id, email, ...), as
long as it is kept unique over all members.public String getPassword()
DISABLED_PASSWORD
.
public void setPassword(String password)
password
- the password to use. Use constants DISABLED_PASSWORD
as password value to disable this member.public HashMap<String,DataRight> getRightFromClassMap()
public void setRightFromClassMap(HashMap<String,DataRight> v)
v
- Value to assign to rightFromClassMap.public Set<Publication> getPublicationSet()
public void updatePublicationSet(Publication pub, boolean add)
pub
- the publication to be added or removedadd
- add if true, remove if falsepublic Set<Content> getContentSet()
public void updateContentSet(Content content, boolean add)
content
- the content to be added or removedadd
- add if true, remove if falsepublic static Comparator<Member> getNameComparator()
public static Comparator<Member> getLoginComparator()
public static Comparator<Member> getGroupComparator(Comparator<Group> groupComparator)
public static Comparator<Member> getPublicationCountComparator()
public static Comparator<Member> getRightComparator()
public static Comparator<Member> getLdapComparator()
public static Comparator<Member> getLastLdapSyncComparator()
public static Comparator<Member> getLangComparator()
public static Comparator<Member> getWebdavComparator()
public static Comparator<Member> getSessionComparator()
public static Comparator<Member> getLastLoginDateComparator()
public static Comparator getComparator(String str, boolean reverse)
ComparatorManager
Comparator
given a name representing
it. The returned comparator can be used to sort any Collection
containing Member
s. getNameComparator()
getLoginComparator()
getGroupComparator(Comparator)
getPublicationCountComparator()
getRightComparator()
getLdapComparator()
getLangComparator()
getSessionComparator()
getWebdavComparator()
getLastLdapSyncComparator()
getLastLoginDateComparator()
Data.getComparator(String, boolean)
str
- a string representing the comparatorreverse
- a boolean indicating whether the comparator should have
its behavior reversed (true) or unchanged (false)
Comparator
.Data.getComparator(String, boolean)
public ControllerStatus checkIntegrity(Map context)
checkIntegrity
in class Data
context
- a map which contains context parameters (may be null)
public ControllerStatus checkMember(int op, Member mbr, Map context)
checkMember
in class Data
op
- the operation (OP_CREATE, OP_UPDATE, ...)mbr
- the member which requests the write operationcontext
- a map which contains context parameters (may be null)
protected ControllerStatus internalCheckMember(int op, Member mbr, Map context)
public ControllerStatus checkCreate(Member mbr, Map context)
Data
checkCreate
in class Data
mbr
- the member which requests the write operationcontext
- a map which contains context parameters (may be null)
public ControllerStatus checkUpdate(Member mbr, Map context)
checkUpdate
in class Data
mbr
- the member which requests the write operationcontext
- a map which contains context parameters (may be null)
public ControllerStatus checkDelete(Member mbr, Map context)
checkDelete
in class Data
mbr
- the member which requests the write operationcontext
- a map which contains context parameters (may be null)
public ControllerStatus checkUpdateProfile(Member mbr, Map context)
mbr
- the member which requests the write operationcontext
- a map which contains context parameters (may be null)
public static ControllerStatus checkMemberGroupModification(Member opAuthor, Group modifiedGroup, Member modifiedMember, boolean checkParentGroup)
Important explanation regarding this method :
opAuthor
- the Member performing the modificationmodifiedGroup
- the group to which the modifiedMember is added or removedmodifiedMember
- the member which is added or removed from the modifiedGroupcheckParentGroup
- set to true to check parent groups of the specified group, if they did not already belong to the specified member
public void performDelete(Member mbr, Map context)
performDelete
in class Data
mbr
- the member which requests the write operationcontext
- a map which contains context parameters (may be null)protected void removeMemberAttendeeCalendarEvent(Member mbr, Map context)
mbr
- the member which requests the operationcontext
- a map which contains context parameters (may be null)protected void deleteMemberData(Member mbr, Map context)
protected void reassignMemberPubs(Member mbr, Map context)
protected void handleDeleteMemberUserContent(String mbrId)
protected static void deleteMemberUserContent(String mbrId)
protected void updateRights(Member mbr, Map context)
public static Member getMemberFromLogin(String login, boolean checkDisabled)
login
- the member's logincheckDisabled
- if true, return null if accound is disabled
null
if no active member has this
login.public static void refreshLoginIndex()
public static void indexLogin(Member mbr)
mbr
- the member to be registeredpublic static void unindexLogin(Member mbr)
mbr
- the member to be unregisteredpublic Locale getLocale()
Locale
of this member.
Locale
object initialized with its languagepublic void setLocale(Locale locale)
public String buildPhotoFilename(String ext)
ext
- the file extension (eg. "gif", "jpg" or "png");
public void removeAllPhotos(boolean removePhoto)
removePhoto
- if true the file of the photo will be deleted.public SortedSet<Date> getLastLoginDateSet()
public Date getLastLoginDate()
public final void setLastLoginDate(Date date)
date
- the last login date, or null to use now.protected void internalSetLastLoginDate(Date date)
date
- protected void exportXmlRelated(StringBuffer sb, String related, int indentLevel)
exportXmlRelated
in class Data
public Date getIndexingDate()
public List<Publication> getFollowedPublicationList()
public boolean checkAccess(String resource, Map<String,Object> context)
resource
- a resource URI using a path representation, eg "admin/dev/store-cleaner"context
- an optionnal context map containing relevant information such as workspace
AccessControlManager.checkAccess(Member, String, Map)
public boolean hasAcl()
Group.getAccessControlList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |