com.mirth.match.client
Class EntityDomainManager

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

public class EntityDomainManager
extends java.lang.Object

Author:
davidp

Constructor Summary
EntityDomainManager(MirthMatchClient client)
           
 
Method Summary
 Result<DtoEntityDomain> create(DtoEntityDomain domain)
          Creates a new EntityDomain using the provided properties
 DTOStatus delete(java.lang.String identifier)
          Deletes the EntityDomain with the specified identifier
 Result<DtoEntityDomain> find(java.lang.String identifier)
          Returns the EntityDomain with the matching identifier
 Result<java.util.List<DtoEntityDomain>> findAll()
          Returns a list of all of the Entity Domains in the system
 Result<java.util.List<DtoEntityDomain>> findAllActive()
          Returns the list of Entity Domains that are currently ACTIVE
 Result<java.util.List<DtoEntityDomain>> findByFilter(EntityDomainFilter filter)
          Returns all of the entities matching the provided filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityDomainManager

public EntityDomainManager(MirthMatchClient client)
Method Detail

create

public Result<DtoEntityDomain> create(DtoEntityDomain domain)
Creates a new EntityDomain using the provided properties

Parameters:
domain - the EntityDomain to create
Returns:

find

public Result<DtoEntityDomain> find(java.lang.String identifier)
Returns the EntityDomain with the matching identifier

Parameters:
identifier - the EntityDomain's identifier
Returns:
the result with the EntityDomain and status conditions

findAll

public Result<java.util.List<DtoEntityDomain>> findAll()
Returns a list of all of the Entity Domains in the system

Returns:
the list of EntityDomains and status conditions

findAllActive

public Result<java.util.List<DtoEntityDomain>> findAllActive()
Returns the list of Entity Domains that are currently ACTIVE

Returns:
the list of EntityDomains and the status conditions

findByFilter

public Result<java.util.List<DtoEntityDomain>> findByFilter(EntityDomainFilter filter)
Returns all of the entities matching the provided filter

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

delete

public DTOStatus delete(java.lang.String identifier)
Deletes the EntityDomain with the specified identifier

Parameters:
identifier - the identifier of the EntityDomain to delete
Returns:
the status condtions


Copyright © 2011 Mirth Corp. All Rights Reserved.