public class InfoServiceAdminClient extends Object
| Constructor and Description |
|---|
InfoServiceAdminClient(String backEndUrl,
String sessionCookie) |
InfoServiceAdminClient(String backEndUrl,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
addComment(String comment,
String path,
String sessionId) |
void |
addTag(String tag,
String path,
String sessionId) |
org.wso2.carbon.registry.info.stub.beans.xsd.CommentBean |
getComments(String path,
String sessionId) |
org.wso2.carbon.registry.info.stub.beans.xsd.EventTypeBean |
getEventTypes(String path,
String sessionId) |
org.wso2.carbon.registry.info.stub.beans.xsd.RatingBean |
getRatings(String path,
String sessionId) |
String |
getRemoteURL(String path,
String sessionId) |
org.wso2.carbon.registry.info.stub.beans.xsd.SubscriptionBean |
getSubscriptions(String path,
String sessionId) |
org.wso2.carbon.registry.info.stub.beans.xsd.TagBean |
getTags(String path,
String sessionId) |
boolean |
isProfileExisting(String userName,
String sessionId) |
boolean |
isResource(String path,
String sessionId) |
boolean |
isRoleProfileExisting(String role,
String sessionId) |
boolean |
isRoleValid(String role,
String sessionId) |
boolean |
isUserValid(String userName,
String sessionId) |
void |
rateResource(String rating,
String path,
String sessionId) |
void |
removeComment(String commentPath,
String sessionId) |
void |
removeTag(String tag,
String path,
String sessionId) |
org.wso2.carbon.registry.info.stub.beans.xsd.SubscriptionBean |
subscribe(String path,
String endpoint,
String eventName,
String sessionId) |
void |
unsubscribe(String path,
String subscriptionId,
String sessionID) |
public InfoServiceAdminClient(String backEndUrl, String sessionCookie) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.apache.axis2.AxisFault
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.apache.axis2.AxisFaultpublic org.wso2.carbon.registry.info.stub.beans.xsd.SubscriptionBean subscribe(String path, String endpoint, String eventName, String sessionId) throws RemoteException
RemoteExceptionpublic void addComment(String comment, String path, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.apache.axis2.AxisFault
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.apache.axis2.AxisFaultpublic void addTag(String tag, String path, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.apache.axis2.AxisFault
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.apache.axis2.AxisFaultpublic void rateResource(String rating, String path, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionpublic org.wso2.carbon.registry.info.stub.beans.xsd.CommentBean getComments(String path, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionpublic org.wso2.carbon.registry.info.stub.beans.xsd.RatingBean getRatings(String path, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionpublic org.wso2.carbon.registry.info.stub.beans.xsd.TagBean getTags(String path, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionpublic org.wso2.carbon.registry.info.stub.beans.xsd.EventTypeBean getEventTypes(String path, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionpublic String getRemoteURL(String path, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionpublic org.wso2.carbon.registry.info.stub.beans.xsd.SubscriptionBean getSubscriptions(String path, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionpublic boolean isProfileExisting(String userName, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionpublic boolean isResource(String path, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionpublic boolean isRoleProfileExisting(String role, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionpublic boolean isRoleValid(String role, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionpublic boolean isUserValid(String userName, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionpublic void removeComment(String commentPath, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionpublic void removeTag(String tag, String path, String sessionId) throws org.wso2.carbon.registry.core.exceptions.RegistryException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
org.wso2.carbon.registry.core.exceptions.RegistryExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionpublic void unsubscribe(String path, String subscriptionId, String sessionID) throws RemoteException, org.wso2.carbon.registry.info.stub.RegistryExceptionException
RemoteExceptionorg.wso2.carbon.registry.info.stub.RegistryExceptionExceptionCopyright © 2019 WSO2. All rights reserved.