Examples of withdraw()


Examples of org.dspace.content.Item.withdraw()

            break;

        case CONFIRM_WITHDRAW:

            // Withdraw the item
            item.withdraw();
            JSPManager.showJSP(request, response, "/tools/get-item-id.jsp");
            context.complete();

            break;
View Full Code Here

Examples of org.dspace.content.Item.withdraw()

  {
    FlowResult result = new FlowResult();
    result.setContinue(false);
   
    Item item = Item.find(context, itemID);
    item.withdraw();
    context.commit();

    result.setContinue(true);
        result.setOutcome(true);
        result.setMessage(T_item_withdrawn);
View Full Code Here

Examples of org.dspace.content.Item.withdraw()

                        else if (dcField.equals("rights.accessRights"))
                        {
                            //check if item is withdrawn
                            if (value.equalsIgnoreCase("WITHDRAWN"))
                            {
                                item.withdraw();
                            }
                        }
                        else if(dcField.equals("identifier.uri") ||
                                dcField.equals("relation.isPartOf"))
                        {
View Full Code Here

Examples of org.dspace.content.Item.withdraw()

            break;

        case CONFIRM_WITHDRAW:

            // Withdraw the item
            item.withdraw();
            JSPManager.showJSP(request, response, "/tools/get-item-id.jsp");
            context.complete();

            break;
View Full Code Here

Examples of org.dspace.content.Item.withdraw()

  {
    FlowResult result = new FlowResult();
    result.setContinue(false);
   
    Item item = Item.find(context, itemID);
    item.withdraw();
    context.commit();

    result.setContinue(true);
        result.setOutcome(true);
        result.setMessage(T_item_withdrawn);
View Full Code Here

Examples of org.fireflow.engine.IWorkItem.withdraw()

   * @see org.fireflow.engine.IWorkflowSession#withdrawWorkItem(java.lang.String)
   */
  public IWorkItem withdrawWorkItem(final String workItemId)
      throws EngineException, KernelException {
    IWorkItem wi = this.findWorkItemById(workItemId);
    return wi.withdraw();
  }

  public void clearAttributes() {
    this.attributes.clear();
   
View Full Code Here

Examples of org.jboss.test.bankiiop.interfaces.Account.withdraw()

      {
         Account acct = (Account)PortableRemoteObject.narrow(i.next(),
                                                             Account.class);
         AccountData data = acct.getData();
         getLog().debug(data.getId()+"("+data.getOwner().getName()+"):"+data.getBalance());
         acct.withdraw(data.getBalance()); // Clear
      }
     
      teller.remove();
   }
  
View Full Code Here

Examples of org.jboss.test.banknew.interfaces.TellerSession.withdraw()

      AccountData lAccountData3 = lTeller.getAccount( lAccountData.getId() );
      AccountData lAccountData4 = lTeller.getAccount( lCustomerData.getId(), Constants.CHECKING );
      Collection lAccounts = lTeller.getAccounts( lCustomerData.getId() );
     
      lTeller.deposit( lAccountData4.getId(), 75 );
      lTeller.withdraw( lAccountData3.getId(), 63 );
      lTeller.transfer( lAccountData4.getId(), lAccountData3.getId(), 52 );
     
      lTeller.removeAccount( lAccountData4.getId() );
      lTeller.removeAccount( lAccountData.getId() );
      lTeller.removeCustomer( lCustomerData.getId() );
View Full Code Here

Examples of org.melonbrew.fe.database.Account.withdraw()

            return true;
        }

        String formattedMoney = plugin.getAPI().format(money);

        victim.withdraw(money);

        Phrase.PLAYER_DEDUCT_MONEY.sendWithPrefix(sender, formattedMoney, victim.getName());

        Player receiverPlayer = plugin.getServer().getPlayerExact(victim.getName());
View Full Code Here

Examples of org.melonbrew.fe.database.Account.withdraw()

            return true;
        }

        String formattedMoney = plugin.getAPI().format(money);

        account.withdraw(money);

        receiver.deposit(money);

        Phrase.MONEY_SENT.sendWithPrefix(sender, formattedMoney, receiver.getName());
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.