public class TreeDeleteOperation extends BaseTreeEditOperation
KICKSTART_CAPABILITY, treeuser| Constructor and Description |
|---|
TreeDeleteOperation(java.lang.Long treeId,
User userIn)
Constructor for use when deleting an existing KickstartableTree
|
TreeDeleteOperation(java.lang.String treeLabel,
User userIn)
Constructor for use when deleting an existing KickstartableTree
|
TreeDeleteOperation(User userIn)
Default constructor: DONT USE
|
| Modifier and Type | Method and Description |
|---|---|
protected CobblerCommand |
getCobblerCommand()
Get the CobblerCommand class associated with this operation.
|
void |
setDeleteProfiles(java.lang.Boolean deleteProfilesIn)
Set the delete profiles flag.
|
ValidatorError |
store()
Perform the storage Operation to the Persistence
Layer.
|
getKernelOptions, getKernelOptionsPost, getKickstartableTreeChannels, getTree, setBasePath, setChannel, setInstallType, setKernelOptions, setKernelOptionsPost, setLabel, validateBasePath, validateLabelgetUserpublic TreeDeleteOperation(User userIn)
userIn - to setpublic TreeDeleteOperation(java.lang.Long treeId,
User userIn)
treeId - to lookupuserIn - who owns the treepublic TreeDeleteOperation(java.lang.String treeLabel,
User userIn)
treeLabel - to lookupuserIn - who owns the treepublic void setDeleteProfiles(java.lang.Boolean deleteProfilesIn)
deleteProfilesIn - flag indicating if profiles associated with
the tree should be deleted during store()public ValidatorError store()
store in interface PersistOperationstore in class BaseTreeEditOperationprotected CobblerCommand getCobblerCommand()
getCobblerCommand in class BaseTreeEditOperation