public static MOSSContext GetInstance(SPWeb web) { if (_context == null) { _context = new MOSSContext(web); } return _context; }
public WF(MOSSContext context) : base(context) { WF.context = base._context; if (context.CurrList == null) { throw new Exception("The Current Context List is null, please set it."); } }
public BaseTaskStep(MOSSContext context) { SPListItem item = context.CurrItem; SPUser user = context.ApplicantSPUser; this._approveTaskTilte = string.Format(this._title, user.Name, context.WfName, "approval"); this._confirmTaskTilte = string.Format(this._title, user.Name, context.WfName, "confirm"); this._checkTaskTilte = string.Format(this._title, user.Name, context.WfName, "approval"); this._completeTaskTilte = string.Format(this._completeTaskTilte, context.WfName); this._approveUrl = string.Format(this._url, context.WfName, "ApproveForm.aspx"); this._confirmUrl = string.Format(this._url, context.WfName, "ConfirmForm.aspx"); this._checkUrl = string.Format(this._url, context.WfName, "CheckForm.aspx"); this._editUrl = string.Format(this._url, context.WfName, "EditForm.aspx"); }
public TravelExpenseClaimWF(MOSSContext context) : base(context) { }
public NonTradeWF(MOSSContext context) : base(context) { }
public BaseWF CreateWF(MOSSContext context) { return new NonTradeWF(context); }
public PurchaseRequestWF(MOSSContext context) : base(context) { }
public TravelRequestWF(MOSSContext context) : base(context) { context.CurrList = context.GetListByName(SPListName.AcceleratorWorkflow); }
public BaseWF CreateWF(MOSSContext context) { return new TravelRequestWF(context); }
public BaseWF CreateWF(MOSSContext context) { return new CashAdvanceWF(context); }
public BaseWF CreateWF(MOSSContext context) { return new PurchaseRequestWF(context); }
public CashAdvanceWF(MOSSContext context) : base(context) { context.CurrList = context.GetListByName(SPListName.CashAdvanceRequest); }
public BaseWF CreateWF(MOSSContext context) { return new TravelExpenseClaimWF(context); }
public BaseWF(MOSSContext context) { this._context = context; this._web = context.Currweb; }
public BaseWF CreateWF(MOSSContext context) { return new PaymentRequestWF(context); }
public PaymentRequestWF(MOSSContext context) : base(context) { }