Compiere 3.1

org.compiere.util
Class WebInfo

java.lang.Object
  extended by org.compiere.util.WebInfo

public class WebInfo
extends Object

Information Storage. Container for JSP Information, added in InfoLinkTag

Version:
$Id$
Author:
Jorg Janke

Field Summary
static String NAME
          JSP Name
 
Constructor Summary
WebInfo(Ctx ctx, WebUser wu)
          Constructor
 
Method Summary
 ArrayList<MWFActivity> getActivities()
          Get Workflow Activities
 MWFActivity getActivity()
          Get Activity.
 int getAD_Client_ID()
          Get Client
 int getAD_User_ID()
          Get BPartner Contact/User
 ArrayList<MAdvertisement> getAdvertisements()
          Get Advertisements
 ArrayList<MAdvertisement> getAllAds()
          Get All Advertisements
 ArrayList<MAsset> getAssets()
          Get Active Assets if not Credit Stop and EMail is verified
 int getC_BPartner_ID()
          Get BPartner
 ArrayList<MInvoice> getCommissionedInvoices()
          Get Commissioned Invoices
 ArrayList<MCommissionRun> getCommissionRuns()
          Get Commission Runs
 MTimeExpense getExpense()
          Get Expense Report.
 ArrayList<MTimeExpense> getExpenses()
          Get Expenses
static WebInfo getGeneral()
          Get general Info
 int getId()
          Get Info Message
 String getInfo()
          Get Info Message - do not reset
 ArrayList<MInterestArea> getInterests()
          Get Interest Areas
 MInvoice getInvoice()
          Get Invoice.
 ArrayList<MInvoice> getInvoices()
          Get Invoices
 String getMessage()
          Get Info Message & reset
 MNote getNote()
          Get Notification.
 ArrayList<MNote> getNotes()
          Get Notices
 MOrder getOrder()
          Get Order.
 ArrayList<MOrder> getOrders()
          Get Orders
 ArrayList<MPayment> getPayments()
          Get Payments
 MRegistration getRegistration()
          Get Registration.
 ArrayList<MRegistration> getRegistrations()
          Get Registrations
 MRequest getRequest()
          Get Request.
 ArrayList<MRequest> getRequests(boolean own)
          Get Requests
 ArrayList<MRequest> getRequestsAssigned()
          Get Own Requests
 ArrayList<MRequest> getRequestsOwn()
          Get Own Requests
 MRequestType getRequestType()
          Get Request Type
 ArrayList<MRequestType> getRequestTypes()
          Get Request Types
 MRfQResponse getRfQResponse()
          Get RfQ Response.
 ArrayList<MRfQ> getRfQs()
          Get RfQs.
 ArrayList<MInOut> getShipments()
          Get Shipments
 int getUser_ID()
          Get BPartner Contact/User
 WebUser getWebUser()
          Get WebUser
 void setId(int id)
          Set Info Message
 void setId(String id)
          Set Info Message
 void setMessage(String msg)
          Set Info Message
 String toString()
          String Representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
JSP Name

See Also:
Constant Field Values
Constructor Detail

WebInfo

public WebInfo(Ctx ctx,
               WebUser wu)
Constructor

Parameters:
ctx - context
wu - BPartner
Method Detail

getGeneral

public static WebInfo getGeneral()
Get general Info

Returns:
info

toString

public String toString()
String Representation

Overrides:
toString in class Object
Returns:
info

getMessage

public String getMessage()
Get Info Message & reset

Returns:
info message

getInfo

public String getInfo()
Get Info Message - do not reset

Returns:
info message

setMessage

public void setMessage(String msg)
Set Info Message

Parameters:
msg - info message

getId

public int getId()
Get Info Message

Returns:
info id

setId

public void setId(String id)
Set Info Message

Parameters:
id - info id

setId

public void setId(int id)
Set Info Message

Parameters:
id - info id

getAD_Client_ID

public int getAD_Client_ID()
Get Client

Returns:
AD_Client_ID

getC_BPartner_ID

public int getC_BPartner_ID()
Get BPartner

Returns:
C_BPartner_ID

getAD_User_ID

public int getAD_User_ID()
Get BPartner Contact/User

Returns:
AD_User_ID

getUser_ID

public int getUser_ID()
Get BPartner Contact/User

Returns:
AD_User_ID

getWebUser

public WebUser getWebUser()
Get WebUser

Returns:
WebUser

getOrders

public ArrayList<MOrder> getOrders()
Get Orders

Returns:
invoices of BP

getOrder

public MOrder getOrder()
Get Order. Needs to have ID set first

Returns:
invoice of BP with ID

getShipments

public ArrayList<MInOut> getShipments()
Get Shipments

Returns:
shipments of BP

getRequestsOwn

public ArrayList<MRequest> getRequestsOwn()
Get Own Requests

Returns:
Array of Own Requests

getRequestsAssigned

public ArrayList<MRequest> getRequestsAssigned()
Get Own Requests

Returns:
Array of Assigned Requests

getRequests

public ArrayList<MRequest> getRequests(boolean own)
Get Requests

Parameters:
own - if true its own requests otherwise or
Returns:
Array of Requests

getRequest

public MRequest getRequest()
Get Request. Needs to have ID set first; Check that it is owned / created by requestor

Returns:
invoice of BP with ID

getRequestTypes

public ArrayList<MRequestType> getRequestTypes()
Get Request Types

Returns:
Array of Request Types

getRequestType

public MRequestType getRequestType()
Get Request Type

Returns:
Request Type

getInvoices

public ArrayList<MInvoice> getInvoices()
Get Invoices

Returns:
invoices of BP

getInvoice

public MInvoice getInvoice()
Get Invoice. Needs to have ID set first

Returns:
invoice with ID of BP

getPayments

public ArrayList<MPayment> getPayments()
Get Payments

Returns:
payments of BP

getAssets

public ArrayList<MAsset> getAssets()
Get Active Assets if not Credit Stop and EMail is verified

Returns:
payments of BP

getInterests

public ArrayList<MInterestArea> getInterests()
Get Interest Areas

Returns:
interest areas of BPC

getAdvertisements

public ArrayList<MAdvertisement> getAdvertisements()
Get Advertisements

Returns:
advertisements of BP

getAllAds

public ArrayList<MAdvertisement> getAllAds()
Get All Advertisements

Returns:
all advertisements

getCommissionedInvoices

public ArrayList<MInvoice> getCommissionedInvoices()
Get Commissioned Invoices

Returns:
commissioned invoices

getCommissionRuns

public ArrayList<MCommissionRun> getCommissionRuns()
Get Commission Runs

Returns:
commissioned invoices

getNotes

public ArrayList<MNote> getNotes()
Get Notices

Returns:
notices

getNote

public MNote getNote()
Get Notification. Needs to have ID set first

Returns:
notification of User with ID

getActivities

public ArrayList<MWFActivity> getActivities()
Get Workflow Activities

Returns:
activities

getActivity

public MWFActivity getActivity()
Get Activity. Needs to have ID set first

Returns:
notification of User with ID

getExpenses

public ArrayList<MTimeExpense> getExpenses()
Get Expenses

Returns:
expense reports

getExpense

public MTimeExpense getExpense()
Get Expense Report. Needs to have ID set first

Returns:
invoice of BP with ID

getRegistrations

public ArrayList<MRegistration> getRegistrations()
Get Registrations

Returns:
registrations

getRegistration

public MRegistration getRegistration()
Get Registration. Needs to have ID set first

Returns:
invoice of BP with ID

getRfQs

public ArrayList<MRfQ> getRfQs()
Get RfQs. Where Response is Accepted, Self Service and either all vendors or this vendor is selected.

Returns:
request for quotations

getRfQResponse

public MRfQResponse getRfQResponse()
Get RfQ Response. Needs to have ID set first

Returns:
rfq of BP with ID

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.