• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
audit trails display
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

audit trails display


  • Subject: audit trails display
  • From: Theodore Petrosky <email@hidden>
  • Date: Fri, 14 Nov 2014 21:31:25 -0500

I have just started implementing ERCoreBusinessLogic’s AuditTrails. This is really good stuff. However, I had to ‘fix’ a boolean.

In the migration of ERCoreBusinessLogic I see:

        ERXMigrationTable eRCAuditTrailTable = database.newTableNamed("ERCAuditTrail");
        eRCAuditTrailTable.newStringColumn("GID", 255, ALLOWS_NULL);
        eRCAuditTrailTable.newIntegerColumn("ID", NOT_NULL);
        eRCAuditTrailTable.newIntBooleanColumn("IS_DELETED", NOT_NULL);
        eRCAuditTrailTable.create();
        eRCAuditTrailTable.setPrimaryKey("ID”);

In my postgresql backend, is_deleted is added as an integer column. So I had to run a migration of my own:

		ERXMigrationTable auditTrailTable = database.existingTableNamed("ercaudittrail");

		auditTrailTable.existingColumnNamed("is_deleted").delete();
		auditTrailTable.newFlagBooleanColumn("is_deleted", false);

Is there a setting I can use to make the ERCoreBusinessLogic’s migration create a boolean column?

Are there any Wonder components for displaying ercaudittrailentry data? I see when I insert a new entiry:

{
 "releaseDate" = "2014-11-14 05:00:00 Etc/GMT";
 "width" = "728";
 "height" = "90";
 "current" = "true";
 "description" = "sfgsdfgsd";
 "company" = "Company.3";
 "theInsertion" = "ERFileAttachment.4";
 "jobNumber" = "1222";
 }

Do I need to process this to display it? I see that toOne relations are listed Person.1. I was looking for components to display this. I don’t mind processing, but maybe there are components that could help.





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: audit trails display
      • From: Fabian Peters <email@hidden>
    • Re: audit trails display
      • From: David Holt <email@hidden>
  • Prev by Date: Re: D2W propertyKey question
  • Next by Date: Re: audit trails display
  • Previous by thread: Re: D2W propertyKey question
  • Next by thread: Re: audit trails display
  • Index(es):
    • Date
    • Thread