|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.vcs.util.VCSCommandUtils
public class VCSCommandUtils
Utility class for version control client commands.
| Method Summary | |
|---|---|
static void |
closeMissingNodes(Node[] nodes)
Deprecated. replaced with VCSCommand.fireSomeFilesDeleted(java.net.URL[])
and VCSFileEventSender.fireFilesDeleted(java.net.URL[]). |
static java.util.Collection<Locatable> |
getCandidateSelection(Locatable[] locatables,
VCSStatusCache cache)
Gets the locatable selection whose files are candidates to be added. |
static java.util.Collection<Locatable> |
getFilteredSelection(Locatable[] locatables,
VCSStatusCache cache,
VCSStatus[] statuses)
Gets the locatable selection, filtered for the given file statuses. |
static java.util.Collection<Locatable> |
getFilteredSelection(Locatable[] locatables,
VCSStatusCache cache,
VCSStatusFilter filter)
Gets the locatable selection, filtered for the given file statuses. |
static java.util.Collection<Locatable> |
getVersionedSelection(Locatable[] locatables,
VCSStatusCache cache)
Gets the locatable selection whose files are versioned. |
static void |
removeNonEditableNodes(java.util.Collection<?> nodes)
Removes all non-editable nodes from the given collection. |
static boolean |
saveDirtyNodes(Locatable[] locatables)
Saves all of the given locatables which are dirty. |
static boolean |
saveDirtyNodes(Locatable[] locatables,
boolean silent,
java.lang.String helpTopicId)
Deprecated. replaced with #saveDirtyNodes(Locatable[]), which handles a 'Skip this Message Next Time' preference. |
static boolean |
saveDirtyNodesSilently(Locatable[] locatables)
Saves all of the given locatables which are dirty, without displaying a dialog. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final java.util.Collection<Locatable> getFilteredSelection(Locatable[] locatables,
VCSStatusCache cache,
VCSStatus[] statuses)
throws java.lang.Exception
locatables - the locatable selection.cache - the status cache to use.statuses - the statuses to accept.
java.lang.Exception - if a critical exception occurred.
public static final java.util.Collection<Locatable> getFilteredSelection(Locatable[] locatables,
VCSStatusCache cache,
VCSStatusFilter filter)
throws java.lang.Exception
locatables - the locatable selection.cache - the status cache to use.filter - the filter to control VCSStatus acceptance.
java.lang.Exception - if a critical exception occurred.
public static final java.util.Collection<Locatable> getVersionedSelection(Locatable[] locatables,
VCSStatusCache cache)
throws java.lang.Exception
locatables - the locatable selection.cache - the status cache to use.
java.lang.Exception - if a critical exception occurred.
public static final java.util.Collection<Locatable> getCandidateSelection(Locatable[] locatables,
VCSStatusCache cache)
throws java.lang.Exception
locatables - the locatable selection.cache - the status cache to use.
java.lang.Exception - if a critical exception occurred.
public static final boolean saveDirtyNodes(Locatable[] locatables)
throws java.lang.Exception
locatables - the locatables which should be saved if dirty.
false if the
user cancelled or an exception occurred.
java.lang.Exception
public static final boolean saveDirtyNodesSilently(Locatable[] locatables)
throws java.lang.Exception
locatables - the locatables which should be saved if dirty.
java.lang.Exception
public static final boolean saveDirtyNodes(Locatable[] locatables,
boolean silent,
java.lang.String helpTopicId)
throws java.lang.Exception
locatables - the locatables which should be saved if dirty.silent - a decision on whether this method should operate silently.helpTopicId - the help topic ID for the dialog. (null-capable)
false if the
user cancelled or an exception occurred.
java.lang.Exceptionpublic static final void closeMissingNodes(Node[] nodes)
VCSCommand.fireSomeFilesDeleted(java.net.URL[])
and VCSFileEventSender.fireFilesDeleted(java.net.URL[]).
nodes - the array of nodes to check.public static final void removeNonEditableNodes(java.util.Collection<?> nodes)
ElementAttributes.NON_EDITABLE
set.
nodes - the collection of nodes to filter.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||