public class RhnSetManager extends BaseManager
| Modifier and Type | Method and Description |
|---|---|
static RhnSet |
createSet(java.lang.Long userId,
java.lang.String label,
SetCleanup cleanup)
Creates a new RhnSet.
|
static void |
deleteByLabel(java.lang.Long userId,
java.lang.String label)
Removes the RhnSet which matches the given UserId and label.
|
static RhnSet |
findByLabel(java.lang.Long userId,
java.lang.String label,
SetCleanup cleanup)
Returns a list of RhnSets found for the given label and userid.
|
static void |
remove(RhnSet set)
Removes the RhnSet
|
static void |
store(RhnSet set)
Stores the RhnSet in the db
Replaces old set if one exists.
|
makeDataResult, makeDataResult, makeDataResult, makeDataResult, makeDataResultNoPagination, makeDataResultNoPagination, processListControl, processPageControlpublic static RhnSet findByLabel(java.lang.Long userId, java.lang.String label, SetCleanup cleanup)
userId - User Id for the RhnSet.label - Label for the RhnSet.cleanup - the cleanup that should be run when the set is storedpublic static RhnSet createSet(java.lang.Long userId, java.lang.String label, SetCleanup cleanup)
userId - Userid to associate with the RhnSet.label - Label to associate with the RhnSet.cleanup - the cleanup that should be run when the set is storedpublic static void deleteByLabel(java.lang.Long userId,
java.lang.String label)
userId - UserId of setlabel - Set labelpublic static void remove(RhnSet set)
set - The set to remove.public static void store(RhnSet set)
set - The set to store/save.