Class RemoveAndPublishResult

java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.ksb.api.registry.RemoveAndPublishResult
All Implemented Interfaces:
Serializable, ModelObjectBasic, ModelObjectComplete

public class RemoveAndPublishResult extends AbstractDataTransferObject
Wraps information resulting from a "removeAndPublish" operation on the registry. Effectively contains a list of ServiceEndpoint instances for services that were published and those that were removed
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Method Details

    • create

      public static RemoveAndPublishResult create(List<ServiceEndpoint> servicesRemoved, List<ServiceEndpoint> servicesPublished)
      Creates a new RemoveAndPublishResult from the given lists of services removed and published.
      Parameters:
      servicesRemoved - the list of services removed by the operation, can be a null or empty list
      servicesPublished - the list of services published by the operation, can be a null or empty list
      Returns:
      the constructed RemoveAndPublishResult, should never return null
    • getServicesRemoved

      public List<ServiceEndpoint> getServicesRemoved()
      Returns an unmodifiable list of services that were removed as the result of a remove-and-publish operation.
      Returns:
      an unmodifiable list of removed services, will never be null but may be empty if no services were removed
    • getServicesPublished

      public List<ServiceEndpoint> getServicesPublished()
      Returns an unmodifiable list of services that were published as the result of a remove-and-publish operation.
      Returns:
      an unmodifiable list of published services, will never be null but may be empty if no services were published