Package com.portal.browse
Class EventBrowserData
java.lang.Object
com.portal.browse.EventBrowserData
- All Implemented Interfaces:
Serializable
This a data object used for passing information between the panels and
controllers.
- Version:
- %version: 16 % %date_modified: Fri Feb 09 18:06:50 2001 %
- Author:
- Monica Gaines
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates an update to the list of marked items.static final intIndicates an event adjustment.static final intIndicates a need to clear out the adjusmtment information stored for a current search.static final intIndicates a request to close open contextsstatic final intIndicates the setting of credentials for branding.static final intIndicates an update to the detail view of an event.static final intIndicates an update to the detail view of an object.static final intIndicates a request to estimate event adjustments.static final intIndicates the saving of the selected events to a file.static final intIndicates a retrieval of the history items.static final intIndicates the initialization of the adjust event dialog.static final intIndicates the handling of search results.static final intIndicates the reading of the permissions object.static final intIndicates a print operation, event details are sent to the printer.static final intIndicates a remove from the list of marked items. -
Constructor Summary
ConstructorsConstructorDescriptionEventBrowserData(int type) Create an instance of this object using information for reading permissions for the current user.EventBrowserData(int type, int[] r, boolean b) Create an instance of this object using information for marking and unmarking events.EventBrowserData(int type, int[] r, DataTemplate[] dt) Create an instance of this object using information for retrieving HistoryItems.EventBrowserData(int type, AdjustEventData data, Properties res) Create an instance of this object using information for adjusting events.EventBrowserData(int type, File f, Vector fields, Properties res, HistoryItem[] items) Create an instance of this object using information for saving events/objects to a file.EventBrowserData(int type, String acl, String group) Create an instance of this object using information for setting credentials - used for brandingEventBrowserData(int type, ArrayList subValues, DataTemplate dt) Create an instance of this object using information for updating the object details.EventBrowserData(int type, Hashtable mData) Create an instance of this object using information for retrieving data for marking events.EventBrowserData(int type, Properties res) Create an instance of this object using information for inititalizing search results.EventBrowserData(int type, Properties res, int r) Create an instance of this object using information for retrieving data for displaying events or objects.EventBrowserData(int type, Properties res, DataTemplate dt) Create an instance of this object using information for object details and printing.EventBrowserData(Properties res, ArrayList arList) Create an instance of this object using information for object details. -
Method Summary
Modifier and TypeMethodDescriptiongetACL()booleanIndicates whether or not the user has permission to adjuste events.com.portal.browse.AdjustmentInfo[]getFile()getGroup()getItems()intgetRow()Integer[]getRows()booleanint[]getTitle()intgetType()voidsetAdjustData(ArrayList aData) Sets the adjustment datavoidsetAdjustEvents(boolean b) Set the adjustEvent property.voidsetAdjustmentInfo(com.portal.browse.AdjustmentInfo[] aInfo) Sets the adjustment info.voidSet the DataTemplate objectvoidsetItems(HistoryItem[] items) Sets the history item objectvoidsetMarkedData(HashMap mData) Sets the marked datavoidsetMarkedEvents(Hashtable mData) Sets the marked eventsvoidsetMaskedFields(Vector mFields) Sets the maskedFields vector.voidsetPrintData(PrintData pData) Sets the print information retrieved from the controller.voidsetResources(Properties res) Sets the resources to the given properties object.voidsetResultsList(ArrayList rList) Sets the adjustment datavoidvoidSet the title for the object details
-
Field Details
-
DISPLAY_OBJECT
public static final int DISPLAY_OBJECTIndicates an update to the detail view of an object.- See Also:
-
PERMISSIONS
public static final int PERMISSIONSIndicates the reading of the permissions object.- See Also:
-
EXPORT_DATA
public static final int EXPORT_DATAIndicates the saving of the selected events to a file.- See Also:
-
INIT_ADJUST_EVENTS
public static final int INIT_ADJUST_EVENTSIndicates the initialization of the adjust event dialog.- See Also:
-
CREDENTIALS
public static final int CREDENTIALSIndicates the setting of credentials for branding.- See Also:
-
INIT_RESULTS
public static final int INIT_RESULTSIndicates the handling of search results.- See Also:
-
DISPLAY_EVENT
public static final int DISPLAY_EVENTIndicates an update to the detail view of an event.- See Also:
-
ADD_MARKED_ITEM
public static final int ADD_MARKED_ITEMIndicates an update to the list of marked items.- See Also:
-
REMOVE_MARKED_ITEM
public static final int REMOVE_MARKED_ITEMIndicates a remove from the list of marked items.- See Also:
-
HISTORY_ITEMS
public static final int HISTORY_ITEMSIndicates a retrieval of the history items.- See Also:
-
CLEAR_SEARCH_DATA
public static final int CLEAR_SEARCH_DATAIndicates a need to clear out the adjusmtment information stored for a current search.- See Also:
-
ADJUST_EVENTS
public static final int ADJUST_EVENTSIndicates an event adjustment.- See Also:
-
PRINT
public static final int PRINTIndicates a print operation, event details are sent to the printer.- See Also:
-
ESTIMATE_ADJUSTMENT
public static final int ESTIMATE_ADJUSTMENTIndicates a request to estimate event adjustments.- See Also:
-
CLOSE_CONTEXT
public static final int CLOSE_CONTEXTIndicates a request to close open contexts- See Also:
-
-
Constructor Details
-
EventBrowserData
Create an instance of this object using information for saving events/objects to a file.- Parameters:
type- the type of operationf- the file to savefields- the fields that are supposed to be maskedres- contains the required strings for the controlleritems- an array of events/objects
-
EventBrowserData
Create an instance of this object using information for inititalizing search results.- Parameters:
type- the type of operationres- contains the required strings for the controller
-
EventBrowserData
Create an instance of this object using information for object details and printing.- Parameters:
type- the type of operationres- contains the required strings for the controllerdt- the data template
-
EventBrowserData
Create an instance of this object using information for object details.- Parameters:
res- contains the required strings for the controllerarList- the array list containing the object
-
EventBrowserData
Create an instance of this object using information for retrieving HistoryItems.- Parameters:
type- the type of operationr- the array of selected rowsdt- the array of data templates
-
EventBrowserData
public EventBrowserData(int type, int[] r, boolean b) Create an instance of this object using information for marking and unmarking events.- Parameters:
type- the type of operationr- the array of selected rowsb- indicates if the information is from the search results
-
EventBrowserData
Create an instance of this object using information for updating the object details.- Parameters:
type- the type of operationsubValues- the list of substitute valuesdt- the DataTemplate object
-
EventBrowserData
public EventBrowserData(int type) Create an instance of this object using information for reading permissions for the current user.- Parameters:
type- the type of operation
-
EventBrowserData
Create an instance of this object using information for retrieving data for marking events.- Parameters:
type- the type of operationmdata- contains the marked events
-
EventBrowserData
Create an instance of this object using information for adjusting events.- Parameters:
type- the type of operationdata- contains the information required for event adjustmentsres- contains the required strings for the controller
-
EventBrowserData
Create an instance of this object using information for setting credentials - used for branding- Parameters:
type- the type of operationacl- string representation of acl poidgroup- string representation of group poid
-
EventBrowserData
Create an instance of this object using information for retrieving data for displaying events or objects.- Parameters:
type- the type of operationres- contains the required strings for the controllerr- the selected row containing the event
-
-
Method Details
-
getFile
- Returns:
- the file used for saving events/objects
-
setItems
Sets the history item object- Parameters:
items- the array of HistoryItems
-
getItems
- Returns:
- an array of events/objects
-
setMaskedFields
Sets the maskedFields vector.- Parameters:
mFields- the new masked fields value
-
getMaskedFields
- Returns:
- a vector of masked fields
-
getResources
- Returns:
- the object that contains the required strings for the controller
-
setResources
Sets the resources to the given properties object.- Parameters:
res- contains the requried strings for the controller
-
getHandle
- Returns:
- the PModelHandle
-
getResultData
- Returns:
- the array of ResultData for the search
-
setTitle
Set the title for the object details- Parameters:
str- the title
-
getTitle
- Returns:
- the title for the object details
-
setDataTemplate
Set the DataTemplate object- Parameters:
dt- the DataTemplate
-
getDataTemplate
- Returns:
- the DataTemplate
-
getGenericData
- Returns:
- the DataTemplate
-
getAdjustData
- Returns:
- the adjustment data
-
setAdjustData
Sets the adjustment data- Parameters:
aData- the adjustment data
-
getResultsList
- Returns:
- the results data
-
setResultsList
Sets the adjustment data- Parameters:
rData- the results data
-
getSelectedRows
public int[] getSelectedRows()- Returns:
- the array of selected rows
-
getMarkedData
- Returns:
- the marked data
-
setMarkedData
Sets the marked data- Parameters:
mData- the marked data
-
getMarkedEvents
- Returns:
- the marked events
-
setMarkedEvents
Sets the marked events- Parameters:
mData- the marked events
-
getAdjustmentInfo
public com.portal.browse.AdjustmentInfo[] getAdjustmentInfo()- Returns:
- the array of adjustment info
-
setAdjustmentInfo
public void setAdjustmentInfo(com.portal.browse.AdjustmentInfo[] aInfo) Sets the adjustment info.- Parameters:
aInfo- the array containing adjusment info
-
getSubstituteValues
- Returns:
- the list of substitue values
-
setAdjustEvents
public void setAdjustEvents(boolean b) Set the adjustEvent property. This indicates whether or not a permission has been set for adjusting events.- Parameters:
b- true if the user has permission to adjust events
-
getAdjustEvents
public boolean getAdjustEvents()Indicates whether or not the user has permission to adjuste events.- Returns:
- true if the user has permission to adjust events
-
getType
public int getType()- Returns:
- the type of operation this object is used for
-
getACL
- Returns:
- the acl string used for branding
-
getGroup
- Returns:
- the group string used for branding
-
getRow
public int getRow()- Returns:
- the selected row
-
setRows
-
getRows
- Returns:
- the selected row
-
getSearchData
public boolean getSearchData()- Returns:
- indicates whether the data came from the current search results
-
setPrintData
Sets the print information retrieved from the controller.- Parameters:
pData- the print information
-
getPrintData
- Returns:
- the print information from the controller
-
getAdjustEventData
- Returns:
- data required to adjust events
-
getDataTemplates
- Returns:
- data required to print/export events
-