Package net.sf.basedb.core
Class OwnableUtil
- java.lang.Object
-
- net.sf.basedb.core.OwnableUtil
-
-
Constructor Summary
Constructors Constructor Description OwnableUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
setOwner(OwnableData ownableData, User owner)
Set the owner of aOwnableData
object.
-
-
-
Method Detail
-
setOwner
public static void setOwner(OwnableData ownableData, User owner) throws InvalidDataException
Set the owner of aOwnableData
object.- Parameters:
ownableData
- Data object to set owner on.owner
- User to be set as an owner.- Throws:
InvalidDataException
- If the owner is null
-
-