|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.sandbox.utils.SandboxUtils
public class SandboxUtils
Constructor Summary | |
---|---|
SandboxUtils()
|
Method Summary | |
---|---|
static void |
activate(java.lang.String sandboxName)
Activates a sandbox in the current session. |
static void |
activate(java.lang.String sandboxName,
java.lang.String creationLabel)
Deprecated. |
static java.util.ArrayList<java.lang.String> |
checkSandboxForAppsMenu(java.lang.String sbName)
|
static void |
deactivate(java.lang.String sandboxName)
Deactivate the currently active sandbox. |
static java.lang.String |
getCreationLabel(java.lang.String sandboxName)
Gets a new creation label. |
static java.lang.String |
getMainLabelForImport()
Gets a main line for importing a sandbox. |
static java.lang.String |
getPostMergeLabel(java.lang.String sandboxName)
Gets a new post-merge label. |
static java.lang.String |
getPreMergeLabel(java.lang.String sandboxName)
Gets a new pre-merge label. |
static java.lang.String |
getSandboxCreateErrorMessage(java.lang.String sandboxName)
|
static java.lang.String |
getSandboxIfAvailable(java.lang.String profileValue)
|
static java.lang.String |
getSandboxNamePrefix()
Gets the prefix for ApplCore sandboxes based on the current session. |
static java.lang.String |
getUserDisplayName(java.lang.String userName)
A method that retrieves the MLS Display name of the user from the LDAP store. |
static boolean |
isActive(java.lang.String sandboxName)
Checks whether a sandbox is active in the current session. |
static boolean |
isActiveSandboxImported(java.lang.String activeSB,
java.lang.String importCreationLabel)
|
static boolean |
isApplCoreSandboxName(java.lang.String name)
Returns true if a sandbox name implies that it is an ApplCore sandbox. |
static boolean |
isSandboxAvailable(java.lang.String sandboxName)
|
static boolean |
isSandboxDSEnabled(java.lang.String profileValue)
|
static boolean |
isSandboxPublished(java.lang.String sandboxName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SandboxUtils()
Method Detail |
---|
public static java.lang.String getSandboxIfAvailable(java.lang.String profileValue)
public static boolean isSandboxAvailable(java.lang.String sandboxName)
public static java.lang.String getSandboxCreateErrorMessage(java.lang.String sandboxName)
public static boolean isSandboxDSEnabled(java.lang.String profileValue)
public static final boolean isSandboxPublished(java.lang.String sandboxName)
public static final java.lang.String getSandboxNamePrefix()
public static final boolean isApplCoreSandboxName(java.lang.String name)
name
- the name of the sandbox
java.lang.NullPointerException
- if the given name is nullpublic static java.lang.String getCreationLabel(java.lang.String sandboxName)
sandboxName
- the sandbox name
java.lang.IllegalArgumentException
- if the sandbox name is nullpublic static java.lang.String getPreMergeLabel(java.lang.String sandboxName)
sandboxName
- the sandbox name
java.lang.IllegalArgumentException
- if the sandbox name is nullpublic static java.lang.String getPostMergeLabel(java.lang.String sandboxName)
sandboxName
- the sandbox name
java.lang.IllegalArgumentException
- if the sandbox name is nullpublic static void activate(java.lang.String sandboxName, java.lang.String creationLabel)
sandboxName
- the name of the sandboxcreationLabel
- the creation label. The creation label must be
a label obtained through getCreationLabel
java.lang.IllegalArgumentException
- if the given sandbox name is null
java.lang.NullPointerException
- if the given creation label is nullgetCreationLabel(java.lang.String)
public static void activate(java.lang.String sandboxName)
sandboxName
- the name of the sandbox
java.lang.IllegalArgumentException
- if the given sandbox name is null
java.lang.NullPointerException
- if the given creation label is nullpublic static boolean isActive(java.lang.String sandboxName)
sandboxName
- the name of the sandbox
public static void deactivate(java.lang.String sandboxName)
sandboxName
- the name of the sandboxpublic static java.lang.String getMainLabelForImport()
java.lang.IllegalArgumentException
- if the sandbox name is nullpublic static boolean isActiveSandboxImported(java.lang.String activeSB, java.lang.String importCreationLabel)
public static java.util.ArrayList<java.lang.String> checkSandboxForAppsMenu(java.lang.String sbName)
sbName
- Sandbox name whose contents are to be checked for applications menu documents
public static java.lang.String getUserDisplayName(java.lang.String userName)
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |