|
||||||||||
| 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,
java.lang.String kslabel,
java.lang.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 |
deleteDistributionByRepo(Subject user,
int repoId)
Deletes a given instance of distribution object. |
void |
deleteDistributionFilesByDistId(Subject user,
int distId)
deletes list of available distribution files for requested distribution |
void |
getDistributionBits(Subject user,
java.lang.String kslabel)
get the kickstart tree bits either from database or filesystem based on kickstart label |
Distribution |
getDistributionByLabel(java.lang.String kslabel)
get distribution based on a given label |
Distribution |
getDistributionByPath(java.lang.String basepath)
Returns a kickstarttree from the database for a given basepath |
java.util.List<DistributionFile> |
getDistributionFilesByDistId(int distId)
Returns a list of available distribution files for requested distribution |
DistributionType |
getDistributionTypeByName(java.lang.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,
java.lang.String kslabel,
java.lang.String basepath,
DistributionType disttype)
throws DistributionException
DistributionManagerLocal
createDistribution in interface DistributionManagerLocalcreateDistribution in interface DistributionManagerRemotekslabel - kickstart tree labelbasepath - ks base path on filesystem
DistributionException
public void deleteDistributionByRepo(Subject user,
int repoId)
DistributionManagerLocal
deleteDistributionByRepo in interface DistributionManagerLocaldeleteDistributionByRepo in interface DistributionManagerRemote
public void deleteDistributionByDistId(Subject user,
int distId)
DistributionManagerLocal
deleteDistributionByDistId in interface DistributionManagerLocaldeleteDistributionByDistId in interface DistributionManagerRemote
public void getDistributionBits(Subject user,
java.lang.String kslabel)
DistributionManagerLocal
getDistributionBits in interface DistributionManagerLocalgetDistributionBits in interface DistributionManagerRemotepublic Distribution getDistributionByLabel(java.lang.String kslabel)
DistributionManagerLocal
getDistributionByLabel in interface DistributionManagerLocalgetDistributionByLabel in interface DistributionManagerRemotekslabel - distribution tree label
public Distribution getDistributionByPath(java.lang.String basepath)
getDistributionByPath in interface DistributionManagerLocalgetDistributionByPath in interface DistributionManagerRemotebasepath - location on filesystem
public DistributionType getDistributionTypeByName(java.lang.String name)
getDistributionTypeByName in interface DistributionManagerLocalgetDistributionTypeByName in interface DistributionManagerRemotename - name of distribution type
public java.util.List<DistributionFile> getDistributionFilesByDistId(int distId)
getDistributionFilesByDistId in interface DistributionManagerLocalgetDistributionFilesByDistId in interface DistributionManagerRemotedistId -
public void deleteDistributionFilesByDistId(Subject user,
int distId)
deleteDistributionFilesByDistId in interface DistributionManagerLocaldeleteDistributionFilesByDistId in interface DistributionManagerRemotedistId -
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 | |||||||||