public class ResourceManagementClientImpl extends ServiceClientImpl implements ResourceManagementClient
Constructor and Description |
---|
ResourceManagementClientImpl(URL resourceUrl) |
addRequestHeader, convert, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, invoke, setPassword, setUpService, setUserId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRequestHeader, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserId
public ResourceManagementClientImpl(URL resourceUrl)
protected org.apache.axis.client.Stub createStub(URL url) throws javax.xml.rpc.ServiceException
createStub
in class ServiceClientImpl
javax.xml.rpc.ServiceException
public void clear() throws LangridException
clear
in interface ResourceManagementClient
LangridException
public void addResource(String resourceId, ResourceProfile profile, ResourceInstance instance, Attribute[] attributes) throws LangridException
addResource
in interface ResourceManagementClient
LangridException
public void addResourceAs(String ownerUserId, String resourceId, ResourceProfile profile, ResourceInstance instance, Attribute[] attributes) throws LangridException
addResourceAs
in interface ResourceManagementClient
LangridException
public ResourceEntrySearchResult searchResources(int startIndex, int maxCount, MatchingCondition[] conditions, Order[] orders, Scope scope) throws LangridException
searchResources
in interface ResourceManagementClient
LangridException
public void deleteResource(String resourceId) throws LangridException
deleteResource
in interface ResourceManagementClient
LangridException
public ResourceProfile getResourceProfile(String resourceId) throws LangridException
getResourceProfile
in interface ResourceManagementClient
LangridException
public void setResourceProfile(String resourceId, ResourceProfile profile) throws LangridException
setResourceProfile
in interface ResourceManagementClient
LangridException
public ResourceInstance getResourceInstance(String resourceId) throws LangridException
getResourceInstance
in interface ResourceManagementClient
LangridException
public void setResourceInstance(String resourceId, ResourceInstance instance) throws LangridException
setResourceInstance
in interface ResourceManagementClient
LangridException
public Attribute[] getResourceAttributes(String resourceId, String[] attributeNames) throws LangridException
getResourceAttributes
in interface ResourceManagementClient
LangridException
public void setResourceAttributes(String resourceId, Attribute[] attributes) throws LangridException
setResourceAttributes
in interface ResourceManagementClient
LangridException
public void activateResource(String resourceId) throws LangridException
ResourceManagementClient
activateResource
in interface ResourceManagementClient
LangridException
public void deactivateResource(String resourceId) throws LangridException
deactivateResource
in interface ResourceManagementClient
LangridException
public boolean isResourceActive(String resourceId) throws LangridException
isResourceActive
in interface ResourceManagementClient
LangridException
public void authorizeResource(String resourceId) throws LangridException
authorizeResource
in interface ResourceManagementClient
LangridException
public void deauthorizeResource(String resourceId) throws LangridException
deauthorizeResource
in interface ResourceManagementClient
LangridException