01: /**
02: *
03: * Copyright 2003-2004 The Apache Software Foundation
04: *
05: * Licensed under the Apache License, Version 2.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package javax.xml.registry;
17:
18: import java.util.Collection;
19:
20: import javax.xml.registry.infomodel.Association;
21: import javax.xml.registry.infomodel.ClassificationScheme;
22: import javax.xml.registry.infomodel.Concept;
23: import javax.xml.registry.infomodel.Key;
24: import javax.xml.registry.infomodel.Organization;
25: import javax.xml.registry.infomodel.Service;
26: import javax.xml.registry.infomodel.ServiceBinding;
27:
28: /**
29: * @version $Revision$ $Date$
30: */
31: public interface BusinessLifeCycleManager extends LifeCycleManager {
32: void confirmAssociation(Association assoc) throws JAXRException,
33: InvalidRequestException;
34:
35: BulkResponse deleteAssociations(Collection<Key> associationKeys)
36: throws JAXRException;
37:
38: BulkResponse deleteClassificationSchemes(Collection<Key> schemeKeys)
39: throws JAXRException;
40:
41: BulkResponse deleteConcepts(Collection<Key> conceptKeys)
42: throws JAXRException;
43:
44: BulkResponse deleteOrganizations(Collection<Key> organizationKeys)
45: throws JAXRException;
46:
47: BulkResponse deleteServiceBindings(Collection<Key> bindingKeys)
48: throws JAXRException;
49:
50: BulkResponse deleteServices(Collection<Key> serviceKeys)
51: throws JAXRException;
52:
53: BulkResponse saveAssociations(Collection<Association> associations,
54: boolean replace) throws JAXRException;
55:
56: BulkResponse saveClassificationSchemes(
57: Collection<ClassificationScheme> schemes)
58: throws JAXRException;
59:
60: BulkResponse saveConcepts(Collection<Concept> concepts)
61: throws JAXRException;
62:
63: BulkResponse saveOrganizations(
64: Collection<Organization> organizations)
65: throws JAXRException;
66:
67: BulkResponse saveServiceBindings(Collection<ServiceBinding> bindings)
68: throws JAXRException;
69:
70: BulkResponse saveServices(Collection<Service> services)
71: throws JAXRException;
72:
73: void unConfirmAssociation(Association assoc) throws JAXRException,
74: InvalidRequestException;
75: }
|