Examples of deactivate()


Examples of com.db4o.ObjectContainer.deactivate()

      try {
        Logger.minor(this, "DATABASE: "+o.getClass()+":"+o+":"+database.ext().getID(o));
      } catch (Throwable t) {
        Logger.minor(this, "CAUGHT "+t+" FOR CLASS "+o.getClass());
      }
      database.deactivate(o, 1);
    }
    int total = 0;
    for(Map.Entry<String,Integer> entry : map.entrySet()) {
      System.err.println(entry.getKey()+" : "+entry.getValue());
      total += entry.getValue();
View Full Code Here

Examples of com.hp.mwtests.ts.arjuna.resources.BasicObject.deactivate()

    {
        final BasicObject obj = new BasicObject();
        final Uid objUid = obj.get_uid();

        obj.set(1234);
        obj.deactivate();
       
        final BasicObject rec = new BasicObject(objUid);
        int res = rec.get();

        assertEquals(res, 1234);
View Full Code Here

Examples of com.logica.smpp.debug.Debug.deactivate()

    Debug debug = SmppObject.getDebug();
    if(debug != null) {
      if(active == true) {
        debug.activate();
      } else {
        debug.deactivate();
      }
    }     
    }
}
View Full Code Here

Examples of com.saasovation.identityaccess.domain.model.identity.Tenant.deactivate()

    @Transactional
    public void deactivateTenant(DeactivateTenantCommand aCommand) {
        Tenant tenant = this.existingTenant(aCommand.getTenantId());

        tenant.deactivate();
    }

    @Transactional
    public void changeUserContactInformation(ChangeContactInfoCommand aCommand) {
        User user = this.existingUser(aCommand.getTenantId(), aCommand.getUsername());
View Full Code Here

Examples of com.volantis.map.ics.imageprocessor.impl.ICSOperation.deactivate()

        ICSOperation op = new ICSOperation();
        op.activate(componentCtx);
        try {
            op.execute(descriptor, request, response);
        } finally {
            op.deactivate(componentCtx);
        }
    }
}
View Full Code Here

Examples of com.volantis.shared.net.impl.TimingOutTask.deactivate()

                throw new UndeclaredThrowableException(e);
            }
        } finally {
            if (task != null) {
                // Make sure that any existing timeouts are ignored.
                task.deactivate();
            }
        }

        return HttpStatusCode.getStatusCode(statusCode);
    }
View Full Code Here

Examples of com.zesped.model.User.deactivate()

          oUsr = new User(getSession(), sFormerId);
          LoginInterceptor.expire(oUsr.getNickName(), oUsr.getPassword());
          oUsr.setFirstName(getParam("user.firstName"));
          oUsr.setLastName(getParam("user.lastName"));
          oUsr.setEmail(getParam("user.email"));
          if (bActive) oUsr.activate(); else oUsr.deactivate();
          if (!Role.valueOf(sRole).equals(Role.admin)) {
            oUsr.canApproveInvoices(getParam("approve","").length()>0);
            oUsr.canSettleBillNotes(getParam("settle","").length()>0);
            oUsr.canUsePremiumCaptureServiceFlavor(getParam("premium","").length()>0);
          } else {
View Full Code Here

Examples of cysbml.gui.NavigationPanel.deactivate()

  }
   
    public void actionPerformed(ActionEvent ae) {
      NavigationPanel navPanel = NavigationPanel.getInstance();
      if (navPanel.isActive()){
        navPanel.deactivate();
      }else{
        navPanel.activate();
      }
    }     
   
View Full Code Here

Examples of de.nava.informa.utils.PersistChanGrpMgr.deActivate()

            if (!entry.deleted) {
              // Delete it and mark it deleted, and note that we deleted one.
              PersistChanGrpMgr theGrp = managers[entry.getPersistChanGrpMgrIdx()];

              Channel theChan = (Channel) entry.theItem.getChannel();
              theGrp.deActivate();
              int before = theGrp.getItemCount(theChan);
              int after = theGrp.deleteItemFromChannel(theChan, entry.theItem);

              if (getActiveSemaphor()) theGrp.activate();
              logger.debug("Deleted. Count before =" + before + " /after: " + after);
View Full Code Here

Examples of de.nava.informa.utils.PersistChanGrpMgr.deActivate()

    assertTrue("expected group 2 to be active", group2.isActivated());
    assertTrue("expected group 3 to be active", group3.isActivated());
   
    Thread.sleep(500);

    group1.deActivate(true);
    assertFalse("expected group 1 to be inactive", group1.isActivated());
    assertTrue("expected group 2 to be active", group2.isActivated());
    assertTrue("expected group 3 to be active", group3.isActivated());
   
    Thread.sleep(500);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.