@Deprecated
public interface VaultPackage
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME_AC_HANDLING
Deprecated.
Name of the 'acHandling' by meta-inf property.
|
static java.lang.String |
NAME_BUILD_COUNT
Deprecated.
Name of the build count meta-inf property
|
static java.lang.String |
NAME_CND_PATTERN
Deprecated.
Name of the 'cndPattern' by meta-inf property.
|
static java.lang.String |
NAME_CREATED
Deprecated.
Name of the created meta-inf property
|
static java.lang.String |
NAME_CREATED_BY
Deprecated.
Name of the created by meta-inf property
|
static java.lang.String |
NAME_DEPENDENCIES
Deprecated.
Name of the dependencies meta-inf property
|
static java.lang.String |
NAME_DESCRIPTION
Deprecated.
Name of the description meta-inf property
|
static java.lang.String |
NAME_DISABLE_INTERMEDIATE_SAVE
Deprecated.
Name of the flag that indicates to disable intermediate saves.
|
static java.lang.String |
NAME_GROUP
Deprecated.
Name of the group property
|
static java.lang.String |
NAME_LAST_MODIFIED
Deprecated.
Name of the last modified meta-inf property
|
static java.lang.String |
NAME_LAST_MODIFIED_BY
Deprecated.
Name of the last modified by meta-inf property
|
static java.lang.String |
NAME_LAST_WRAPPED
Deprecated.
Name of the last wrapped meta-inf property
|
static java.lang.String |
NAME_LAST_WRAPPED_BY
Deprecated.
Name of the last wrapped by meta-inf property
|
static java.lang.String |
NAME_NAME
Deprecated.
Name of the 'name' property
|
static java.lang.String |
NAME_PATH
Deprecated.
use groupid and name instead
|
static java.lang.String |
NAME_REQUIRES_RESTART
Deprecated.
Name of the flag that indicates that the system needs a restart after
package extraction.
|
static java.lang.String |
NAME_REQUIRES_ROOT
Deprecated.
Name of the flag that indicates in only admin sessions
can extract this package.
|
static java.lang.String |
NAME_VERSION
Deprecated.
Name of the version meta-inf property
|
static java.lang.String |
PREFIX_INSTALL_HOOK
Deprecated.
the prefix for an install hook property.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
Closes this package and releases underlying data.
|
void |
extract(Session session,
ImportOptions opts)
Deprecated.
Extracts the package contents to the repository
|
AccessControlHandling |
getACHandling()
Deprecated.
Returns the access control handling defined in this package.
|
Archive |
getArchive()
Deprecated.
Returns the underlying package archive
|
java.util.Calendar |
getCreated()
Deprecated.
Returns the date when this package was built or
null if n/a. |
java.lang.String |
getCreatedBy()
Deprecated.
Returns the user that built this package or null if n/a.
|
Dependency[] |
getDependencies()
Deprecated.
Returns an unmodifiable list of dependencies
|
java.lang.String |
getDescription()
Deprecated.
Returns a description of this package or
null if n/a |
java.io.File |
getFile()
Deprecated.
Returns the underlying file or
null if not available. |
PackageId |
getId()
Deprecated.
Returns the id of this package or
null if the id can't
be determined. |
java.util.Calendar |
getLastModified()
Deprecated.
Returns the last modification date or
null if n/a. |
java.lang.String |
getLastModifiedBy()
Deprecated.
Returns the user that last modified the package or
null if n/a. |
java.util.Calendar |
getLastWrapped()
Deprecated.
Returns the date when this package was wrapped or
null if n/a. |
java.lang.String |
getLastWrappedBy()
Deprecated.
Returns the user that wrapped this package or null if n/a.
|
MetaInf |
getMetaInf()
Deprecated.
Returns the meta inf that was either loaded or specified during build.
|
long |
getSize()
Deprecated.
Returns the size of the package or -1 if n/a.
|
boolean |
isClosed()
Deprecated.
Checks if this package is closed.
|
boolean |
isValid()
Deprecated.
Checks if this package is valid.
|
boolean |
requiresRoot()
Deprecated.
use
#requiresAuthorizable(String[] authorizableIds) instead |
static final java.lang.String NAME_LAST_MODIFIED
static final java.lang.String NAME_LAST_MODIFIED_BY
@Deprecated static final java.lang.String NAME_PATH
static final java.lang.String NAME_GROUP
static final java.lang.String NAME_NAME
static final java.lang.String NAME_BUILD_COUNT
static final java.lang.String NAME_VERSION
static final java.lang.String NAME_DEPENDENCIES
static final java.lang.String NAME_CREATED
static final java.lang.String NAME_CREATED_BY
static final java.lang.String NAME_LAST_WRAPPED
static final java.lang.String NAME_LAST_WRAPPED_BY
static final java.lang.String NAME_AC_HANDLING
AccessControlHandling,
Constant Field Valuesstatic final java.lang.String NAME_CND_PATTERN
static final java.lang.String NAME_DESCRIPTION
static final java.lang.String NAME_REQUIRES_ROOT
static final java.lang.String NAME_REQUIRES_RESTART
static final java.lang.String NAME_DISABLE_INTERMEDIATE_SAVE
static final java.lang.String PREFIX_INSTALL_HOOK
PackageId getId()
null if the id can't
be determined.boolean isValid()
true if this package is valid.boolean isClosed()
true if this package is closed.MetaInf getMetaInf()
null.long getSize()
java.util.Calendar getLastModified()
null if n/a.nulljava.lang.String getLastModifiedBy()
null if n/a.nulljava.util.Calendar getCreated()
null if n/a.java.lang.String getCreatedBy()
java.util.Calendar getLastWrapped()
null if n/a.java.lang.String getLastWrappedBy()
java.lang.String getDescription()
null if n/a@Deprecated boolean requiresRoot()
#requiresAuthorizable(String[] authorizableIds) insteadtrue if this package can only be extracted by a
admin session.true if this package requires an admin session for
extraction.Dependency[] getDependencies()
AccessControlHandling getACHandling()
void extract(Session session,
ImportOptions opts)
throws RepositoryException,
PackageException
session - repository sessionopts - import optionsRepositoryException - if a repository error during installation occurs.PackageException - if an error during packaging occursjava.lang.IllegalStateException - if the package is not valid.java.io.File getFile()
null if not available.void close()
Archive getArchive()
null if already closed"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"