@Deprecated public abstract class JahiaGroupManagerProvider extends JahiaService implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| Modifier and Type | Field and Description |
|---|---|
protected JahiaGroupManagerService |
groupManagerService
Deprecated.
|
settingsBean| Constructor and Description |
|---|
JahiaGroupManagerProvider()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
abstract JahiaGroup |
createGroup(int siteID,
String name,
Properties properties,
boolean hidden)
Deprecated.
Create a new group in the system.
|
abstract boolean |
deleteGroup(JahiaGroup g)
Deprecated.
|
void |
destroy()
Deprecated.
|
void |
flushCache()
Deprecated.
|
abstract List<JahiaSite> |
getAdminGrantedSites(JahiaUser user)
Deprecated.
Get all JahiaSite objects where the user has an access.
|
abstract JahiaGroup |
getAdministratorGroup(int siteID)
Deprecated.
|
abstract List<String> |
getGroupList()
Deprecated.
Return a
ListString representing all the
group keys of a site. |
abstract List<String> |
getGroupList(int siteID)
Deprecated.
Return a
ListString representing all the
group keys of a site. |
protected JahiaGroupManagerService |
getGroupManagerService()
Deprecated.
Returns an instance of the group manager.
|
abstract List<String> |
getGroupnameList()
Deprecated.
Return a
ListString representing all the
group names. |
abstract List<String> |
getGroupnameList(int siteID)
Deprecated.
Return a
ListString representing all the
group names of a site. |
protected static Pattern |
getGroupNamePattern()
Deprecated.
|
abstract JahiaGroup |
getGuestGroup(int siteID)
Deprecated.
Return an instance of the guest group
|
String |
getKey()
Deprecated.
|
int |
getPriority()
Deprecated.
|
abstract List<String> |
getUserMembership(JahiaUser user)
Deprecated.
Return the list of groups to which the specified user has access.
|
abstract JahiaGroup |
getUsersGroup(int siteID)
Deprecated.
Return an instance of the users group.
|
abstract boolean |
groupExists(int siteID,
String name)
Deprecated.
This function checks on a given site if the groupname has already been
assigned to another group.
|
boolean |
isDefaultProvider()
Deprecated.
|
boolean |
isGroupNameSyntaxCorrect(String name)
Deprecated.
Validates provided group name against a regular expression pattern, specified in the Jahia configuration.
|
boolean |
isReadOnly()
Deprecated.
|
abstract JahiaGroup |
lookupGroup(int siteID,
String name)
Deprecated.
Lookup the group information from the underlying system (DB, LDAP, ...
|
abstract JahiaGroup |
lookupGroup(String groupKey)
Deprecated.
Lookup the group information from the underlying system (DB, LDAP, ...
|
abstract boolean |
removeUserFromAllGroups(JahiaUser user)
Deprecated.
Remove the specified user from all the membership lists of all the groups.
|
abstract Set<JahiaGroup> |
searchGroups(int siteID,
Properties searchCriterias)
Deprecated.
|
void |
setDefaultProvider(boolean defaultProvider)
Deprecated.
There can be only one...
|
void |
setGroupManagerService(JahiaGroupManagerService groupManagerService)
Deprecated.
Injects the group management service instance.
|
void |
setKey(String key)
Deprecated.
|
void |
setPriority(int priority)
Deprecated.
|
void |
setReadOnly(boolean readOnly)
Deprecated.
|
abstract void |
updateCache(JahiaGroup jahiaGroup)
Deprecated.
This method indicates that any internal cache for a provider should be
updated because the value has changed and needs to be transmitted to the
other nodes in a clustering environment.
|
getSettingsBean, setSettingsBean, start, stopprotected JahiaGroupManagerService groupManagerService
protected static Pattern getGroupNamePattern()
public boolean isGroupNameSyntaxCorrect(String name)
name - the group name to be validatedtrue if the specified group name matches the validation patternpublic String getKey()
public void setKey(String key)
public int getPriority()
public void setPriority(int priority)
public boolean isDefaultProvider()
public void setDefaultProvider(boolean defaultProvider)
defaultProvider - public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanpublic abstract JahiaGroup createGroup(int siteID, String name, Properties properties, boolean hidden)
hidden - public abstract boolean deleteGroup(JahiaGroup g)
public abstract List<JahiaSite> getAdminGrantedSites(JahiaUser user)
user, - the user you want to get his access grants sites list.public abstract JahiaGroup getAdministratorGroup(int siteID)
public abstract List<String> getGroupList()
ListString representing all the
group keys of a site.public abstract List<String> getGroupList(int siteID)
ListString representing all the
group keys of a site.public abstract List<String> getGroupnameList()
ListString representing all the
group names.public abstract List<String> getGroupnameList(int siteID)
ListString representing all the
group names of a site.public abstract JahiaGroup getGuestGroup(int siteID)
public abstract List<String> getUserMembership(JahiaUser user)
user - Valid reference on an existing group.public abstract JahiaGroup getUsersGroup(int siteID)
public abstract boolean groupExists(int siteID,
String name)
siteID - siteID the site idname - String representing the unique group name.public abstract JahiaGroup lookupGroup(String groupKey)
groupKey - Group's unique identification key.public abstract JahiaGroup lookupGroup(int siteID, String name)
siteID - the site idname - Group's unique identification name.public abstract boolean removeUserFromAllGroups(JahiaUser user)
user - Reference on an existing user.public abstract Set<JahiaGroup> searchGroups(int siteID, Properties searchCriterias)
public abstract void updateCache(JahiaGroup jahiaGroup)
jahiaGroup - JahiaGroup the group to be updated in the cache.protected JahiaGroupManagerService getGroupManagerService()
public void setGroupManagerService(JahiaGroupManagerService groupManagerService)
groupManagerService - an instance of the group management servicepublic void flushCache()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.