|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.content.DistributionManagerBean
public class DistributionManagerBean
| Constructor Summary | |
|---|---|
DistributionManagerBean()
|
|
| Method Summary | |
|---|---|
org.rhq.core.domain.content.Distribution |
createDistribution(org.rhq.core.domain.auth.Subject user,
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 user,
int distId)
Deletes a given instance of distribution object. |
void |
deleteDistributionFilesByDistId(org.rhq.core.domain.auth.Subject user,
int distId)
deletes list of available distribution files for requested distribution |
void |
deleteDistributionMappingsForRepo(org.rhq.core.domain.auth.Subject user,
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)
Returns a list of available distribution files for requested distribution |
org.rhq.core.domain.content.DistributionType |
getDistributionTypeByName(String name)
Returns a DistributionType for given name |
void |
validateDistTree(org.rhq.core.domain.content.Distribution kstree)
validates a given kickstart tree object and throws a KickstartTreeException |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DistributionManagerBean()
| Method Detail |
|---|
public org.rhq.core.domain.content.Distribution createDistribution(org.rhq.core.domain.auth.Subject user,
String kslabel,
String basepath,
org.rhq.core.domain.content.DistributionType disttype)
throws DistributionException
DistributionManagerLocal
createDistribution in interface DistributionManagerLocalkslabel - kickstart tree labelbasepath - ks base path on filesystem
DistributionException
public void deleteDistributionMappingsForRepo(org.rhq.core.domain.auth.Subject user,
int repoId)
DistributionManagerLocal
deleteDistributionMappingsForRepo in interface DistributionManagerLocal
public void deleteDistributionByDistId(org.rhq.core.domain.auth.Subject user,
int distId)
DistributionManagerLocal
deleteDistributionByDistId in interface DistributionManagerLocalpublic org.rhq.core.domain.content.Distribution getDistributionByLabel(String kslabel)
DistributionManagerLocal
getDistributionByLabel in interface DistributionManagerLocalkslabel - distribution tree label
public org.rhq.core.domain.content.DistributionType getDistributionTypeByName(String name)
getDistributionTypeByName in interface DistributionManagerLocalname - name of distribution type
public List<org.rhq.core.domain.content.DistributionFile> getDistributionFilesByDistId(int distId)
getDistributionFilesByDistId in interface DistributionManagerLocaldistId -
public void deleteDistributionFilesByDistId(org.rhq.core.domain.auth.Subject user,
int distId)
deleteDistributionFilesByDistId in interface DistributionManagerLocaldistId -
public void validateDistTree(org.rhq.core.domain.content.Distribution kstree)
throws DistributionException
kstree - kickstart tree object
DistributionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||