@Deprecated public interface VaultPackage
Modifier and Type | Field and Description |
---|---|
static String |
NAME_AC_HANDLING
Deprecated.
Name of the 'acHandling' by meta-inf property.
|
static String |
NAME_BUILD_COUNT
Deprecated.
Name of the build count meta-inf property
|
static String |
NAME_CND_PATTERN
Deprecated.
Name of the 'cndPattern' by meta-inf property.
|
static String |
NAME_CREATED
Deprecated.
Name of the created meta-inf property
|
static String |
NAME_CREATED_BY
Deprecated.
Name of the created by meta-inf property
|
static String |
NAME_DEPENDENCIES
Deprecated.
Name of the dependencies meta-inf property
|
static String |
NAME_DESCRIPTION
Deprecated.
Name of the description meta-inf property
|
static String |
NAME_DISABLE_INTERMEDIATE_SAVE
Deprecated.
Name of the flag that indicates to disable intermediate saves.
|
static String |
NAME_GROUP
Deprecated.
Name of the group property
|
static String |
NAME_LAST_MODIFIED
Deprecated.
Name of the last modified meta-inf property
|
static String |
NAME_LAST_MODIFIED_BY
Deprecated.
Name of the last modified by meta-inf property
|
static String |
NAME_LAST_WRAPPED
Deprecated.
Name of the last wrapped meta-inf property
|
static String |
NAME_LAST_WRAPPED_BY
Deprecated.
Name of the last wrapped by meta-inf property
|
static String |
NAME_NAME
Deprecated.
Name of the 'name' property
|
static String |
NAME_PATH
Deprecated.
use groupid and name instead
|
static String |
NAME_REQUIRES_RESTART
Deprecated.
Name of the flag that indicates that the system needs a restart after
package extraction.
|
static String |
NAME_REQUIRES_ROOT
Deprecated.
Name of the flag that indicates in only admin sessions
can extract this package.
|
static String |
NAME_VERSION
Deprecated.
Name of the version meta-inf property
|
static 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
|
Calendar |
getCreated()
Deprecated.
Returns the date when this package was built or
null if n/a. |
String |
getCreatedBy()
Deprecated.
Returns the user that built this package or null if n/a.
|
Dependency[] |
getDependencies()
Deprecated.
Returns an unmodifiable list of dependencies
|
String |
getDescription()
Deprecated.
Returns a description of this package or
null if n/a |
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. |
Calendar |
getLastModified()
Deprecated.
Returns the last modification date or
null if n/a. |
String |
getLastModifiedBy()
Deprecated.
Returns the user that last modified the package or
null if n/a. |
Calendar |
getLastWrapped()
Deprecated.
Returns the date when this package was wrapped or
null if n/a. |
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 String NAME_LAST_MODIFIED
static final String NAME_LAST_MODIFIED_BY
@Deprecated static final String NAME_PATH
static final String NAME_GROUP
static final String NAME_NAME
static final String NAME_BUILD_COUNT
static final String NAME_VERSION
static final String NAME_DEPENDENCIES
static final String NAME_CREATED
static final String NAME_CREATED_BY
static final String NAME_LAST_WRAPPED
static final String NAME_LAST_WRAPPED_BY
static final String NAME_AC_HANDLING
AccessControlHandling
,
Constant Field Valuesstatic final String NAME_CND_PATTERN
static final String NAME_DESCRIPTION
static final String NAME_REQUIRES_ROOT
static final String NAME_REQUIRES_RESTART
static final String NAME_DISABLE_INTERMEDIATE_SAVE
static final 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()
Calendar getLastModified()
null
if n/a.null
String getLastModifiedBy()
null
if n/a.null
Calendar getCreated()
null
if n/a.String getCreatedBy()
Calendar getLastWrapped()
null
if n/a.String getLastWrappedBy()
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 occursIllegalStateException
- if the package is not valid.File getFile()
null
if not available.void close()
Archive getArchive()
null
if already closed"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"