Package org.kuali.rice.ksb.api.registry
Class RemoveAndPublishResult
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.ksb.api.registry.RemoveAndPublishResult
- All Implemented Interfaces:
Serializable,org.kuali.rice.core.api.mo.ModelObjectBasic,org.kuali.rice.core.api.mo.ModelObjectComplete
public class RemoveAndPublishResult
extends org.kuali.rice.core.api.mo.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 Summary
Modifier and TypeMethodDescriptionstatic RemoveAndPublishResultcreate(List<ServiceEndpoint> servicesRemoved, List<ServiceEndpoint> servicesPublished) Creates a newRemoveAndPublishResultfrom the given lists of services removed and published.Returns an unmodifiable list of services that were published as the result of a remove-and-publish operation.Returns an unmodifiable list of services that were removed as the result of a remove-and-publish operation.Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
-
Method Details
-
create
public static RemoveAndPublishResult create(List<ServiceEndpoint> servicesRemoved, List<ServiceEndpoint> servicesPublished) Creates a newRemoveAndPublishResultfrom the given lists of services removed and published.- Parameters:
servicesRemoved- the list of services removed by the operation, can be a null or empty listservicesPublished- the list of services published by the operation, can be a null or empty list- Returns:
- the constructed
RemoveAndPublishResult, should never return null
-
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
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
-