public class NodeManagementClientImpl extends ServiceClientImpl implements NodeManagementClient
Constructor and Description |
---|
NodeManagementClientImpl(URL nodeUrl) |
Modifier and Type | Method and Description |
---|---|
void |
activateNode(String nodeId) |
void |
addNode(String nodeId,
NodeProfile profile,
Attribute[] attributes) |
void |
addNodeAs(String ownerUserId,
String nodeId,
NodeProfile profile,
Attribute[] attributes) |
void |
clear() |
protected org.apache.axis.client.Stub |
createStub(URL url) |
void |
deactivateNode(String nodeId) |
void |
deleteNode(String nodeId) |
String |
getBasicAuthUserName(String nodeId)
ノードのBasic認証ユーザ名を取得する。
|
Attribute[] |
getNodeAttributes(String nodeId,
String[] attributeNames) |
NodeProfile |
getNodeProfile(String nodeId) |
String |
getSelfNodeId() |
boolean |
isNodeActive(String nodeId) |
NodeEntrySearchResult |
searchNodes(int startIndex,
int maxCount,
MatchingCondition[] conditions,
Order[] orders,
Scope scope) |
void |
setBasicAuthUserNameAndPassword(String nodeId,
String basicAuthUserName,
String basicAuthPassword)
ノードのBasic認証ユーザ 名とパスワードを設定する。
|
void |
setNodeAttributes(String nodeId,
Attribute[] attributes) |
void |
setNodeProfile(String nodeId,
NodeProfile profile) |
void |
setUpSelfNode(String ownerUserId,
String nodeId,
NodeProfile profile,
Attribute[] attributes) |
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 NodeManagementClientImpl(URL nodeUrl)
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 NodeManagementClient
LangridException
public NodeEntrySearchResult searchNodes(int startIndex, int maxCount, MatchingCondition[] conditions, Order[] orders, Scope scope) throws LangridException
searchNodes
in interface NodeManagementClient
LangridException
public void addNode(String nodeId, NodeProfile profile, Attribute[] attributes) throws LangridException
addNode
in interface NodeManagementClient
LangridException
public void addNodeAs(String ownerUserId, String nodeId, NodeProfile profile, Attribute[] attributes) throws LangridException
addNodeAs
in interface NodeManagementClient
LangridException
public void deleteNode(String nodeId) throws LangridException
deleteNode
in interface NodeManagementClient
LangridException
public NodeProfile getNodeProfile(String nodeId) throws LangridException
getNodeProfile
in interface NodeManagementClient
LangridException
public void setNodeProfile(String nodeId, NodeProfile profile) throws LangridException
setNodeProfile
in interface NodeManagementClient
LangridException
public String getBasicAuthUserName(String nodeId) throws LangridException
NodeManagementClient
getBasicAuthUserName
in interface NodeManagementClient
nodeId
- ノードIDLangridException
- 処理に失敗したpublic void setBasicAuthUserNameAndPassword(String nodeId, String basicAuthUserName, String basicAuthPassword) throws LangridException
NodeManagementClient
setBasicAuthUserNameAndPassword
in interface NodeManagementClient
nodeId
- ノードIDbasicAuthUserName
- Basic認証ユーザ名basicAuthPassword
- Basic認証パスワードLangridException
- 処理に失敗したpublic Attribute[] getNodeAttributes(String nodeId, String[] attributeNames) throws LangridException
getNodeAttributes
in interface NodeManagementClient
LangridException
public void setNodeAttributes(String nodeId, Attribute[] attributes) throws LangridException
setNodeAttributes
in interface NodeManagementClient
LangridException
public void activateNode(String nodeId) throws LangridException
activateNode
in interface NodeManagementClient
LangridException
public void deactivateNode(String nodeId) throws LangridException
deactivateNode
in interface NodeManagementClient
LangridException
public boolean isNodeActive(String nodeId) throws LangridException
isNodeActive
in interface NodeManagementClient
LangridException
public void setUpSelfNode(String ownerUserId, String nodeId, NodeProfile profile, Attribute[] attributes) throws LangridException
setUpSelfNode
in interface NodeManagementClient
LangridException
public String getSelfNodeId() throws LangridException
getSelfNodeId
in interface NodeManagementClient
LangridException