Siebel Object Interfaces Reference > Java Data Bean Quick Reference >

Business Component


Table 44 lists a summary of the Siebel BusComp Methods syntax.

Table 44.  SiebelBusComp Methods Syntax Summary
Method
Description
Syntax
Allows queries to retrieve data for the specified field.

boolean activateField (String fieldName) throws SiebelException

Allows queries to retrieve data for the fields specified in the property set.

boolean activateMultipleFields(SiebelPropertySet psFields) throws SiebelException

Creates a new many-to-many relationship for the parent object through an association business component.

boolean associate (boolean isInsertBefore) throws SiebelException

Returns the business object that contains the business component.

SiebelBusObject busObject () throws SiebelException

Clears the current query and sort specifications on the business component.

boolean clearToQuery () throws SiebelException

Deactivates every currently activated field.

boolean deactivateFields()

Removes the current record from the business component.

boolean deleteRecord () throws SiebelException

Retrieves a set of BusComp records.

boolean executeQuery (boolean cursorMode) throws SiebelException

Retrieves a set of BusComp records.

boolean executeQuery2 (boolean cursorMode, boolean ignoreMaxCursorSize) throws SiebelException

Moves to the first record in the business component.

boolean firstRecord () throws SiebelException

Returns the association business component.

SiebelBusComp getAssocBusComp () throws SiebelException

Returns a value for the field specified in the argument.

String getFieldValue (String fieldName) throws SiebelException

Returns a formatted value for the field specified in the argument.

String getFormattedFieldValue (String fieldName) throws SiebelException

Returns a value for the fields specified in the property set.

boolean getMultipleFieldValues(SiebelPropertySet Src, SiebelPropertySet result) throws SiebelException

Returns the MVG business component associated with the field specified in the argument.

SiebelBusComp getMVGBusComp (String fieldName) throws SiebelException

Returns the argument-named search specification.

String getNamedSearch (String searchName) throws SiebelException

Returns the pick business component associated with the field specified in the argument.

SiebelBusComp getPicklistBusComp (String fieldName) throws SiebelException

Returns the current search expression.

String getSearchExpr () throws SiebelException

Returns the current search specification for the field specified in the argument.

String getSearchSpec (String fieldName) throws SiebelException

Returns the value for the property whose name is specified in the argument.

String getUserProperty (String property) throws SiebelException

Returns the visibility mode for the business component.

int getViewMode ()

Calls the specialized method named in the argument.

String invokeMethod (String methodName, String[] methodArgs) throws SiebelException

Moves to the last record in the business component.

boolean lastRecord () throws SiebelException

Returns the name of the business component.

String name ()

Adds a new record to the business component.

boolean newRecord (boolean isInsertBefore) throws SiebelException

Moves to the next record in the business component.

boolean nextRecord () throws SiebelException

Returns the parent business component.

SiebelBusComp parentBusComp () throws SiebelException

Places the currently selected record in a picklist business component into the appropriate fields of the parent business component.

boolean pick () throws SiebelException

Moves to the previous record in the business component.

boolean previousRecord () throws SiebelException

Refines a query after a query has been executed.

boolean refineQuery () throws SiebelException

Enables the release of the business component and its resources on the Siebel Server.

void release() {}

Assigns a new value to the named field for the current row of the business component.

boolean setFieldValue (String fieldName, String fieldValue) throws SiebelException

Accepts the field value in the current local format and assigns the new value to the named field for the current row of the business component.

boolean setFormattedFieldValue (String fieldName, String fieldValue) throws SiebelException

Assigns a new value to the fields specified in the property set for the current row of the business component.

boolean setMultipleFieldValues(SiebelPropertySet psFields) throws SiebelException

Sets a named search specification on the business component.

boolean setNamedSearch (String searchName, String searchText) throws SiebelException

Sets the search specification for the business component.

boolean setSearchExpr (String searchExpr) throws SiebelException

Sets the search specification for the specified field.

boolean setSearchSpec (String fieldName, String searchSpec) throws SiebelException

Sets the sort specification for a query.

boolean setSortSpec (String sortSpec) throws SiebelException

Sets the value of the specified User Property.

boolean setUserProperty(.String propName, String propVal)

Sets the visibility type for the business component.

boolean setViewMode (int mode) throws SiebelException

Deletes an active record created by NewRecord.

boolean undoRecord () throws SiebelException

Commits to the database any changes made to the current record.

boolean writeRecord () throws SiebelException


 Siebel Object Interfaces Reference 
 Published: 18 June 2003