View Javadoc
1 /* 2 * $Header: /cvsroot/ebxmlrr/ebxmlrr/src/share/com/sun/ebxml/registry/LifeCycleManager.java,v 1.7 2002/04/04 11:40:50 skchonghk Exp $ 3 * 4 * Copyright (c) 1999 Sun Microsystems, Inc. All Rights Reserved. 5 * 6 * This software is the confidential and proprietary information of Sun 7 * Microsystems, Inc. ("Confidential Information"). You shall not 8 * disclose such Confidential Information and shall use it only in 9 * accordance with the terms of the license agreement you entered into 10 * with Sun. 11 * 12 * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE 13 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 14 * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 15 * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES 16 * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING 17 * THIS SOFTWARE OR ITS DERIVATIVES. 18 * 19 */ 20 21 package com.sun.ebxml.registry; 22 23 import java.util.*; 24 25 import org.oasis.ebxml.registry.bindings.rs.*; 26 import org.oasis.ebxml.registry.bindings.rim.*; 27 28 public interface LifeCycleManager { 29 30 /*** 31 * Submits one or more RegistryObjects and one or more repository items. 32 * 33 * @param idToRepositoryItemMap is a HashMap with key that is id of a RegistryObject and value that is a repository item in form of a javax.activation.DataHandler instance. 34 */ 35 public RegistryResponse submitObjects(User user, SubmitObjectsRequest req, HashMap idToRepositoryItemMap) throws RegistryException; 36 37 /*** Approves one or more previously submitted objects */ 38 public RegistryResponse approveObjects(User user, ApproveObjectsRequest req) throws RegistryException; 39 40 /*** Deprecates one or more previously submitted objects */ 41 public RegistryResponse deprecateObjects(User user, DeprecateObjectsRequest req) throws RegistryException; 42 43 public RegistryResponse updateObjects(User user, UpdateObjectsRequest req, HashMap idToRepositoryItemMap) throws RegistryException; 44 45 /*** Removes one or more previously submitted objects from the registry */ 46 public RegistryResponse removeObjects(User user, RemoveObjectsRequest req) throws RegistryException; 47 48 /*** Add slots to one or more registry entries. */ 49 public RegistryResponse addSlots(AddSlotsRequest req) throws RegistryException; 50 51 /*** Remove specified slots from one or more registry entries. */ 52 public RegistryResponse removeSlots(RemoveSlotsRequest req) throws RegistryException; 53 54 }

This page was automatically generated by Maven