package org.jssl.serviceregistry; import org.jssl.serviceregistry.uti.registryaccess.RegistryInquiryUrl; import org.jssl.serviceregistry.uti.registryaccess.RegistryPublishUrl; import com.sun.xml.registry.uddi.infomodel.*; import javax.xml.registry.infomodel.*; import java.util.*; import java.rmi.*; public interface RegistryIF extends Remote { /** * This method is used to set the default private/public registry server’s publish URL. * @param purl[] RegistryPublishUrl Object with the following attributes * publishurl Publish URL of the private/public registry server. * proxyhost Proxy host of the private/public registry server. * proxyport Proxy port of the private/public registry server. * username Valid Username registered with the private/public registry server. * password Valid Password registered with the private/public registry server. * @param uname Client Username. * @param pword Client Password. * @return String * */ public String setDefaultPublishUrl(RegistryPublishUrl purl[], String uname, String pword) throws RemoteException; /** * This method is used to get the default private/public registry server’s publish URL. * @param sid Session Id. * @return purl[] RegistryPublishUrl Object with the following attributes * */ public RegistryPublishUrl[] getDefaultPublishUrl(String sid) throws RemoteException; /** * This method is used to set the default private/public registry server’s inquiry URL. * @param qurl[] RegistryInquiryUrl Object with the following attributes * inquiryurl Inquiry URL of the private/public registry server. * proxyhost Proxy host of the private/public registry server. * proxyport Proxy port of the private/public registry server. * username Valid Username registered with the private/public registry server. * password Valid Password registered with the private/public registry server. * @param uname Client Username. * @param pword Client Password. * @return String * */ public String setDefaultInquiryUrl(RegistryInquiryUrl qurl[], String uname, String pword) throws RemoteException; /** * This method is used to get the default private/public registry server’s inquiry URL. * @param sid Session Id. * @return qurl[] RegistryInquiryUrl Object with the following attributes * */ public RegistryInquiryUrl[] getDefaultInquiryUrl(String sid) throws RemoteException; /** * This method is used to register new business information like business name, business description, * contact person name, contact telephone number, and contact email address to the given public/private * registry server’s publish URL. The registration status of an UUID string is returned for successful * registration of the new business whereas the null string is returned for registration failure. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param org[] Array of javax.xml.registry.infomodel.Organization objects * @return String[] * */ public String[] registerBusinessByUrl(String publishurl[], String username[], String password[], Organization org[]) throws RemoteException; /** * This method is used to update registered business information like business name, business description, contact * person name, contact telephone number, and contact email address to the given public/private registry server’s * publish URL. The updating status of an integer value 0 is returned for successful updating of the existing business * whereas the integer value 1 is returned for updating business failure and the integer value 2 is returned for * server failure / error. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param org[] Array of javax.xml.registry.infomodel.Organization objects * @return int[] * */ public int[] updateBusinessByUrl(String publishurl[], String username[], String password[], Organization org[]) throws RemoteException; /** * This method is used to update registered business information like business name, business description, contact person * name, contact telephone number, and contact email address from the default public registry server’s publish URL * (set by the setDefaultPublishUrl() method). The updating status of an integer value 0 is returned for successful updating * of the existing business whereas the integer value 1 is returned for updating business failure and the integer value 2 * is returned for server failure / error. * @param sid Session Id * @param org[] Array of javax.xml.registry.infomodel.Organization objects * @return int[] * */ public int[] updateBusiness(String sid, Organization org[]) throws RemoteException; /** * This method is used to update registered service information like service name, service description, service binding * description, and accessurl to the given public/private registry server’s publish URL. The updating status of an * integer value 0 is returned for successful updating of the existing service whereas the integer value 1 is returned * for updating service failure and the integer value 2 is returned for server failure / error. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param orgids[] Array of Valid Organization ID Strings * @param srv[] Array of javax.xml.registry.infomodel.Service objects * @return int[] * */ public int[] updateServiceByUrl(String publishurl[], String username[], String password[], String businessid[], Service srv[]) throws RemoteException; /** * This method is used to update registered service information like service name, service description, service binding * description, and accessurl from the default public registry server’s publish URL (set by the setDefaultPublishUrl() * method). The updating status of an integer value 0 is returned for successful updating of the existing service * whereas the integer value 1 is returned for updating service failure and the integer value 2 is returned for * server failure / error. * @param sid Session Id * @param orgids[] Array of Valid Organization ID Strings * @param srv[] Array of javax.xml.registry.infomodel.Service objects * @return int[] * */ public int[] updateService(String sid, String businessid[], Service org[]) throws RemoteException; /** * This method is used to update registered service binding information like service binding description, and accessurl to * the given public/private registry server’s publish URL. The updating status of an integer value 0 is returned for * successful updating of the existing service binding whereas the integer value 1 is returned for updating service binding * failure and the integer value 2 is returned for server failure / error. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param srvids[] Array of Valid Service ID Strings * @param srvbdg[] Array of javax.xml.registry.infomodel.ServiceBinding objects * @return int[] * */ public int[] updateServiceBindingByUrl(String publishurl[], String username[], String password[], String serviceid[], ServiceBinding srvbdg[]) throws RemoteException; /** * This method is used to update registered service binding information like service binding description, and accessurl * from the default public registry server’s publish URL (set by the setDefaultPublishUrl() method). The updating * status of an integer value 0 is returned for successful updating of the existing service binding whereas the * integer value 1 is returned for updating service binding failure and the integer value 2 is returned for server * failure / error. * @param sid Session Id * @param srvids[] Array of Valid Service ID Strings * @param srvbdg[] Array of javax.xml.registry.infomodel.ServiceBinding objects * @return int[] * */ public int[] updateServiceBinding(String sid, String businessid[], ServiceBinding org[]) throws RemoteException; /** * This method is used to update registered category information like classification scheme type, classification scheme name, * and classification description to the given public/private registry server’s publish URL. The updating status of an * integer value 0 is returned for successful updating of the existing category whereas the integer value 1 is returned for * updating category failure and the integer value 2 is returned for server failure / error. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param cat[] Array of javax.xml.registry.infomodel.ClassificationScheme objects * @return int[] * */ public int[] updateCategoryByUrl(String publishurl[], String username[], String password[], ClassificationScheme category[]) throws RemoteException; /** * This method is used to update registered category information like classification scheme type, classification scheme name, * and classification description from the default public registry server’s publish URL (set by the setDefaultPublishUrl() * method). The updating status of an integer value 0 is returned for successful updating of the existing category whereas * the integer value 1 is returned for updating category failure and the integer value 2 is returned for server * failure / error. * @param sid Session Id * @param cat[] Array of javax.xml.registry.infomodel.ClassificationScheme objects * @return int[] * */ public int[] updateCategory(String sid, ClassificationScheme org[]) throws RemoteException; /** * This method is used to update registered concept information like concept names, concept description, etc. to the * given public/private registry server’s publish URL. The updating status of an integer value 0 is returned for * successful updating of the existing concept whereas the integer value 1 is returned for updating concept failure and * the integer value 2 is returned for server failure / error. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param cpt[] Array of javax.xml.registry.infomodel.Concept objects * @return int[] * */ public int[] updateConceptByUrl(String publishurl[], String username[], String password[], Concept cpt[]) throws RemoteException; /** * This method is used to update registered concept information like concept names, concept description, etc. from the * default public registry server’s publish URL (set by the setDefaultPublishUrl() method). The updating status of * an integer value 0 is returned for successful updating of the existing concept whereas the integer value 1 is * returned for updating concept failure and the integer value 2 is returned for server failure / error. * @param sid Session Id * @param cpt[] Array of javax.xml.registry.infomodel.Concept objects * @return int[] * */ public int[] updateConcept(String sid, Concept org[]) throws RemoteException; /** * This method is used to register new business information like business name, business description, contact * person name, contact telephone number, and contact email address to the private/public default registry * server’s publish URL (by setDefaultPublishUrl() method). The registration status of an UUID string is * returned for successful registration of the new business whereas the null string is returned for registration failure. * @param sid Session Id * @param org[] Array of javax.xml.registry.infomodel.Organization objects * @return String[] * */ public String[] registerBusiness(String sid, Organization org[]) throws RemoteException; /** * This method is used to register new category information like classification scheme type, classification scheme name, * and classification scheme description with the given public registry server’s publish URL. The registration status * of an UUID string is returned for successful registration of the new category whereas the null string is returned * for registration failure. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param cat[] Array of javax.xml.registry.infomodel.ClassificationScheme objects * @return String[] * */ public String[] registerCategoryByUrl(String publishurl[], String username[], String password[], ClassificationScheme category[]) throws RemoteException; /** * This method is used to register new category information like classification scheme type, classification scheme name, * and classification scheme description with the default private/public registry server’s publish URL (set by the * setDefaultPublishUrl() method). The registration status of an UUID string is returned for successful registration * of the new category whereas the null string is returned for registration failure. * @param sid Session Id * @param cat[] Array of javax.xml.registry.infomodel.ClassificationScheme objects * @return String[] * */ public String[] registerCategory(String sid, ClassificationScheme category[]) throws RemoteException; /** * This method is used to register new concept information like concept name, concept description, and external link to the * default private/public registry server’s publish URL (set by the setDefaultPublishUrl() method). The registration status * of an UUID string is returned for successful registration of the new concept whereas the null string is returned for * registration failure. * @param sid Session Id * @param cpt[] Array of javax.xml.registry.infomodel.Concept objects * @return String[] * */ public String[] registerConcept(String sid, Concept concept[]) throws RemoteException; /** * This method is used to register new service information like business id, service name, service description, service * binding description, and service access URI with the given public registry server’s publish URL. The registration * status of an UUID string is returned for successful registration of the new service whereas the null string is * returned for registration failure. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param orgid[] Array of Valid Organization ID Strings * @param srv[] Array of javax.xml.registry.infomodel.Service objects * @return String[] * */ public String[] registerServiceByUrl(String publishurl[], String username[], String password[], String businessid[], Service sinfo[]) throws RemoteException; /** * This method is used to register service binding information like service binding description, and accessurl to * the given public/private registry server’s publish URL. The registration status of an UUID string is returned for * successful registration of the new service binding whereas the null string is returned for server failure / error. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param srvid[] Array of Valid Service ID Strings * @param srvbdg[] Array of javax.xml.registry.infomodel.ServiceBinding objects * @return String[] * */ public String[] registerServiceBindingByUrl(String publishurl[], String username[], String password[], String serviceid[], ServiceBinding sinfo[]) throws RemoteException; /** * This method is used to register concept information like concept names, concept description, etc. to the given * public/private registry server’s publish URL. The registration status of an UUID string is returned for successful * registration of the new concept whereas the null string is returned for server failure / error. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param cpt[] Array of javax.xml.registry.infomodel.Concept objects * @return String[] * */ public String[] registerConceptByUrl(String publishurl[], String username[], String password[], Concept cptinfo[]) throws RemoteException; /** * This method is used to register new service information like business id, service name, service description, service * binding description, and service access URI to the default private/public registry server’s publish URL (set by the * setDefaultPublishUrl() method). The registration status of an UUID string is returned for successful registration of * the new service whereas the null string is returned for registration failure. * @param sid Session Id * @param orgid[] Array of Valid Organization ID Strings * @param srv[] Array of javax.xml.registry.infomodel.Service objects * @return String[] * */ public String[] registerService(String sid, String businessid[], Service sinfo[]) throws RemoteException; /** * This method is used to register new service binding information like service id, service binding description, * and service binding access URI to the default private/public registry server’s publish URL (set by the * setDefaultPublishUrl() method). The registration status of an UUID string is returned for successful * registration of the new service binding whereas the null string is returned for registration failure. * @param sid Session Id * @param srvid[] Array of Valid Service ID Strings * @param srvbdg[] Array of javax.xml.registry.infomodel.ServiceBinding objects * @return String[] * */ public String[] registerServiceBinding(String sid, String serviceid[], ServiceBinding sinfo[]) throws RemoteException; /** * This method is used to retrieve all the businesses based on business ids from the default private/public registry server. * @param inquiryurl[] Inquiry URLs of the private/public registry servers * @param orgids[] Array of Valid Organization ID Strings * @return javax.xml.registry.infomodel.Organization[] * */ public Organization[] viewBusinessesByKey(String inquiryurl[], String businessid[]) throws RemoteException; /** * This method is used to search the specified public registry server’s inquiry URL for business information like * business id, business name, business description, contact person name, contact telephone number, and * contact email address based on the exact business name. A object array containing business information is * returned upon successful retrieval of the business information whereas an empty object ("") is returned upon * business name search failure. * @param inquiryurl[] Inquiry URLs of the private/public registry servers * @param orgname Exact Organization Name * @return javax.xml.registry.infomodel.Organization[] * */ public Organization[] viewBusinessByName(String inquiryurl[], String businessname) throws RemoteException; /** * This method is used to search the specified public registry server’s inquiry URL for business information like * business id, business name, business description, contact person name, contact telephone number, and contact * email address based on the business name (wild card). A object array containing business information is returned * upon successful retrieval of the business information whereas an empty object ("") is returned upon business name * search failure. * @param inquiryurl[] Inquiry URLs of the private/public registry servers * @param orgname Organization Name (Wild Card) * @return javax.xml.registry.infomodel.Organization[] * */ public Organization[] viewBusinessByUrl(String inquiryurl[], String businessname) throws RemoteException; /** * This method is used to search the private/public default registry server’s inquiry URL (set by the * setDefaultInquiryUrl() method) for business information like business id, business name, * business description, contact person name, contact telephone number, and contact email address based on * the business name (wild card). A object array containing business information is returned upon successful * retrieval of the business information whereas an empty object ("") is returned upon business name search failure. * @param sid Session Id. * @param orgname Organization Name (Wild Card) * @return javax.xml.registry.infomodel.Organization[] * */ public Organization[] viewBusiness(String sid, String businessname) throws RemoteException; /** * This method is used to search the specified public registry server’s inquiry URL for category information * like classification scheme type, classification scheme name, and classification scheme description based * on the exact classification scheme name. A object array containing category information is returned * upon successful retrieval of the category information whereas an empty object ("") is returned upon * category name search failure. * @param inquiryurl[] Inquiry URLs of the private/public registry servers * @param catname Exact ClassificationScheme Name * @return javax.xml.registry.infomodel.ClassificationScheme[] * */ public ClassificationScheme[] viewCategoryByName(String inquiryurl[], String categoryid) throws RemoteException; /** * This method is used to search the specified public registry server’s inquiry URL for category information like * classification scheme type, classification scheme name, and classification scheme description based on the * classification scheme name (wild card). A object array containing category information is returned upon * successful retrieval of the category information whereas an empty object ("") is returned upon category * name search failure. * @param inquiryurl[] Inquiry URLs of the private/public registry servers * @param catname ClassificationScheme Name (Wild Card) * @return javax.xml.registry.infomodel.ClassificationScheme[] * */ public ClassificationScheme[] viewCategoryByUrl(String inquiryurl[], String categoryid) throws RemoteException; /** * This method is used to search the default public registry server’s inquiry URL (set by the setDefaultInquiryUrl() * method) for category information like classification scheme type, classification scheme name, and classification * scheme description based on the classification scheme name (wild card). A object array containing category information * is returned upon successful retrieval of the category information whereas an empty object ("") is returned upon * wild card classification name search failure. * @param sid Session Id * @param catname ClassificationScheme Name (Wild Card) * @return javax.xml.registry.infomodel.ClassificationScheme[] * */ public ClassificationScheme[] viewCategory(String sid, String categoryid) throws RemoteException; /** * This method is used to search the default private/public registry server’s inquiry URL (set by the setDefaultInquiryUrl() * method) for service binding information like service binding id, service binding description, and service binding access * URI based on the service binding id. A object array containing service binding information is returned upon * successful retrieval of the service binding information whereas an empty object ("") is returned upon service binding id * search failure. * @param sid Session Id * @param srvbdgid Valid Service Binding Id * @return javax.xml.registry.infomodel.ServiceBinding[] * */ public ServiceBinding[] viewServiceBinding(String sid, String conceptid) throws RemoteException; /** * This method is used to search the default private/public registry server’s inquiry URL (set by the setDefaultInquiryUrl() * method) for concept information like concept id, concept name, concept description, and external link based on the * concept name (wild card). A object array containing concept information is returned upon successful retrieval of the * concept information whereas an empty object ("") is returned upon wild card concept name search failure. * @param sid Session Id * @param cptname Concept Name (Wild Card) * @return javax.xml.registry.infomodel.Concept[] * */ public Concept[] viewConcept(String sid, String conceptid) throws RemoteException; /** * This method is used to search the default private/public registry server’s inquiry URL (set by the setDefaultInquiryUrl() * method) for service information like service id, service name, service description, service binding description, and * service access URI based on the service name (wild card). A object array containing service information is returned upon * successful retrieval of the service information whereas an empty object ("") is returned upon wild card service name search failure. * @param sid Session Id * @param srvname Service Name (Wild Card) * @return javax.xml.registry.infomodel.Service[] * */ public Service[] viewService(String sid, String servicename) throws RemoteException; /** * This method is used to search the given public registry server inquiry URL for service information like service * id, service name, service description, service binding description, and service access URI based on the exact * service name. A object array containing service information is returned upon successful retrieval of the * service information whereas an empty object ("") is returned upon service name search failure. * @param inquiryurl[] Inquiry URLs of the private/public registry servers * @param srvname Exact Service Name * @return javax.xml.registry.infomodel.Service[] * */ public Service[] viewServiceByName(String inquiryurl[], String servicename) throws RemoteException; /** * This method is used to search the given public registry server inquiry URL for service information like * service id, service name, service description, service binding description, and service access URI * based on the service name (wild card). A object array containing service information is returned upon * successful retrieval of the service information whereas an empty array ("") is returned upon service * name search failure. * @param inquiryurl[] Inquiry URLs of the private/public registry servers * @param srvname Service Name (Wild Card) * @return javax.xml.registry.infomodel.Service[] * */ public Service[] viewServiceByUrl(String inquiryurl[], String servicename) throws RemoteException; /** * This method is used to delete service binding information (like service binding id, service binding description, and * service access URI) from the specified public registry server’s publish URL, based on the service id. An integer * (int) value of "0" is returned upon successful deletion of the service binding information whereas the value "1" is * returned if the service binding id could not be found in the registry server and of the value "2" is returned upon * service binding information deletion failure. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param srvbdgids[] Array of Valid Service Binding ID Strings * @return int[] * */ public int[] deleteServiceBindingByUrl(String publishurl[], String username[], String password[], String srvbdgid[]) throws RemoteException; /** * This method is used to retrieve all the services based on service ids from the default private/public registry server. * @param inquiryurl[] Inquiry URLs of the private/public registry servers * @param srvids[] Array of Valid Service ID Strings * @return javax.xml.registry.infomodel.Service[] * */ public Service[] viewServicesByKey(String inquiryurl[], String serviceid[]) throws RemoteException; /** * This method is used to retrieve all the service bindings based on service binding ids from the default private/public registry server. * @param inquiryurl[] Inquiry URLs of the private/public registry servers * @param srvbdgids[] Array of Valid Service Binding ID Strings * @return javax.xml.registry.infomodel.ServiceBinding[] * */ public ServiceBinding[] viewServiceBindingsByKey(String inquiryurl[], String srvbdgid[]) throws RemoteException; /** * This method is used to retrieve all the categories based on ClassificationScheme ids from the default private/public * registry server. * @param inquiryurl[] Inquiry URLs of the private/public registry servers * @param catids[] Array of Valid ClassificationScheme ID Strings * @return javax.xml.registry.infomodel.ClassificationScheme[] * */ public ClassificationScheme[] viewCategoriesByKey(String inquiryurl[], String categoryid[]) throws RemoteException; /** * This method is used to retrieve all the concepts based on concept ids from the default private/public registry server. * @param inquiryurl[] Inquiry URLs of the private/public registry servers * @param cptids[] Array of Valid Concept ID Strings * @return javax.xml.registry.infomodel.Concept[] * */ public Concept[] viewConceptsByKey(String inquiryurl[], String categoryid[]) throws RemoteException; /** * This method is used to search the given public registry server inquiry URL for concept information like concept * id, concept name, concept description, etc. based on the exact concept name. A Concept object array containing * concept information is returned upon successful retrieval of the concept information whereas an empty object ("") * is returned upon concept name search failure. * @param inquiryurl[] Inquiry URLs of the private/public registry servers * @param cptname Exact Concept Name * @return javax.xml.registry.infomodel.Concept[] * */ public Concept[] viewConceptByName(String inquiryurl[], String categoryid) throws RemoteException; /** * This method is used to search the given public registry server inquiry URL for concept information like concept * id, concept name, concept description, etc. based on the concept name(wild card). A Concept object array containing * concept information is returned upon successful retrieval of the concept information whereas an empty object ("") is * returned upon concept name search failure. * @param inquiryurl[] Inquiry URLs of the private/public registry servers * @param cptname Concept Name (Wild Card) * @return javax.xml.registry.infomodel.Concept[] * */ public Concept[] viewConceptByUrl(String inquiryurl[], String categoryid) throws RemoteException; /** * This method is used to delete business information (like business id, business name, business description, contact person name, * contact telephone number, and contact email address) from the specified public registry server’s publish URL, based on the * business id. An integer (int) value of "0" is returned upon successful deletion of the business information whereas the value * "1" is returned if business id could not be found in the registry server and the value "2" is returned upon business information * deletion failure. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param orgids[] Array of Valid Organization ID Strings * @return int[] * */ public int[] deleteBusinessByUrl(String publishurl[], String username[], String password[], String businesskey[]) throws RemoteException; /** * This method is used to delete business information (like business id, business name, business description, contact person * name, contact telephone number, and contact email address) from the default public registry server’s publish URL (set by * the setDefaultPublishUrl() method), based on the business id. An integer (int) value of "0" is returned upon successful * deletion of the business information whereas the value "1" is returned if business id could not be found in the registry * server and the value "2" is returned upon business information deletion failure. * @param sid Session Id * @param orgids[] Array of Valid Organization ID Strings * @return int[] * */ public int[] deleteBusiness(String sid, String businesskey[]) throws RemoteException; /** * This method is used to delete category information (like classification scheme id, classification scheme type, classification * scheme name, and classification scheme description) from the specified public registry server’s publish URL, based on the * category id. An integer (int) value of "0" is returned upon successful deletion of the category information whereas the value * "1" is returned if the category id could not be found in the registry server and the value "2" is returned upon category * information deletion failure. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param catids[] Array of Valid ClassificationScheme ID Strings * @return int[] * */ public int[] deleteCategoryByUrl(String publishurl[], String username[], String password[], String categoryid[]) throws RemoteException; /** * This method is used to delete concept information (like concept id, concept name, concept description, etc.) from * the specified public registry server’s publish URL, based on the concept id. An integer (int) value of "0" is returned * upon successful deletion of the concept information whereas the value "1" is returned if the concept id could not be * found in the registry server and of the value "2" is returned upon concept information deletion failure. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param cptids[] Array of Valid Concept ID Strings * @return int[] * */ public int[] deleteConceptByUrl(String publishurl[], String username[], String password[], String conceptid[]) throws RemoteException; /** * This method is used to delete category information (like classification scheme id, classification scheme type, classification * scheme name, and classification scheme description) from the default public registry server’s publish URL (set by the * setDefaultPublishUrl() method), based on the category id. An integer (int) value of "0" is returned upon successful deletion * of the category information whereas the value "1" is returned if the category id could not be found in the registry server * and the value "2" is returned upon category information deletion failure. * @param sid Session Id * @param catids[] Array of Valid ClassificationScheme ID Strings * @return int[] * */ public int[] deleteCategory(String sid, String categorykey[]) throws RemoteException; /** * This method is used to delete concept information (like concept id, concept name, concept description, and external link) * from the default public registry server’s publish URL (set by the setDefaultPublishUrl() method), based on the concept id. * An integer (int) value of "0" is returned upon successful deletion of the concept information whereas the value "1" is * returned if the concept id could not be found in the registry server and of the value "2" is returned upon concept * information deletion failure. * @param sid Session Id * @param cptids[] Array of Valid Concept ID Strings * @return int[] * */ public int[] deleteConcept(String sid, String conceptkey[]) throws RemoteException; /** * This method is used to delete service information (like service id, service name, service description, service binding description, * and service access URI) from the specified public registry server’s publish URL, based on the service id. An integer (int) value * of "0" is returned upon successful deletion of the service information whereas the value "1" is returned if the service id * could not be found in the registry server and of the value "2" is returned upon service information deletion failure. * @param publishurl[] Publish URLs of the private/public registry servers * @param username[] Valid Usernames registered with the private/public registry servers. * @param password[] Valid Passwords registered with the private/public registry servers. * @param srvids[] Array of Valid Service ID Strings * @return int[] * */ public int[] deleteServiceByUrl(String publishurl[], String username[], String password[], String servicekey[]) throws RemoteException; /** * This method is used to delete service information (like service id, service name, service description, service binding * description, and service access URI) from the default public registry server’s publish URL (set by the setDefaultPublishUrl() * method), based on the service id. An integer (int) value of "0" is returned upon successful deletion of the service * information whereas the value "1" is returned if the service id could not be found in the registry server and of the * value "2" is returned upon service information deletion failure. * @param sid Session Id * @param srvids[] Array of Valid Service ID Strings * @return int[] * */ public int[] deleteService(String sid, String servicekey[]) throws RemoteException; /** * This method is used to delete service binding information (like service binding id, service binding description, and * service binding access URI) from the default public registry server’s publish URL (set by the setDefaultPublishUrl() * method), based on the service binding id. An integer (int) value of "0" is returned upon successful deletion of the * service binding information whereas the value "1" is returned if the service binding id could not be found in the * registry server and of the value "2" is returned upon service binding information deletion failure. * @param sid Session Id * @param srvbdgids[] Array of Valid Service Binding ID Strings * @return int[] * */ public int[] deleteServiceBinding(String sid, String servicekey[]) throws RemoteException; }