| 
 | Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1) E10663-02 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
   oracle.rules.sdk2.repository.SandboxAccess
oracle.rules.sdk2.repository.SandboxAccess
public abstract class SandboxAccess
Manage sandboxes and get access to metadata in a sandbox.
| Method Summary | |
|---|---|
| abstract  void | abortSandbox()Abort the changes in the sandbox. | 
| abstract  RuleRepository | accessRepository()get a RuleRepository instance for accessing the sandbox. | 
| abstract  void | commitSandbox()Commit the changes in the sandbox so that they are visible outside the sandbox. | 
| abstract  java.lang.String | createSandbox(java.lang.String sandboxName)Create a new sandbox. | 
| abstract  boolean | isSandboxSupported()Check if this repository has a sandbox feature. | 
| abstract  java.util.List | listSandboxes()Get a list of the names of existing sandboxes. | 
| static SandboxAccess | newInstance(RepositoryType type, RepositoryContext context)Create a SandboxAccess instance for the repository type and configuration specified. | 
| abstract  void | setSandboxName(java.lang.String sandboxName)Sets the name of the sandbox to use. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static SandboxAccess newInstance(RepositoryType type,
                                        RepositoryContext context)
                                 throws RepositoryException
type - the repository type.context - the repository initialization parameters.RepositoryException - if an error occurs during initializationpublic abstract boolean isSandboxSupported()
public abstract java.util.List listSandboxes()
                                      throws RepositoryException
RepositoryException - if an error occurs.
public abstract java.lang.String createSandbox(java.lang.String sandboxName)
                                        throws RepositoryException
sandboxName - the name of the new sandbox.RepositoryException - if an error occurs.
public abstract void commitSandbox()
                            throws RepositoryException
RepositoryException - if an error occurs.
public abstract void abortSandbox()
                           throws RepositoryException
RepositoryException - if an error occurs.
public abstract RuleRepository accessRepository()
                                         throws RepositoryException
RepositoryException - if an error occurs.
public abstract void setSandboxName(java.lang.String sandboxName)
                             throws RepositoryException
sandboxName - the name of the new sandbox.RepositoryException - if an error occurs.| 
 | Oracle Fusion Middleware Java API Reference for Oracle Business Rules 11g Release 1 (11.1.1) E10663-02 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||