|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sling.jcr.contentloader.ImportOptions
org.apache.sling.jcr.contentloader.internal.PathEntry
public class PathEntry
A path entry from the manifest for initial content.
| Field Summary | |
|---|---|
static java.lang.String |
AUTOCHECKOUT_DIRECTIVE
The autoCheckout directive specifying whether versionable nodes should be checked out when necessary |
static java.lang.String |
CHECKIN_DIRECTIVE
The checkin directive specifying whether versionable nodes should be checked in |
static java.lang.String |
CONTENT_HEADER
The manifest header to specify initial content to be loaded. |
static java.lang.String |
IGNORE_IMPORT_PROVIDERS_DIRECTIVE
The ignore import providers directive specifying whether the available ImportProviders
should be used during content loading. |
static java.lang.String |
OVERWRITE_DIRECTIVE
The overwrite directive specifying if content should be overwritten or just initially added. |
static java.lang.String |
OVERWRITE_PROPERTIES_DIRECTIVE
The overwriteProperties directive specifying if content properties should be overwritten or just initially added. |
static java.lang.String |
PATH_DIRECTIVE
The path directive specifying the target node where initial content will be loaded. |
static java.lang.String |
UNINSTALL_DIRECTIVE
The uninstall directive specifying if content should be uninstalled. |
static java.lang.String |
WORKSPACE_DIRECTIVE
The workspace into which the content will be loaded. |
| Constructor Summary | |
|---|---|
PathEntry(org.apache.sling.commons.osgi.ManifestHeader.Entry entry,
long bundleLastModified)
|
|
| Method Summary | |
|---|---|
static java.util.Iterator<PathEntry> |
getContentPaths(org.osgi.framework.Bundle bundle)
|
long |
getLastModified()
|
java.lang.String |
getPath()
|
java.lang.String |
getTarget()
|
java.lang.String |
getWorkspace()
|
boolean |
isAutoCheckout()
Specifies whether versionable nodes is automatically checked out when necessary. |
boolean |
isCheckin()
Specifies whether versionable nodes is automatically checked in at the end of the import operation. |
boolean |
isIgnoredImportProvider(java.lang.String extension)
Check if the import provider for the given file extension should be ignored. |
boolean |
isOverwrite()
Specifies whether imported nodes should overwrite existing nodes. |
boolean |
isPropertyOverwrite()
Specifies whether imported properties should overwrite existing properties. |
boolean |
isUninstall()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CONTENT_HEADER
public static final java.lang.String OVERWRITE_DIRECTIVE
public static final java.lang.String OVERWRITE_PROPERTIES_DIRECTIVE
public static final java.lang.String UNINSTALL_DIRECTIVE
public static final java.lang.String PATH_DIRECTIVE
public static final java.lang.String WORKSPACE_DIRECTIVE
public static final java.lang.String CHECKIN_DIRECTIVE
public static final java.lang.String AUTOCHECKOUT_DIRECTIVE
public static final java.lang.String IGNORE_IMPORT_PROVIDERS_DIRECTIVE
ImportProviders
should be used during content loading. This is a string value that defaults to the empty
string..
| Constructor Detail |
|---|
public PathEntry(org.apache.sling.commons.osgi.ManifestHeader.Entry entry,
long bundleLastModified)
| Method Detail |
|---|
public static java.util.Iterator<PathEntry> getContentPaths(org.osgi.framework.Bundle bundle)
public long getLastModified()
public java.lang.String getPath()
public boolean isOverwrite()
ImportOptions
isOverwrite in class ImportOptionspublic boolean isPropertyOverwrite()
ImportOptions
isPropertyOverwrite in class ImportOptionspublic boolean isUninstall()
public boolean isCheckin()
ImportOptions
isCheckin in class ImportOptionspublic boolean isAutoCheckout()
ImportOptions
isAutoCheckout in class ImportOptionspublic boolean isIgnoredImportProvider(java.lang.String extension)
ImportOptions
isIgnoredImportProvider in class ImportOptionsextension - the extension to check
public java.lang.String getTarget()
public java.lang.String getWorkspace()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||