i'm designing some Service and DAO interfaces for my application at the moment and i'm not sure if it is better to include full domain objects in the signatures or only the identifiers (in my case a long type).
public void changeRequestStatus(Request request, Status status);
Status is an enumeration and Request my domain object.
public void changeRequestStatus(long requestId, Status status);
What is considered the better design?
Thx in advance!