|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--oracle.dss.metadataUtil.PropertyBag
|
+--oracle.dss.metadataManager.common.MDObject
|
+--oracle.dss.metadataManager.common.MDFolder
The directory service class for the MetadataManager. An MDFolder represents a folder in the hierarchy of metadata objects.
An MDFolder is a DirContext in the Java Naming and Directory Interface (JNDI).
DirContext, Serialized Form| Fields inherited from interface javax.naming.directory.DirContext |
ADD_ATTRIBUTE, REMOVE_ATTRIBUTE, REPLACE_ATTRIBUTE |
| Fields inherited from interface javax.naming.Context |
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES |
| Method Summary | |
java.lang.Object |
addToEnvironment(java.lang.String propName, java.lang.Object propValue)Adds a property to the current environment setting. |
void |
bind(javax.naming.Name name, java.lang.Object object)Saves an object through the MetadataManager. |
void |
bind(javax.naming.Name name, java.lang.Object object, javax.naming.directory.Attributes attrs)Saves an object through the MetadataManager. |
void |
bind(java.lang.String name, java.lang.Object object)Saves an object through the MetadataManager. |
void |
bind(java.lang.String name, java.lang.Object object, javax.naming.directory.Attributes attrs)Saves an object through the MetadataManager. |
void |
close()Closes this context and releases all the resources that it held. |
javax.naming.Name |
composeName(javax.naming.Name name, javax.naming.Name prefix)Combines parts of a path name to a single Name. |
java.lang.String |
composeName(java.lang.String name, java.lang.String prefix)Combines parts of a path name to a single Name. |
void |
copy(javax.naming.Name name, javax.naming.directory.DirContext context, javax.naming.Name newName, int mode)Copies an existing context or object. |
void |
copy(java.lang.String name, javax.naming.directory.DirContext context, java.lang.String newName, int mode)Copies an existing context or object. |
javax.naming.Context |
createSubcontext(javax.naming.Name name)Creates an MDFolder that represents a folder. |
javax.naming.directory.DirContext |
createSubcontext(javax.naming.Name name, javax.naming.directory.Attributes attrs)Creates an MDFolder that represents a folder. |
javax.naming.Context |
createSubcontext(java.lang.String name)Creates an MDFolder that represents a folder. |
javax.naming.directory.DirContext |
createSubcontext(java.lang.String name, javax.naming.directory.Attributes attrs)Creates an MDFolder that represents a folder. |
void |
destroySubcontext(javax.naming.Name name)Removes a folder from the MetadataManager. |
void |
destroySubcontext(java.lang.String name)Removes a folder from the MetadataManager. |
Acl |
getAcl()Retrieves the access control list for this context. |
javax.naming.directory.Attributes |
getAttributes(javax.naming.Name name)Retrieves all of the persistence attributes for an object, and for an OLAP object, all OLAP-specific properties of the object. |
javax.naming.directory.Attributes |
getAttributes(javax.naming.Name name, java.lang.String[] attrIds)Retrieves the specified persistence attributes for an object. |
javax.naming.directory.Attributes |
getAttributes(java.lang.String name)Retrieves all of the persistence attributes for an object, and for an OLAP object, all OLAP-specific properties of the object. |
javax.naming.directory.Attributes |
getAttributes(java.lang.String name, java.lang.String[] attrIds)Retrieves the specified persistence attributes for an object. |
MDDimension[] |
getDimensions()Retrieves the dimensions in this folder. |
java.util.Hashtable |
getEnvironment()Retrieves the environment for this context. |
ErrorHandler |
getErrorHandler()Retrieves the error handler for this folder. |
MDFolder[] |
getFolders()Retrieves the folders that are children of this folder. |
java.util.Locale |
getLocale()Retrieves the locale for this folder. |
MDMeasure[] |
getMeasures()Retrieves the measures in this folder. |
javax.naming.NameParser |
getNameParser(javax.naming.Name name)Retrieves the name parser for a folder. |
javax.naming.NameParser |
getNameParser(java.lang.String name)Retrieves the name parser for a folder. |
MDSelection[] |
getSelections()Retrieves the selections in this folder. |
javax.naming.NamingEnumeration |
list(javax.naming.Name name)Enumerates the names and class names of the objects in a folder. |
javax.naming.NamingEnumeration |
list(java.lang.String name)Enumerates the names and class names of the objects in a folder. |
javax.naming.NamingEnumeration |
listBindings(javax.naming.Name name)Enumerates the objects in a folder, with their names and class names. |
javax.naming.NamingEnumeration |
listBindings(java.lang.String name)Enumerates the objects in a folder, with their names and class names. |
java.lang.Object |
lookup(javax.naming.Name name)Loads a Persistable object or folder from the MetadataManager. |
java.lang.Object |
lookup(javax.naming.Name name, java.util.Hashtable referenceResolver)Loads a Persistable object or folder from the MetadataManager. |
java.lang.Object |
lookup(javax.naming.Name name, Persistable obj)Applies XML from a Persistable object from the MetadataManager to an existing Persistable object. |
java.lang.Object |
lookup(javax.naming.Name name, Persistable _pObj, java.util.Hashtable referenceResolver)Applies XML from a Persistable object to an existing Persistable object. |
java.lang.Object |
lookup(java.lang.String name)Loads a Persistable object or folder from the MetadataManager. |
java.lang.Object |
lookup(java.lang.String name, java.util.Hashtable referenceResolver)Loads a Persistable object or folder from the MetadataManager. |
java.lang.Object |
lookup(java.lang.String name, Persistable obj)Applies XML from a Persistable object to an existing Persistable object. |
java.lang.Object |
lookup(java.lang.String name, Persistable obj, java.util.Hashtable referenceResolver)Applies XML from a Persistable object to an existing Persistable object. |
java.lang.Object |
lookupLink(javax.naming.Name name)Loads a Persistable object or folder through the MetadataManager. |
java.lang.Object |
lookupLink(java.lang.String name)Loads a Persistable object or folder from the MetadataManager. |
void |
modifyAttributes(javax.naming.Name name, int mod_op, javax.naming.directory.Attributes attrs)Modifies persistence attributes for an object. |
void |
modifyAttributes(javax.naming.Name name, javax.naming.directory.ModificationItem[] mods)Modifies persistence attributes for an object. |
void |
modifyAttributes(java.lang.String name, int mod_op, javax.naming.directory.Attributes attrs)Modifies persistence attributes for an object. |
void |
modifyAttributes(java.lang.String name, javax.naming.directory.ModificationItem[] mods)Modifies persistence attributes for an object. |
void |
move(javax.naming.Name name, javax.naming.directory.DirContext context)Moves an existing context or object. |
void |
move(java.lang.String name, javax.naming.directory.DirContext context)Moves an existing context or object. |
void |
rebind(javax.naming.Name name, java.lang.Object object)Saves an object through the MetadataManager. |
void |
rebind(javax.naming.Name name, java.lang.Object object, javax.naming.directory.Attributes attrs)Saves an object through the MetadataManager. |
void |
rebind(java.lang.String name, java.lang.Object object)Saves an object through the MetadataManager. |
void |
rebind(java.lang.String name, java.lang.Object object, javax.naming.directory.Attributes attrs)Saves an object through the MetadataManager. |
java.lang.Object |
removeFromEnvironment(java.lang.String propName)Removes a property from the environment setting. |
void |
rename(javax.naming.Name oldName, javax.naming.Name newName)Renames a Persistable object in the MetadataManager in this context. |
void |
rename(java.lang.String oldName, java.lang.String newName)Renames a Persistable object in the MetadataManager in this context. |
javax.naming.NamingEnumeration |
search(javax.naming.Name name, javax.naming.directory.Attributes matchingAttributes)Searches a folder for objects that have specified attributes. |
javax.naming.NamingEnumeration |
search(javax.naming.Name name, javax.naming.directory.Attributes matchingAttributes, javax.naming.directory.SearchControls controls)Searches a folder for objects that have specified attributes, using the specified search scope. |
javax.naming.NamingEnumeration |
search(javax.naming.Name name, javax.naming.directory.Attributes matchingAttributes, java.lang.String[] attributesToReturn)Searches a folder for objects that have specified attributes. |
javax.naming.NamingEnumeration |
search(java.lang.String name, javax.naming.directory.Attributes matchingAttributes)Searches a folder for objects that have specified attributes. |
javax.naming.NamingEnumeration |
search(java.lang.String name, javax.naming.directory.Attributes matchingAttributes, javax.naming.directory.SearchControls controls)Searches a folder for objects that have specified attributes, using the specified search scope. |
javax.naming.NamingEnumeration |
search(java.lang.String name, javax.naming.directory.Attributes matchingAttributes, java.lang.String[] attributesToReturn)Searches a folder for objects that have specified attributes. |
int |
setFolders(MDFolder[] folders)Specifies folders to be children of this folder. |
void |
setLocale(java.util.Locale locale)Specifies the locale for this folder. |
void |
unbind(javax.naming.Name name)Removes a Persistable object from the MetadataManager. |
void |
unbind(java.lang.String name)Removes a Persistable from the MetadataManager. |
| Methods inherited from class oracle.dss.metadataManager.common.MDObject |
getClassName, getDescription, getDriverType, getDriverTypes, getLabel, getLongLabel, getMetadataManagerServices, getName, getObjectType, getPath, getShortLabel, getSubObjectType, getUniqueID, nameEquals, setClassName, setDriverType, setMetadataManagerServices, setName, setObjectType, setSubObjectType, toString, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.dss.bicontext.BIContext |
refresh |
| Methods inherited from interface javax.naming.directory.DirContext |
getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, search, search, search, search |
| Methods inherited from interface javax.naming.Context |
getNameInNamespace |
| Method Detail |
public ErrorHandler getErrorHandler()
public java.lang.Object lookup(javax.naming.Name name)
throws javax.naming.NamingException
Persistable object or folder from the MetadataManager. If you are retrieving an object, then this method instantiates a new Persistable object. To reuse an existing Persistable, call one of the lookup methods that takes a Persistable as a parameter.lookup in interface javax.naming.Contextname - The name of the object to load. Do not pass null.Persistable interface.BIInvalidNameException - If name is null or empty.BINameNotFoundException - If the object or folder cannot be found.BINamingException - if any other naming error occurs.lookup(String), lookup(Name, Persistable), lookup(Name, Persistable, Hashtable), Persistable
public java.lang.Object lookup(javax.naming.Name name,
java.util.Hashtable referenceResolver)
throws javax.naming.NamingException
Persistable object or folder from the MetadataManager.name - The name of the object to load. Do not pass null.referenceResolver - Any arguments that the object needs in order to be loaded. For example, if you are loading a Query object, pass a QueryManager in the referenceResolver hash table.Persistable interface.BIInvalidNameException - If name is null or empty.BINameNotFoundException - If the object or folder cannot be found.BINamingException - if any other naming error occurs.lookup(String, Hashtable), MDObject, Query, QueryManager, Persistable
public java.lang.Object lookup(javax.naming.Name name,
Persistable obj)
throws javax.naming.NamingException
Persistable object from the MetadataManager to an existing Persistable object.lookup in interface BIContextname - The name of the object whose XML to read. Do not pass null.obj - The Persistable object into which to read the XML from name. It must be the same object type as name.obj, with the saved XML applied to it.BIInvalidNameException - If name is null or empty.BINameNotFoundException - If the object or folder cannot be found.BINamingException - if any other naming error occurs.lookup(String, Persistable), Persistable
public java.lang.Object lookup(javax.naming.Name name,
Persistable _pObj,
java.util.Hashtable referenceResolver)
throws javax.naming.NamingException
Persistable object to an existing Persistable object.lookup in interface BIContextname - The name of the object whose XML to read. Do not pass null._pObj - The Persistable object into which to read the XML from name. It must be the same object type as name.referenceResolver - Any arguments that the object needs in order to be loaded. For example, if you are loading a Query object, pass a QueryManager in the referenceResolver hash table.obj, with the saved XML applied to it.BIInvalidNameException - If name is null or empty.BINameNotFoundException - If the object or folder cannot be found.BINamingException - If any other naming error occurs.lookup(String, Persistable, Hashtable), Persistable, Query, QueryManager, Persistable
public java.lang.Object lookup(java.lang.String name)
throws javax.naming.NamingException
Persistable object or folder from the MetadataManager. If you are looking up an object, then this method instantiates a new Persistable object. To reuse an existing Persistable, call one of the lookup methods that takes a Persistable as a parameter.lookup in interface javax.naming.Contextname - The name of the object to load. Do not pass null.Persistable interface.BIInvalidNameException - If name is null or empty.BINameNotFoundException - If the object or folder cannot be found.BINamingException - If any other naming error occurs.lookup(Name), lookup(String, Persistable), lookup(String, Persistable, Hashtable), Persistable
public java.lang.Object lookup(java.lang.String name,
java.util.Hashtable referenceResolver)
throws javax.naming.NamingException
Persistable object or folder from the MetadataManager.name - The name of the object to load. Do not pass null.referenceResolver - Any arguments that the object needs in order to be loaded. For example, if you are loading a Query object, pass a QueryManager in the referenceResolver hash table.Persistable interface.BIInvalidNameException - If name is null or empty.BINameNotFoundException - If the object or folder cannot be found.BINamingException - If any other naming error occurs.lookup(Name, Hashtable), Query, QueryManager, Persistable
public java.lang.Object lookup(java.lang.String name,
Persistable obj)
throws javax.naming.NamingException
Persistable object to an existing Persistable object.lookup in interface BIContextname - The name of the object whose XML to read. Do not pass null.obj - The Persistable object into which to read the XML from name. It must be the same object type as name.obj, with the saved XML applied to it.BIInvalidNameException - If name is null or empty.BINameNotFoundException - If the object or folder cannot be found.BINamingException - If any other naming error occurs.lookup(Name, Persistable), Persistable
public java.lang.Object lookup(java.lang.String name,
Persistable obj,
java.util.Hashtable referenceResolver)
throws javax.naming.NamingException
Persistable object to an existing Persistable object.lookup in interface BIContextname - The name of the object to load. Do not pass null.obj - The Persistable object into which to read the XML from name. It must be the same object type as name.referenceResolver - Any arguments that the object needs in order to be loaded. For example, if you are loading a Query object, pass a QueryManager in the referenceResolver hash table.obj, with the saved XML applied to it.BIInvalidNameException - If name is null or empty.BINameNotFoundException - If the object or folder cannot be found.BINamingException - If any other naming error occurs.lookup(Name, Persistable, Hashtable), Query, QueryManager, Persistable
public void bind(javax.naming.Name name,
java.lang.Object object)
throws javax.naming.NamingException
name to object, so that object can be found later. This method is useful only for Persistable objects that are being stored in the BI Beans Catalog. Calling this method on a metadata object is not useful.bind in interface javax.naming.Contextname - The path name of the object that this method saves. Do not pass null or an empty Name. The path that you specify must exist. This method does not create intermediate subcontexts.object - The object to save. The object must implement the the Persistable interface.BIInvalidNameException - If name is null or empty.BINameAlreadyBoundException - If another object is already bound to name. Call rebind to replace a binding.BINoPermissionException - If the caller does not have permission to save objects to this context.BINamingException - If another naming error occurs, such as when object is null or when object does not implement the Persistable interface. Also throws BINamingException if you try to use this method to create a folder. Call createSubcontext instead.bind(String, Object), createSubcontext(javax.naming.Name), rebind(javax.naming.Name, java.lang.Object), Persistable
public void bind(java.lang.String name,
java.lang.Object object)
throws javax.naming.NamingException
name to object, so that object can be found later. This method is useful only for Persistable objects that are being stored in the BI Beans Catalog. Calling this method on a metadata object is not useful.bind in interface javax.naming.Contextname - The path name of the object that this method saves. Do not pass null or an empty Name. The path that you specify must exist. This method does not create intermediate subcontexts.object - The object to save. The object must implement the the Persistable interface.BIInvalidNameException - If name is null or empty.BINameAlreadyBoundException - If another object is already bound to name. Call rebind to replace a binding.BINoPermissionException - If the caller does not have permission to save objects to this context.BINamingException - If another naming error occurs, such as when object is null or when object does not implement the Persistable interface. Also throws BINamingException if you try to use this method to create a folder. Call createSubcontext instead.bind(Name, Object), createSubcontext(javax.naming.Name), rebind(javax.naming.Name, java.lang.Object), MDObject, Persistable
public void rebind(javax.naming.Name name,
java.lang.Object object)
throws javax.naming.NamingException
name to object, so that object can be found later. This method is useful only for Persistable objects that are being stored in the BI Beans Catalog. Calling this method on a metadata object is not useful.
This method binds an object to a name that might be already bound, if that is the case, the old object is replaced. If the name is not already bound, then this method binds the object to the name, just as the bind method does.
rebind in interface javax.naming.Contextname - The path name of the object that this method saves. Do not pass null or an empty Name. The path that you specify must exist. This method does not create intermediate subcontexts.object - The object to save. The object must implement the the Persistable interface.attrs - Attributes for object.BIInvalidNameException - If name is null or empty.BINamingException - If object is a PersistenceManagerImpl. Call createSubcontext to create a folder.BINoPermissionException - If the caller does not have permission to save objects to this context.javax.naming.NamingException - If another naming error occurs, such as when object is null or when object does not implement the Persistable interface. Also throws BINamingException if you try to use this method to create a folder. Call createSubcontext instead.rebind(String, Object), Persistable
public void rebind(java.lang.String name,
java.lang.Object object)
throws javax.naming.NamingException
name to object, so that object can be found later. This method is useful only for Persistable objects that are being stored in the BI Beans Catalog. Calling this method on a metadata object is not useful.
This method binds an object to a name that might be already bound, if that is the case, the old object is replaced. If the name is not already bound, then this method binds the object to the name, just as the bind method does.
rebind in interface javax.naming.Contextname - The path name of the object that this method saves. Do not pass null or an empty Name. The path that you specify must exist. This method does not create intermediate subcontexts.object - The object to save. The object must implement the the Persistable interface.attrs - Attributes for object.BIInvalidNameException - If name is null or empty.BINamingException - If object is a PersistenceManagerImpl. Call createSubcontext to create a folder.BINoPermissionException - If the caller does not have permission to save objects to this context.javax.naming.NamingException - If another naming error occurs, such as when object is null or when object does not implement the Persistable interface. Also throws BINamingException if you try to use this method to create a folder. Call createSubcontext instead.rebind(Name, Object), Persistable
public void unbind(javax.naming.Name name)
throws javax.naming.NamingException
Persistable object from the MetadataManager. This method removes the binding of the object. This method is useful only for Persistable objects. Calling this method on a metadata object is not useful.unbind in interface javax.naming.Contextname - The name of the object to remove.BINameNotFoundException - If the named object is not found in the MetadataManager.BIInvalidNameException - If name is null or empty.BIOperationNotSupportedException - If name identifies an OLAP object, such as a dimension.BINamingException - If any other naming error occurs.unbind(String)
public void unbind(java.lang.String name)
throws javax.naming.NamingException
Persistable from the MetadataManager. This method removes the binding of the object. This method is useful only for Persistable objects. Calling this method on a metadata object is not useful.unbind in interface javax.naming.Contextname - The name of the object to remove.BINameNotFoundException - If the named object is not found in the MetadataManager.BIInvalidNameException - If name is null or empty.BIOperationNotSupportedException - If name identifies an OLAP object, such as a dimension.BINamingException - If any other naming error occurs.unbind(String)
public void rename(javax.naming.Name oldName,
javax.naming.Name newName)
throws javax.naming.NamingException
Persistable object in the MetadataManager in this context. The oldName and the newName arguments must both specify the same context. To move an object from one folder to another, use the move method.
This method is useful only for Persistable objects. Calling this method on a metadata object is not useful.
rename in interface javax.naming.ContextoldName - The current name of an existing object or folder. Do not pass null or an empty Name.newName - The new name to assign to this object or folder. Do not pass null or an empty Name.BIInvalidNameException - If name is null or empty.BINameNotFoundException - If oldName cannot be found in this context.BINameAlreadyBoundException - If newName is already bound to an object.BINoPermissionException - If the caller does not have permission to rename objects in this context.BINamingException - If any other naming error occurs.rename(String, String)
public void rename(java.lang.String oldName,
java.lang.String newName)
throws javax.naming.NamingException
Persistable object in the MetadataManager in this context. The oldName and the newName arguments must both specify the same context. To move an object from one folder to another, use the move method.
This method is useful only for Persistable objects. Calling this method on a metadata object is not useful.
rename in interface javax.naming.ContextoldName - The current name of an existing object or folder. Do not pass null or an empty Name.newName - The new name to assign to this object or folder. Do not pass null or an empty Name.BIInvalidNameException - If name is null or empty.BINameNotFoundException - If oldName cannot be found in this context.BINameAlreadyBoundException - If newName is already bound to an object.BINoPermissionException - If the caller does not have permission to rename objects in this context.BINamingException - If any other naming error occurs.rename(Name, Name)
public javax.naming.NamingEnumeration list(javax.naming.Name name)
throws javax.naming.NamingException
listBindings.list in interface javax.naming.Contextname - The name of the folder whose contents you want. Do not pass null or an empty Name.NameClassPair objects, one for each object in the folder. Each NameClassPair contains the name and the class name of an object.BIInvalidNameException - If name is null or empty.BINamingException - If any other naming error occurs.listBindings(javax.naming.Name), list(String), NameClassPair
public javax.naming.NamingEnumeration list(java.lang.String name)
throws javax.naming.NamingException
listBindings.list in interface javax.naming.Contextname - The name of the folder whose contents you want. Do not pass null or an empty Name.NameClassPair objects, one for each object in the folder. Each NameClassPair contains the name and the class name of an object.BIInvalidNameException - If name is null or empty.BINamingException - If any other naming error occurs.listBindings(javax.naming.Name), list(Name), NameClassPair
public javax.naming.NamingEnumeration listBindings(javax.naming.Name name)
throws javax.naming.NamingException
list.listBindings in interface javax.naming.Contextname - The name of the folder whose contents you want. Do not pass null. To specify the current folder, pass an empty Name.Binding objects, one for each object in the folder. Each Binding contains the name of an object, its class name, and the object itself.BIInvalidNameException - if name is null.BINamingException - If any other naming error occurs.list(javax.naming.Name), listBindings(String), Binding
public javax.naming.NamingEnumeration listBindings(java.lang.String name)
throws javax.naming.NamingException
list.listBindings in interface javax.naming.Contextname - The name of the folder whose contents you want. Do not pass null. To specify the current folder, pass an empty Name.Binding objects, one for each object in the folder. Each Binding contains the name of an object, its class name, and the object itself.BIInvalidNameException - if name is null.BINamingException - If any other naming error occurs.list(javax.naming.Name), listBindings(Name), Binding
public void destroySubcontext(javax.naming.Name name)
throws javax.naming.NamingException
MDFolder is not a metadata object, such as an MDDimension. Calling this method on a metadata object is not useful.destroySubcontext in interface javax.naming.Contextname - The name of the folder to remove. Do not pass null or an empty Name.BIInvalidNameException - If name is null or empty.BINoPermissionException - If the caller does not have the level of privilege necessary to remove the folder. You must have permission to all folders in the path.BINotContextException - If name is not a context. To remove an object, call unbind.BINamingException - If any other naming error occurs.destroySubcontext(String)
public void destroySubcontext(java.lang.String name)
throws javax.naming.NamingException
MDFolder is not a metadata object, such as an MDDimension. Calling this method on a metadata object is not useful.destroySubcontext in interface javax.naming.Contextname - The name of the folder to remove. Do not pass null or an empty Name.BIInvalidNameException - If name is null or empty.BINoPermissionException - If the caller does not have the level of privilege necessary to remove the folder. You must have permission to all folders in the path.BINamingException - If any other naming error occurs.destroySubcontext(Name)
public javax.naming.Context createSubcontext(javax.naming.Name name)
throws javax.naming.NamingException
MDFolder that represents a folder. This method is useful only when the MDFolder is not a metadata object, such as an MDDimension. Calling this method on a metadata object is not useful.createSubcontext in interface javax.naming.Contextname - The name for the folder to create. Do not pass null or an empty Name.MDFolder for the new folder.BIInvalidNameException - If name is null or empty.BINameAlreadyBoundException - If another object is already bound to name.BINoPermissionException - If the caller does not have permission to create folders in this context.BIOperationNotSupportedException - If name identifies an OLAP object.javax.naming.NamingException - If any other naming error occurs.createSubcontext(String)
public javax.naming.Context createSubcontext(java.lang.String name)
throws javax.naming.NamingException
MDFolder that represents a folder. This method is useful only when the MDFolder is not a metadata object, such as an MDDimension. Calling this method on a metadata object is not useful.createSubcontext in interface javax.naming.Contextname - The name for the folder to create. Do not pass null or an empty Name.MDFolder for the new folder.BIInvalidNameException - If name is null or empty.BINameAlreadyBoundException - If another object is already bound to name.BINoPermissionException - If the caller does not have permission to create folders in this context.javax.naming.NamingException - If any other naming error occurs.createSubcontext(Name)
public java.lang.Object lookupLink(javax.naming.Name name)
throws javax.naming.NamingException
Persistable object or folder through the MetadataManager. Currently, this method simply calls the lookup method.
This method is useful only for Persistable objects. Calling this method on a metadata object is not useful.
lookupLink in interface javax.naming.Contextname - The name of the object to load. The object must implement the Persistable interface. Do not pass null.BINameNotFoundException - If the object or folder cannot be found.BINamingException - If any other naming error occurs.lookupLink(String), Persistable
public java.lang.Object lookupLink(java.lang.String name)
throws javax.naming.NamingException
Persistable object or folder from the MetadataManager. Currently, this method simply calls the lookup method.
This method is useful only for Persistable objects. Calling this method on a metadata object is not useful.
lookupLink in interface javax.naming.Contextname - The name of the object to load. The object must be an instance of the MDObject class or any of its subclasses. Do not pass null.BINameNotFoundException - If the object or folder cannot be found.BINamingException - If any other naming error occurs.lookupLink(Name), Persistable
public javax.naming.NameParser getNameParser(javax.naming.Name name)
throws javax.naming.NamingException
getNameParser in interface javax.naming.Contextname - The name of the folder for which to get the parser. Currently, all folders uses the same name parser, so you can pass the name of any context.javax.naming.NamingException - If a naming error occurs.getNameParser(String)
public javax.naming.NameParser getNameParser(java.lang.String name)
throws javax.naming.NamingException
getNameParser in interface javax.naming.Contextname - The name of the folder for which to get the parser. Currently, all folders uses the same name parser, so you can pass the name of any context.javax.naming.NamingException - If a naming error occurs.getNameParser(String)
public javax.naming.Name composeName(javax.naming.Name name,
javax.naming.Name prefix)
throws javax.naming.NamingException
Name. Normally, you use this method to combine the name of an object relative to this context with the name of this context, to create a full path name.composeName in interface javax.naming.Contextname - The name of an object in this context or one of its subcontexts.prefix - The name of this context, as it relates to one of its ancestors. Do not pass null.prefix and name.InvalidNameException - If name is not a valid name, or if the resulting name is not valid.javax.naming.NamingException - If any other naming error occurs.composeName(String, String)
public java.lang.String composeName(java.lang.String name,
java.lang.String prefix)
throws javax.naming.NamingException
Name. Normally, you use this method to combine the name of an object relative to this context with the name of this context, to create a full path name.composeName in interface javax.naming.Contextname - The name of an object in this context or one of its subcontexts.prefix - The name of this context, as it relates to one of its ancestors. Do not pass null.prefix and name.InvalidNameException - If name is not a valid name, or if the resulting name is not valid.javax.naming.NamingException - If any other naming error occurs.composeName(Name, Name)
public java.lang.Object addToEnvironment(java.lang.String propName,
java.lang.Object propValue)
throws javax.naming.NamingException
addToEnvironment in interface javax.naming.ContextpropName - The name of the property to add. Do not pass null.propValue - The value of the property to add. Do not pass null.null.javax.naming.NamingException - If a naming error occurs.
public java.lang.Object removeFromEnvironment(java.lang.String propName)
throws javax.naming.NamingException
removeFromEnvironment in interface javax.naming.ContextpropName - The property to remove. Do not pass null.null.javax.naming.NamingException - If a naming error occurs.
public java.util.Hashtable getEnvironment()
throws javax.naming.NamingException
Hashtable. Changes you make to the returned Hashtable are not reflected in the original environment. To modify the environment, call addToEnvironment or removeFromEnvironment.getEnvironment in interface javax.naming.Contextjavax.naming.NamingException - If a naming error occurs.addToEnvironment(java.lang.String, java.lang.Object), removeFromEnvironment(java.lang.String)
public void close()
throws javax.naming.NamingException
close in interface javax.naming.Contextjavax.naming.NamingException - If a naming error occurs.
public javax.naming.directory.Attributes getAttributes(javax.naming.Name name)
throws javax.naming.NamingException
getAttributes in interface javax.naming.directory.DirContextname - The name of the object that you want attributes for. Do not pass null.name.BIInvalidNameException - If name is null or empty.BINoPermissionException - If name is the root folder.javax.naming.NamingException - If any other naming error occurs.getAttributes(String)
public javax.naming.directory.Attributes getAttributes(java.lang.String name)
throws javax.naming.NamingException
getAttributes in interface javax.naming.directory.DirContextname - The name of the object that you want attributes for. Do not pass null.name.BIInvalidNameException - If name is null or empty.BINoPermissionException - If name is the root folder.javax.naming.NamingException - If any other naming error occurs.getAttributes(Name)
public javax.naming.directory.Attributes getAttributes(javax.naming.Name name,
java.lang.String[] attrIds)
throws javax.naming.NamingException
getAttributes in interface javax.naming.directory.DirContextname - The name of the object that you want attributes for. Do not pass null.attrIds - The attributes that you want to retrieve. To retrieve all of the attributes, pass null. If you pass an empty array, then this method returns null.name.BIInvalidNameException - If name is null or empty.BINoPermissionException - If name is in the root folder.BINamingException - If any other naming error occurs.getAttributes(String, String[])
public javax.naming.directory.Attributes getAttributes(java.lang.String name,
java.lang.String[] attrIds)
throws javax.naming.NamingException
getAttributes in interface javax.naming.directory.DirContextname - The name of the object that you want attributes for. Do not pass null.attrIds - The attributes that you want to retrieve. To retrieve all of the attributes, pass null. If you pass an empty array, then this method returns null.name.BIInvalidNameException - If name is null or empty.BINoPermissionException - If name is in the root folder.BINamingException - If any other naming error occurs.getAttributes(Name, String[])
public void modifyAttributes(javax.naming.Name name,
int mod_op,
javax.naming.directory.Attributes attrs)
throws javax.naming.NamingException
modifyAttributes in interface javax.naming.directory.DirContextname - The name of the object whose attributes you want to set. Do not pass null.mod_op - A constant that identifies the modification that you want to make. This implementation supports only javax.naming.directory.DirContext.REPLACE_ATTRIBUTE. If you pass any other value, this method ignores the value and logs a message to the error handler.attrs - A list of attributes that you want to modify.BIInvalidNameException - If name is null or empty.BINoPermissionException - If name is in the root folder.BIAttributeModificationException - If the modification fails.BINamingException - If any other naming error occurs.modifyAttributes(String, int, Attributes)
public void modifyAttributes(java.lang.String name,
int mod_op,
javax.naming.directory.Attributes attrs)
throws javax.naming.NamingException
modifyAttributes in interface javax.naming.directory.DirContextname - The name of the object whose attributes you want to set. Do not pass null.mod_op - A constant that identifies the modification that you want to make. This implementation supports only javax.naming.directory.DirContext.REPLACE_ATTRIBUTE. If you pass any other value, this method ignores the value and logs a message to the error handler.attrs - A list of attributes that you want to modify.BIInvalidNameException - If name is null or empty.BINoPermissionException - If name is in the root folder.BIAttributeModificationException - If the modification fails.BINamingException - If any other naming error occurs.modifyAttributes(Name, int, Attributes)
public void modifyAttributes(javax.naming.Name name,
javax.naming.directory.ModificationItem[] mods)
throws javax.naming.NamingException
modifyAttributes in interface javax.naming.directory.DirContextname - The name of the object whose attributes you want to set. Do not pass null.mods - An array of modifications that you want to make. Each ModificationItem identifies the modification that you want and the attribute that you want to change.BIInvalidNameException - If name is null or empty.BINoPermissionException - If name is in the root folder.BIAttributeModificationException - If the modification fails.javax.naming.NamingException - If any other naming error occurs.modifyAttributes(String, ModificationItem[])
public void modifyAttributes(java.lang.String name,
javax.naming.directory.ModificationItem[] mods)
throws javax.naming.NamingException
modifyAttributes in interface javax.naming.directory.DirContextname - The name of the object whose attributes you want to set. Do not pass null.mods - An array of modifications that you want to make. Each ModificationItem identifies the modification that you want and the attribute that you want to change.BIInvalidNameException - If name is null or empty.BINoPermissionException - If name is in the root folder.BIAttributeModificationException - If the modification fails.javax.naming.NamingException - If any other naming error occurs.modifyAttributes(Name, ModificationItem[]), ModificationItem
public void bind(javax.naming.Name name,
java.lang.Object object,
javax.naming.directory.Attributes attrs)
throws javax.naming.NamingException
name to object, so that object can be found later. This method is useful only for Persistable objects that are being stored in the BI Beans Catalog. Calling this method on a metadata object is not useful.bind in interface javax.naming.directory.DirContextname - The path name of the object that this method saves. Do not pass null or an empty Name. The path that you specify must exist. This method does not create intermediate subcontexts.object - The object to save. The object must implement the the Persistable interface.attrs - Attributes for object.BIInvalidNameException - If name is null or empty.BINameAlreadyBoundException - If another object is already bound to name. Call rebind to replace a binding.BIInvalidAttributesException - If any of the attributes in attrs is invalid.BINoPermissionException - If the caller does not have permission to save objects to this context.BINamingException - If another naming error occurs, such as when object is null or when object does not implement the Persistable interface. Also throws BINamingException if you try to use this method to create a folder. Call createSubcontext instead.bind(String, Object, Attributes), createSubcontext(javax.naming.Name), rebind(javax.naming.Name, java.lang.Object), Persistable
public void bind(java.lang.String name,
java.lang.Object object,
javax.naming.directory.Attributes attrs)
throws javax.naming.NamingException
name to object, so that object can be found later. This method is useful only for Persistable objects that are being stored in the BI Beans Catalog. Calling this method on a metadata object is not useful.bind in interface javax.naming.directory.DirContextname - The path name of the object that this method saves. Do not pass null or an empty Name. The path that you specify must exist. This method does not create intermediate subcontexts.object - The object to save. The object must implement the the Persistable interface.attrs - Attributes for object.BIInvalidNameException - If name is null or empty.BINameAlreadyBoundException - If another object is already bound to name. Call rebind to replace a binding.BIInvalidAttributesException - If any of the attributes in attrs is invalid.BINoPermissionException - If the caller does not have permission to save objects to this context.BINamingException - If another naming error occurs, such as when object is null or when object does not implement the Persistable interface. Also throws BINamingException if you try to use this method to create a folder. Call createSubcontext instead.bind(Name, Object, Attributes), createSubcontext(javax.naming.Name), rebind(javax.naming.Name, java.lang.Object), Persistable
public void rebind(javax.naming.Name name,
java.lang.Object object,
javax.naming.directory.Attributes attrs)
throws javax.naming.NamingException
name to object, so that object can be found later. This method is useful only for Persistable objects that are being stored in the BI Beans Catalog. Calling this method on a metadata object is not useful.
This method binds an object to a name that might be already bound, if that is the case, the old object is replaced. If the name is not already bound, then this method binds the object to the name, just as the bind method does.
rebind in interface javax.naming.directory.DirContextname - The path name of the object that this method saves. Do not pass null or an empty Name. The path that you specify must exist. This method does not create intermediate subcontexts.object - The object to save. The object must implement the the Persistable interface.attrs - Attributes for object.BIInvalidNameException - If name is null or empty.BINameAlreadyBoundException - If another object is already bound to name. Call rebind to replace a binding.BIInvalidAttributesException - If any of the attributes in attrs is invalid.BINoPermissionException - If the caller does not have permission to save objects to this context.BINamingException - If another naming error occurs, such as when object is null or when object does not implement the Persistable interface. Also throws BINamingException if you try to use this method to create a folder. Call createSubcontext instead.bind(String, Object, Attributes), createSubcontext(javax.naming.Name), rebind(javax.naming.Name, java.lang.Object), Persistable
public void rebind(java.lang.String name,
java.lang.Object object,
javax.naming.directory.Attributes attrs)
throws javax.naming.NamingException
name to object, so that object can be found later. This method is useful only for Persistable objects that are being stored in the BI Beans Catalog. Calling this method on a metadata object is not useful.
This method binds an object to a name that might be already bound, if that is the case, the old object is replaced. If the name is not already bound, then this method binds the object to the name, just as the bind method does.
rebind in interface javax.naming.directory.DirContextname - The path name of the object that this method saves. Do not pass null or an empty Name. The path that you specify must exist. This method does not create intermediate subcontexts.object - The object to save. The object must implement the the Persistable interface.attrs - Attributes for object.BIInvalidNameException - If name is null or empty.BINameAlreadyBoundException - If another object is already bound to name. Call rebind to replace a binding.BIInvalidAttributesException - If any of the attributes in attrs is invalid.BINoPermissionException - If the caller does not have permission to save objects to this context.BINamingException - If another naming error occurs, such as when object is null or when object does not implement the Persistable interface. Also throws BINamingException if you try to use this method to create a folder. Call createSubcontext instead.bind(Name, Object, Attributes), createSubcontext(javax.naming.Name), rebind(javax.naming.Name, java.lang.Object), Persistable
public javax.naming.directory.DirContext createSubcontext(javax.naming.Name name,
javax.naming.directory.Attributes attrs)
throws javax.naming.NamingException
MDFolder that represents a folder. This method is useful only when the MDFolder is not a metadata object, such as an MDDimension. Calling this method on a metadata object is not useful.createSubcontext in interface javax.naming.directory.DirContextname - The name for the folder to create. Do not pass null or an empty Name.attrs - The attributes for the folder.MDFolder for the new folder.BIInvalidNameException - If name is null or empty.BINameAlreadyBoundException - If another object is already bound to name.BINoPermissionException - If the caller does not have permission to create folders in this context.javax.naming.NamingException - If another naming error occurs.createSubcontext(String, Attributes)
public javax.naming.directory.DirContext createSubcontext(java.lang.String name,
javax.naming.directory.Attributes attrs)
throws javax.naming.NamingException
MDFolder that represents a folder. This method is useful only when the MDFolder is not a metadata object, such as an MDDimension. Calling this method on a metadata object is not useful.createSubcontext in interface javax.naming.directory.DirContextname - The name for the folder to create. Do not pass null or an empty Name.attrs - The attributes for the folder.MDFolder for the new folder.BIInvalidNameException - If name is null or empty.BINameAlreadyBoundException - If another object is already bound to name.BINoPermissionException - If the caller does not have permission to create folders in this context.javax.naming.NamingException - If another naming error occurs.createSubcontext(Name, Attributes)
public javax.naming.NamingEnumeration search(javax.naming.Name name,
javax.naming.directory.Attributes matchingAttributes,
java.lang.String[] attributesToReturn)
throws javax.naming.NamingException
search in interface javax.naming.directory.DirContextname - The name of the folder to search.matchingAttributes - The attributes of the objects that you want to find.attributesToReturn - The attributes that you want this search to retrieve for objects that have matchingAttributes.SearchResult objects. The search results contain the attributes that you requested in attributesToReturn, and the name of the object, relative to name.BINameNotFoundException - If name cannot be found.BINoPermissionException - If the caller does not have appropriate permission to search in name.BINamingException - If another naming error occurs.DirContext.search(Name, Attributes, String[])
public javax.naming.NamingEnumeration search(java.lang.String name,
javax.naming.directory.Attributes matchingAttributes,
java.lang.String[] attributesToReturn)
throws javax.naming.NamingException
search in interface javax.naming.directory.DirContextname - The name of the folder to search.matchingAttributes - The attributes of the objects that you want to find.attributesToReturn - The attributes that you want this search to retrieve for objects that have matchingAttributes.SearchResult objects. The search results contain the attributes that you requested in attributesToReturn, and the name of the object, relative to name.BINameNotFoundException - If name cannot be found.BINoPermissionException - If the caller does not have appropriate permission to search in name.BINamingException - If another naming error occurs.DirContext.search(String, Attributes, String[])
public javax.naming.NamingEnumeration search(javax.naming.Name name,
javax.naming.directory.Attributes matchingAttributes)
throws javax.naming.NamingException
search in interface javax.naming.directory.DirContextname - The name of the folder to search.matchingAttributes - The attributes of the objects that you want to find.SearchResult objects. The objects match the search criteria.BINameNotFoundException - If name cannot be found.BINoPermissionException - If the caller does not have appropriate permission to search in name.BINamingException - If another naming error occurs.DirContext.search(Name, Attributes)
public javax.naming.NamingEnumeration search(java.lang.String name,
javax.naming.directory.Attributes matchingAttributes)
throws javax.naming.NamingException
search in interface javax.naming.directory.DirContextname - The name of the folder to search.matchingAttributes - The attributes of the objects that you want to find.SearchResult objects. The objects match the search criteria.BINameNotFoundException - If name cannot be found.BINoPermissionException - If the caller does not have appropriate permission to search in name.BINamingException - If another naming error occurs.DirContext.search(String, Attributes)
public javax.naming.NamingEnumeration search(javax.naming.Name name,
javax.naming.directory.Attributes matchingAttributes,
javax.naming.directory.SearchControls controls)
throws javax.naming.NamingException
search in interface BIContextname - The name of the folder to search.matchingAttributes - The attributes of the objects that you want to find.searchControls - The search controls that specify the scope of the search. This argument can be null.SearchResult objects. The search results contain the attributes that you requested in attributesToReturn, and the name of the object, relative to name.BINameNotFoundException - If name cannot be found.BIInvalidSearchControlsException - If SearchControls is not validBINoPermissionException - If the caller does not have appropriate permission to search in name.BINamingException - If another naming error occurs.BISearchControls, search(String, Attributes, SearchControls)
public javax.naming.NamingEnumeration search(java.lang.String name,
javax.naming.directory.Attributes matchingAttributes,
javax.naming.directory.SearchControls controls)
throws javax.naming.NamingException
search in interface BIContextname - The name of the folder to search.matchingAttributes - The attributes of the objects that you want to find.searchControls - The search controls that specify the scope of the search. This argument can be null.SearchResult objects. The search results contain the attributes that you requested in attributesToReturn, and the name of the object, relative to name.BINameNotFoundException - If name cannot be found.BIInvalidSearchControlsException - If SearchControls is not validBINoPermissionException - If the caller does not have appropriate permission to search in name.BINamingException - If another naming error occurs.BISearchControls, search(Name, Attributes, SearchControls)
public void copy(javax.naming.Name name,
javax.naming.directory.DirContext context,
javax.naming.Name newName,
int mode)
throws javax.naming.NamingException
MDDimension. Calling this method on a metadata object is not useful.copy in interface BIContextname - The name of the object to copy. Use a slash (/) to separate folder names. The path in name is relative to this context.context - The context into which to copy name.newName - The name given to the copy of the object in the target context. If the value is null, then the name is the same as the name of the original object.mode - A constant that identifies whether to copy related objects or only name.NameAlreadyBoundException - If there is already an object with the name specified in newName in the target context.NameNotFoundException - If the named object to be copied cannot be found.NoPermissionException - If the user does not have enough permission to copy the object to the target context.BIOperationNotSupportedException - If either name identifies an OLAP object or if context is an OLAP folder.javax.naming.NamingException - If there is a problem during copy.PSRConstants.NORMAL_COPY, PSRConstants.DEEP_COPY
public void copy(java.lang.String name,
javax.naming.directory.DirContext context,
java.lang.String newName,
int mode)
throws javax.naming.NamingException
MDDimension. Calling this method on a metadata object is not useful.copy in interface BIContextname - The name of the object to copy. Use a slash (/) to separate folder names. The path in name is relative to this context.context - The context into which to copy name.newName - The name given to the copy of the object in the target context. If the value is null, then the name is the same as the name of the original object.mode - A constant that identifies whether to copy related objects or only name.NameAlreadyBoundException - If there is already an object with the name specified in newName in the target context.NameNotFoundException - If the named object to be copied cannot be found.NoPermissionException - If the user does not have enough permission to copy the object to the target context.BIOperationNotSupportedException - If either name identifies an OLAP object or if context is an OLAP folder.javax.naming.NamingException - If there is a problem during copy.PSRConstants.NORMAL_COPY, PSRConstants.DEEP_COPY
public void move(javax.naming.Name name,
javax.naming.directory.DirContext context)
throws javax.naming.NamingException
MDDimension. Calling this method on a metadata object is not useful.move in interface BIContextname - The name of the object to move. The path in name is relative to this context.context - The context into which to move name.NameAlreadyBoundException - If there is already an object with the name specified in newName in the target context.NameNotFoundException - If the named object to be copied cannot be found.NoPermissionException - If the user does not have enough permission to copy the object to the target context.BIOperationNotSupportedException - If name identifies an OLAP object or if context is an OLAP folder.javax.naming.NamingException - If there is a problem during move.
public void move(java.lang.String name,
javax.naming.directory.DirContext context)
throws javax.naming.NamingException
MDDimension. Calling this method on a metadata object is not useful.move in interface BIContextname - The name of the object to move. The path in name is relative to this context.context - The context into which to move name.javax.naming.NamingException - If there is a problem with the name.NameAlreadyBoundException - If there is already an object with the name specified in newName in the target context.NameNotFoundException - If the named object to be copied cannot be found.NoPermissionException - If the user does not have enough permission to copy the object to the target context.BIOperationNotSupportedException - If name identifies an OLAP object or If context is an OLAP folder.javax.naming.NamingException - If there is a problem during copy.
public Acl getAcl()
throws javax.naming.NamingException
getAcl in interface BIContextBINamingException - If a naming error occurs.
public MDFolder[] getFolders()
throws MetadataManagerException
MetadataManagerException - If the connection fails during the execution of this method or if there is a problem retrieving objects from the server.public int setFolders(MDFolder[] folders)
folders - The folders that you want this folder to contain.MDU.SUCCESS, MDU.FAILURE
public MDMeasure[] getMeasures()
throws MetadataManagerException
null if this folder contains no measures.MetadataManagerException - If the connection fails during the execution of this method or if there is a problem retrieving objects from the server.
public MDSelection[] getSelections()
throws MetadataManagerException
null if this folder contains no selections.MetadataManagerException - If the connection fails during the execution of this method or if there is a problem retrieving objects from the server.
public MDDimension[] getDimensions()
throws MetadataManagerException
null if this folder contains no dimensions.MetadataManagerException - If the connection fails during the execution of this method or if there is a problem retrieving objects from the server.public java.util.Locale getLocale()
getLocale in interface BIContextpublic void setLocale(java.util.Locale locale)
setLocale in interface BIContextlocale - The locale that the MetadataManager should use.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||