1. A method for implementing a privacy policy, the method comprising: receiving code for an application comprising a record class definition comprising a field definition for a data field; receiving a privacy designation wherein the data field is designated as a field containing data that is to be kept private; with a processor, based on the designation, generating a records manager and a mapping aspect, wherein the records manager comprises a private class definition corresponding to the record class, the private class definition identifying an associated homomorphic minimization service that provides a minimized value of data in the data field wherein the minimized value of data in the data field is encrypted; and wherein the mapping aspect comprises pointcuts for identifying joins at which the records manager is to augment the functioning of the application code by calling the homomorphic minimization service to thereby obtain the minimized value of data in the data field, the records manager and the mapping aspect being configured to be deployed when the application is run.