|
||||||||||
| 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 | |
|---|---|
Distribution |
createDistribution(Subject user,
String kslabel,
String basepath,
DistributionType disttype)
Creates a new distribution in the system. |
void |
deleteDistributionByDistId(Subject user,
int distId)
Deletes a given instance of distribution object. |
void |
deleteDistributionFilesByDistId(Subject user,
int distId)
deletes list of available distribution files for requested distribution |
void |
deleteDistributionMappingsForRepo(Subject user,
int repoId)
Deletes a given instance of distribution object. |
Distribution |
getDistributionByLabel(String kslabel)
get distribution based on a given label |
List<DistributionFile> |
getDistributionFilesByDistId(int distId)
Returns a list of available distribution files for requested distribution |
DistributionType |
getDistributionTypeByName(String name)
Returns a DistributionType for given name |
void |
validateDistTree(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 Distribution createDistribution(Subject user,
String kslabel,
String basepath,
DistributionType disttype)
throws DistributionException
DistributionManagerLocal
createDistribution in interface DistributionManagerLocalkslabel - kickstart tree labelbasepath - ks base path on filesystem
DistributionException
public void deleteDistributionMappingsForRepo(Subject user,
int repoId)
DistributionManagerLocal
deleteDistributionMappingsForRepo in interface DistributionManagerLocal
public void deleteDistributionByDistId(Subject user,
int distId)
DistributionManagerLocal
deleteDistributionByDistId in interface DistributionManagerLocalpublic Distribution getDistributionByLabel(String kslabel)
DistributionManagerLocal
getDistributionByLabel in interface DistributionManagerLocalkslabel - distribution tree label
public DistributionType getDistributionTypeByName(String name)
getDistributionTypeByName in interface DistributionManagerLocalname - name of distribution type
public List<DistributionFile> getDistributionFilesByDistId(int distId)
getDistributionFilesByDistId in interface DistributionManagerLocaldistId -
public void deleteDistributionFilesByDistId(Subject user,
int distId)
deleteDistributionFilesByDistId in interface DistributionManagerLocaldistId -
public void validateDistTree(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 | |||||||||