public class TreeDeleteOperation extends BaseTreeEditOperation
KICKSTART_CAPABILITY, tree
user
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, validateLabel
getUser
public 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 PersistOperation
store
in class BaseTreeEditOperation
protected CobblerCommand getCobblerCommand()
getCobblerCommand
in class BaseTreeEditOperation