|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentFacet
Components that implement this facet expose the ability to detect and manage packaged content.
Method Summary | |
---|---|
DeployPackagesResponse |
deployPackages(Set<ResourcePackageDetails> packages,
ContentServices contentServices)
Requests that the content for the given packages be deployed to the resource. |
Set<ResourcePackageDetails> |
discoverDeployedPackages(PackageType type)
Asks that the component run a discovery and return information on all currently installed packages of the specified type. |
List<DeployPackageStep> |
generateInstallationSteps(ResourcePackageDetails packageDetails)
Returns a list of installation steps that will take place when installing the specified package. |
RemovePackagesResponse |
removePackages(Set<ResourcePackageDetails> packages)
Requests that the given installed packages be deleted from the resource. |
InputStream |
retrievePackageBits(ResourcePackageDetails packageDetails)
Asks that a stream of data containing the installed package contents be returned. |
Method Detail |
---|
List<DeployPackageStep> generateInstallationSteps(ResourcePackageDetails packageDetails)
null
.
packageDetails
- describes the package to be installed
null
if they cannot be
determinedDeployPackagesResponse deployPackages(Set<ResourcePackageDetails> packages, ContentServices contentServices)
ResourcePackageDetails
object.
packages
- the packages to installcontentServices
- a proxy object that allows the facet implementation to be able to request things from the
plugin container (such as being able to pull down a package's content from an external
source).
RemovePackagesResponse removePackages(Set<ResourcePackageDetails> packages)
ResourcePackageDetails
object.
packages
- the packages to remove
Set<ResourcePackageDetails> discoverDeployedPackages(PackageType type)
type
- the type of packaged content that should be discovered
InputStream retrievePackageBits(ResourcePackageDetails packageDetails)
packageDetails
- the package whose contents should be streamed back to the caller
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |