|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.runtime.model.DefaultComponent org.nuxeo.ecm.platform.computedgroups.ComputedGroupsServiceImpl
public class ComputedGroupsServiceImpl
ComputedGroupsService
implementation
Field Summary | |
---|---|
static java.lang.String |
CHAIN_EP
|
static java.lang.String |
COMPUTER_EP
|
Constructor Summary | |
---|---|
ComputedGroupsServiceImpl()
|
Method Summary | |
---|---|
void |
activate(ComponentContext context)
Activates the component. |
boolean |
activateComputedGroups()
|
boolean |
allowGroupOverride()
Defines if a computed group can override a physical group. |
java.util.List<java.lang.String> |
computeGroupIds()
Returns list of all computed groups (if this is available). |
java.util.List<java.lang.String> |
computeGroupsForUser(NuxeoPrincipalImpl nuxeoPrincipal)
Returns list of ids for users computed groups. |
void |
deactivate(ComponentContext context)
Deactivates the component. |
NuxeoGroup |
getComputedGroup(java.lang.String groupName)
Resolves a computed group by it's name. |
java.util.List<java.lang.String> |
getComputedGroupMembers(java.lang.String groupName)
Retrieves member users for a given computed group. |
java.util.List<java.lang.String> |
getComputedGroupParent(java.lang.String groupName)
Retrieves parent group for a given computed group. |
java.util.List<java.lang.String> |
getComputedGroupSubGroups(java.lang.String groupName)
Retrieves sub groups for a given computed group. |
java.util.List<GroupComputerDescriptor> |
getComputerDescriptors()
|
void |
registerContribution(java.lang.Object contribution,
java.lang.String extensionPoint,
ComponentInstance contributor)
|
java.util.List<java.lang.String> |
searchComputedGroups(java.util.Map<java.lang.String,java.io.Serializable> filter,
java.util.HashSet<java.lang.String> fulltext)
Searches for a computed group. |
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent |
---|
getAdapter, registerExtension, unregisterContribution, unregisterExtension |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COMPUTER_EP
public static final java.lang.String CHAIN_EP
Constructor Detail |
---|
public ComputedGroupsServiceImpl()
Method Detail |
---|
public void activate(ComponentContext context) throws java.lang.Exception
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
context
- the runtime context
java.lang.Exception
- if an error occurs during activationpublic void registerContribution(java.lang.Object contribution, java.lang.String extensionPoint, ComponentInstance contributor) throws java.lang.Exception
registerContribution
in class DefaultComponent
java.lang.Exception
public java.util.List<java.lang.String> computeGroupsForUser(NuxeoPrincipalImpl nuxeoPrincipal)
ComputedGroupsService
computeGroupsForUser
in interface ComputedGroupsService
public boolean allowGroupOverride()
ComputedGroupsService
allowGroupOverride
in interface ComputedGroupsService
public NuxeoGroup getComputedGroup(java.lang.String groupName)
ComputedGroupsService
getComputedGroup
in interface ComputedGroupsService
public java.util.List<java.lang.String> computeGroupIds()
ComputedGroupsService
computeGroupIds
in interface ComputedGroupsService
public java.util.List<java.lang.String> getComputedGroupMembers(java.lang.String groupName)
ComputedGroupsService
getComputedGroupMembers
in interface ComputedGroupsService
public java.util.List<java.lang.String> getComputedGroupParent(java.lang.String groupName)
ComputedGroupsService
getComputedGroupParent
in interface ComputedGroupsService
public java.util.List<java.lang.String> getComputedGroupSubGroups(java.lang.String groupName)
ComputedGroupsService
getComputedGroupSubGroups
in interface ComputedGroupsService
public java.util.List<GroupComputerDescriptor> getComputerDescriptors()
public boolean activateComputedGroups()
activateComputedGroups
in interface ComputedGroupsService
public java.util.List<java.lang.String> searchComputedGroups(java.util.Map<java.lang.String,java.io.Serializable> filter, java.util.HashSet<java.lang.String> fulltext)
ComputedGroupsService
searchComputedGroups
in interface ComputedGroupsService
public void deactivate(ComponentContext context) throws java.lang.Exception
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime context
java.lang.Exception
- if an error occurs during activation
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |