public interface DistributionManagerLocal
| Modifier and Type | Method and Description |
|---|---|
org.rhq.core.domain.content.Distribution |
createDistribution(org.rhq.core.domain.auth.Subject subject,
String kslabel,
String basepath,
org.rhq.core.domain.content.DistributionType disttype)
Creates a new distribution in the system.
|
void |
deleteDistributionByDistId(org.rhq.core.domain.auth.Subject subject,
int distId)
Deletes a given instance of distribution object.
|
void |
deleteDistributionFilesByDistId(org.rhq.core.domain.auth.Subject subject,
int distid)
delete list of distribution files
|
void |
deleteDistributionMappingsForRepo(org.rhq.core.domain.auth.Subject subject,
int repoId)
Deletes a given instance of distribution object.
|
org.rhq.core.domain.content.Distribution |
getDistributionByLabel(String kslabel)
get distribution based on a given label
|
List<org.rhq.core.domain.content.DistributionFile> |
getDistributionFilesByDistId(int distid)
get list of distribution files
|
org.rhq.core.domain.content.DistributionType |
getDistributionTypeByName(String name)
Returns a DistributionType for given name
|
org.rhq.core.domain.content.Distribution createDistribution(org.rhq.core.domain.auth.Subject subject,
String kslabel,
String basepath,
org.rhq.core.domain.content.DistributionType disttype)
throws DistributionException
subject - kslabel - kickstart tree labelbasepath - ks base path on filesystemDistributionExceptionvoid deleteDistributionMappingsForRepo(org.rhq.core.domain.auth.Subject subject,
int repoId)
subject - repoId - void deleteDistributionByDistId(org.rhq.core.domain.auth.Subject subject,
int distId)
subject - distId - org.rhq.core.domain.content.Distribution getDistributionByLabel(String kslabel)
kslabel - distribution tree labelList<org.rhq.core.domain.content.DistributionFile> getDistributionFilesByDistId(int distid)
distid - void deleteDistributionFilesByDistId(org.rhq.core.domain.auth.Subject subject,
int distid)
subject - distid - org.rhq.core.domain.content.DistributionType getDistributionTypeByName(String name)
name - name of distribution typeCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.