Class GroupClientImpl
- java.lang.Object
-
- com.lexmark.saperion.client.implementation.administration.GroupClientImpl
-
- All Implemented Interfaces:
GroupClient
public class GroupClientImpl extends java.lang.Object implements GroupClient
This is the default implementation ofGroupClient.- Author:
- jschwarz
-
-
Constructor Summary
Constructors Constructor Description GroupClientImpl(com.lexmark.saperion.administration.GroupManagementService groupManagementService, com.lexmark.saperion.administration.GroupReferenceType reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()This method deletes the group.voiddeleteExtension()This method deletes the schema-extension properties of the group.java.util.List<com.lexmark.saperion.administration.AclReferenceType>getACLs()This method returns the ACLs currently set on the group.GroupMembershipClientForGroupsgetGroupMembers()This method returns the group membership management component for groups for the given group.com.lexmark.saperion.administration.ExtensionPropertiesTypegetSchemaExtension()This method returns the schema-extension properties of the group.GroupMembershipClientForUsersgetUserMembers()This method returns the group membership management component for users for the given group.com.lexmark.saperion.administration.GroupTypeload()This method loads the group.voidsetSchemaExtension(com.lexmark.saperion.administration.ExtensionPropertiesType extension)This method sets the schema-extension properties of the group.voidundelete()This method un-deletes the group.voidupdate(com.lexmark.saperion.administration.GroupPropertiesType properties)This method updates the group with the given properties.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.lexmark.saperion.client.administration.GroupClient
getExtension, setExtension
-
-
-
-
Method Detail
-
delete
public void delete() throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:GroupClientThis method deletes the group.- Specified by:
deletein interfaceGroupClient- Throws:
com.lexmark.saperion.exceptions.EcmException- indicates that a system exception occurred
-
undelete
public void undelete() throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:GroupClientThis method un-deletes the group.- Specified by:
undeletein interfaceGroupClient- Throws:
com.lexmark.saperion.exceptions.EcmException- indicates that a system exception occurred
-
load
public com.lexmark.saperion.administration.GroupType load() throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:GroupClientThis method loads the group.- Specified by:
loadin interfaceGroupClient- Returns:
- the group referenced
- Throws:
com.lexmark.saperion.exceptions.system.SystemException- indicates that a system exception occurredcom.lexmark.saperion.exceptions.EcmException
-
update
public void update(com.lexmark.saperion.administration.GroupPropertiesType properties) throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:GroupClientThis method updates the group with the given properties.- Specified by:
updatein interfaceGroupClient- Parameters:
properties- the properties to change- Throws:
com.lexmark.saperion.exceptions.system.SystemException- indicates that a system exception occurredcom.lexmark.saperion.exceptions.EcmException
-
getGroupMembers
public GroupMembershipClientForGroups getGroupMembers()
Description copied from interface:GroupClientThis method returns the group membership management component for groups for the given group.- Specified by:
getGroupMembersin interfaceGroupClient- Returns:
- the group membership management component
-
getUserMembers
public GroupMembershipClientForUsers getUserMembers()
Description copied from interface:GroupClientThis method returns the group membership management component for users for the given group.- Specified by:
getUserMembersin interfaceGroupClient- Returns:
- the group membership management component
-
getSchemaExtension
public com.lexmark.saperion.administration.ExtensionPropertiesType getSchemaExtension() throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:GroupClientThis method returns the schema-extension properties of the group.- Specified by:
getSchemaExtensionin interfaceGroupClient- Returns:
- schema-extension properties of the group
- Throws:
com.lexmark.saperion.exceptions.EcmException- when the schema-extension properties could not be loaded
-
setSchemaExtension
public void setSchemaExtension(com.lexmark.saperion.administration.ExtensionPropertiesType extension) throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:GroupClientThis method sets the schema-extension properties of the group. Note that only non-null values will be updated when a schema-extension already exists.- Specified by:
setSchemaExtensionin interfaceGroupClient- Parameters:
extension- schema-extension properties- Throws:
com.lexmark.saperion.exceptions.EcmException- when the schema-extension properties could not be set
-
deleteExtension
public void deleteExtension() throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:GroupClientThis method deletes the schema-extension properties of the group.- Specified by:
deleteExtensionin interfaceGroupClient- Throws:
com.lexmark.saperion.exceptions.EcmException- when the schema-extension properties could not be deleted
-
getACLs
public java.util.List<com.lexmark.saperion.administration.AclReferenceType> getACLs() throws com.lexmark.saperion.exceptions.EcmExceptionDescription copied from interface:GroupClientThis method returns the ACLs currently set on the group.- Specified by:
getACLsin interfaceGroupClient- Returns:
- the ACLs currently set on the group
- Throws:
com.lexmark.saperion.exceptions.EcmException- when loading the ACLs failed
-
-