Constructor and Description |
---|
OwnableUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
setOwner(OwnableData ownableData,
User owner)
Set the owner of a
OwnableData object. |
public static void setOwner(OwnableData ownableData, User owner) throws InvalidDataException
OwnableData
object.ownableData
- Data object to set owner on.owner
- User to be set as an owner.InvalidDataException
- If the owner is null