本文整理汇总了Java中com.vmware.o11n.plugin.sdk.annotation.VsoMethod类的典型用法代码示例。如果您正苦于以下问题:Java VsoMethod类的具体用法?Java VsoMethod怎么用?Java VsoMethod使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
VsoMethod类属于com.vmware.o11n.plugin.sdk.annotation包,在下文中一共展示了VsoMethod类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createMetadata
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void createMetadata(Session session, Metadata childRestObj, Integer responseChoice, Boolean commitObj) throws RestException {
boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
super.createChild(session, childRestObj, responseChoice, commit);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementInvalidate(Constants.METADATAS_FETCHER, getId());
}
}
示例2: delete
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void delete(Session session, Integer responseChoiceObj) throws RestException {
int responseChoice = (responseChoiceObj != null) ? responseChoiceObj.intValue() : 1;
super.delete(session, responseChoice);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementDeleted(Constants.MONITORINGPORT, getId());
}
}
示例3: createGlobalMetadata
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void createGlobalMetadata(Session session, GlobalMetadata childRestObj, Integer responseChoice, Boolean commitObj) throws RestException {
boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
super.createChild(session, childRestObj, responseChoice, commit);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementInvalidate(Constants.GLOBALMETADATAS_FETCHER, getId());
}
}
示例4: createLtestatistics
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void createLtestatistics(Session session, Ltestatistics childRestObj, Integer responseChoice, Boolean commitObj) throws RestException {
boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
super.createChild(session, childRestObj, responseChoice, commit);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementInvalidate(Constants.LTESTATISTICS_FETCHER, getId());
}
}
示例5: assignGlobalMetadatas
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void assignGlobalMetadatas(Session session, GlobalMetadata[] childRestObjs, Boolean commitObj) throws RestException {
boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
super.assign(session, java.util.Arrays.asList(childRestObjs), commit);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementUpdated(Constants.VM, getId());
}
}
示例6: assignGlobalMetadatas
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void assignGlobalMetadatas(Session session, GlobalMetadata[] childRestObjs, Boolean commitObj) throws RestException {
boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
super.assign(session, java.util.Arrays.asList(childRestObjs), commit);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementUpdated(Constants.EGRESSADVFWDENTRYTEMPLATE, getId());
}
}
示例7: delete
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void delete(Session session, Integer responseChoiceObj) throws RestException {
int responseChoice = (responseChoiceObj != null) ? responseChoiceObj.intValue() : 1;
super.delete(session, responseChoice);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementDeleted(Constants.ENTERPRISESECUREDDATA, getId());
}
}
示例8: createOSPFInterface
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void createOSPFInterface(Session session, OSPFInterface childRestObj, Integer responseChoice, Boolean commitObj) throws RestException {
boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
super.createChild(session, childRestObj, responseChoice, commit);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementInvalidate(Constants.OSPFINTERFACES_FETCHER, getId());
}
}
示例9: save
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void save(Session session, Integer responseChoice) throws RestException {
super.save(session, responseChoice);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementUpdated(Constants.VSP, getId());
}
}
示例10: save
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void save(Session session, Integer responseChoice) throws RestException {
super.save(session, responseChoice);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementUpdated(Constants.NEXTHOP, getId());
}
}
示例11: delete
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void delete(Session session, Integer responseChoiceObj) throws RestException {
int responseChoice = (responseChoiceObj != null) ? responseChoiceObj.intValue() : 1;
super.delete(session, responseChoice);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementDeleted(Constants.NSGINFO, getId());
}
}
示例12: createAlarm
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void createAlarm(Session session, Alarm childRestObj, Integer responseChoice, Boolean commitObj) throws RestException {
boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
super.createChild(session, childRestObj, responseChoice, commit);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementInvalidate(Constants.ALARMS_FETCHER, getId());
}
}
示例13: delete
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void delete(Session session, Integer responseChoiceObj) throws RestException {
int responseChoice = (responseChoiceObj != null) ? responseChoiceObj.intValue() : 1;
super.delete(session, responseChoice);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementDeleted(Constants.ENTERPRISE, getId());
}
}
示例14: createVsgRedundantPort
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void createVsgRedundantPort(Session session, VsgRedundantPort childRestObj, Integer responseChoice, Boolean commitObj) throws RestException {
boolean commit = (commitObj != null) ? commitObj.booleanValue() : true;
super.createChild(session, childRestObj, responseChoice, commit);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementInvalidate(Constants.VSGREDUNDANTPORTS_FETCHER, getId());
}
}
示例15: save
import com.vmware.o11n.plugin.sdk.annotation.VsoMethod; //导入依赖的package包/类
@VsoMethod
public void save(Session session, Integer responseChoice) throws RestException {
super.save(session, responseChoice);
if (!session.getNotificationsEnabled()) {
SessionManager.getInstance().notifyElementUpdated(Constants.BRIDGEINTERFACE, getId());
}
}