com.mirth.match.client
Class DomainGroupManager

java.lang.Object
  extended by com.mirth.match.client.DomainGroupManager

public class DomainGroupManager
extends java.lang.Object


Constructor Summary
DomainGroupManager(MirthMatchClient client)
           
 
Method Summary
 Result<DtoDomainGroup> create(DtoDomainGroup consumer)
          Creates a new Domain Group using the properties provided in the DTO
 DTOStatus delete(java.lang.String identifier)
          Deletes the DomainGroup with the provided identifier
 Result<DtoDomainGroup> find(java.lang.String identifier)
          Returns the DomainGroup with the given identifier
 Result<java.util.List<DtoDomainGroup>> findAllByFilter(DomainGroupFilter filter)
          Returns all of the DomainGroups that match the given filter
 Result<DtoDomainGroup> updateStatus(java.lang.String identifier, java.lang.String statusAlias)
          Updates the DomainGroup with provided identifier to the given status alias
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomainGroupManager

public DomainGroupManager(MirthMatchClient client)
Method Detail

create

public Result<DtoDomainGroup> create(DtoDomainGroup consumer)
Creates a new Domain Group using the properties provided in the DTO

Parameters:
consumer - the DTO whose properties will be used to create the DomainGroup
Returns:
the newly created DomainGroup

updateStatus

public Result<DtoDomainGroup> updateStatus(java.lang.String identifier,
                                           java.lang.String statusAlias)
Updates the DomainGroup with provided identifier to the given status alias

Parameters:
identifier - the identifier of the IdentifierDomain to update
statusAlias - the new status to set
Returns:
the updated DomainGroup

delete

public DTOStatus delete(java.lang.String identifier)
Deletes the DomainGroup with the provided identifier

Parameters:
identifier - the identifier of the DomainGroup to delete
Returns:
nothing

find

public Result<DtoDomainGroup> find(java.lang.String identifier)
Returns the DomainGroup with the given identifier

Parameters:
identifier - the identifier
Returns:
the DomainGroup

findAllByFilter

public Result<java.util.List<DtoDomainGroup>> findAllByFilter(DomainGroupFilter filter)
Returns all of the DomainGroups that match the given filter

Parameters:
filter - the filter to match
Returns:
the list of DomainGroups


Copyright © 2011 Mirth Corp. All Rights Reserved.