|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.ifs.search.ViewSpecification
Use a ViewSpecification to create a SQL View. A SQL View is built from a SearchSpecification. Additional information that can be specifed is the viewName, the DirectoryObject that to be used for applying security, and the columns to be retrived.
| Constructor Summary | |
ViewSpecification(java.lang.String viewName,
SearchSpecification sp)
Constructs a ViewSpecification object. |
|
ViewSpecification(java.lang.String viewName,
SearchSpecification sp,
boolean repView)
Constructs a ViewSpecification object. |
|
| Method Summary | |
void |
addClass(LibrarySession sess,
java.lang.String clsName,
java.lang.String[] attrs)
Let's you add attributes into your view. |
void |
addClass(LibrarySession sess,
java.lang.String clsName,
java.lang.String[] attrs,
java.lang.String[] aliases)
Let's you add attributes into your view. |
AttributeValue[] |
getBindValues()
Returns Bind Values that are used in this View Specification. |
SearchSpecification |
getSearchSpecification()
Returns the SearchSpecification of this view. |
void |
replaceView(boolean replace)
Makes this ViewSpec a Create or Replace View operation if replace is true. |
void |
setBindValues(AttributeValue[] bindVals)
If the ViewSpecification uses a Late Boudn SearchSpecification, use this function to supply Bind Values. |
void |
setSearchSpecification(SearchSpecification sp)
Replaces the SearchSpecification of the view. |
void |
setViewName(java.lang.String viewName)
Sets the name of this view. |
| Constructor Detail |
public ViewSpecification(java.lang.String viewName,
SearchSpecification sp)
throws IfsException
String - Name of the View to be created.SearchSpecification - Use this SearchSpecification to create View.
public ViewSpecification(java.lang.String viewName,
SearchSpecification sp,
boolean repView)
throws IfsException
String - Name of the View to be created.SearchSpecification - Use this SearchSpecification to create View.bool - If true, it is a Create Or Replace.| Method Detail |
public void addClass(LibrarySession sess,
java.lang.String clsName,
java.lang.String[] attrs)
throws IfsException
Calls addClass(LibrarySession, String, String[], String[]).
LibrarySession - CurrentSessionString - iFS Class NameString[] - List of attributes from the above classIfsException - If the operation fails.
public void addClass(LibrarySession sess,
java.lang.String clsName,
java.lang.String[] attrs,
java.lang.String[] aliases)
throws IfsException
LibrarySession - CurrentSessionString - iFS Class NameString[] - List of attributes from the above classString[] - List of Aliase for Column names in the view.IfsException - If the operation fails.
public void setSearchSpecification(SearchSpecification sp)
throws IfsException
SearchSpecification - New non null SearchSpecification.IfsException - If the operation fails.public SearchSpecification getSearchSpecification()
public void setViewName(java.lang.String viewName)
throws IfsException
String - New Name of the View (cannot be null).
public void replaceView(boolean replace)
throws IfsException
boolean - If true, operation is Create or Replace.IfsException - if the operation fails.
public void setBindValues(AttributeValue[] bindVals)
throws IfsException
AttributeValue[] - Array of Bind values.IfsException - if the operation fails.
public AttributeValue[] getBindValues()
throws IfsException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||