<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi Greg,<div><br></div><div>As Richard suggested, you can use a subclass creation expression to create a subclass. In Jade you can select the “Add Subclass” context menu to get a template that shows your BaseObject as the superclass. Then in place of ‘MyNewSubclass’ enter your ‘Account' class name.</div><div><br><div><img src="cid:6BA35C66-71E4-42F0-B23F-0BA9C39F6BAF" alt="Screenshot 2023-05-22 at 9.30.25 PM.png"><br><br><img src="cid:4814D610-21D6-4F13-A16A-192F780158EB" alt="Screenshot 2023-05-22 at 9.30.51 PM.png"><br><br>Background tasks (MFC, backup, reports, cleanup) are typically run as cron jobs using Topaz. Let us know if you want some guidance on how that might be done.<br><br>James<br><br><blockquote type="cite"><div>On May 22, 2023, at 6:53 PM, Greg Spehar via GemStone-Smalltalk <gemstone-smalltalk@lists.gemtalksystems.com> wrote:</div><br class="Apple-interchange-newline"><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">GemStone Smalltalk Team,<div><br></div><div>Apologies for this request, I am building out a new system that will run on top of GS/S.</div><div>I have run into two items that I was hoping to better understand:</div><div><br></div><div>1) Class Structure in GemStone/S</div><div>2) Use of GsProcess</div><div><br></div><div>#1 - Class Structure</div><div><br></div><div>It would seem that I am not able to create a Subclass of a Class that I created. An example would be Object -> BaseObject -> Account.</div><div>The BaseObject will hold a number of management items (DateCreated, UUID, DateModified, etc.) that I want for all of my Operational Objects (Accounts, Networks, Transactions, etc.).</div><div>But for the life of me the GemStone/S product will not allow me to do the third level. I am not able to SubClass from BaseObject.</div><div>(I am sure it is something that I am not doing right, I am able to Subclass from Object no problem) Could this be because I am using the Community Edition?</div><div>Any recommendation would be great. At the moment I am stuffing an instance of the BaseClass into my object (Account) which is not ideal...</div><div><br></div><div>#2 - Use of GsProcess</div><div><br></div><div>Does someone have a good paper on the use of GsProcess? I am looking to have it run in a separate Gem on a timer clearing a bucket of Log Entries from my system.</div><div>I have been able to setup the Log levels and get all that working, but when I launch the GsProcess and put a timer in there, it just sits there. And of course if I do an Abort or Commit, it complains or the Process disappears.</div><div>Additionally, I am concerned about just dropping it on the floor and creating too many of these active sessions. (I suspect it will eventually destabilize the image.)</div><div>So anyway, it should sit there and just run every 5 min, looking at the Rc Collection and doing it’s thing dumping the contents to the log file location I created… And ending gracefully once I tell it to shut down...</div><div><br></div><div>I know these are rookie questions… but have hit a wall on figuring it out. (Even ChatGPT has no idea what to do…)</div><div><br></div><div>Regards,<br><div>
<div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><div><div style="orphans: 2; widows: 2;"><b style="font-size: 11px;">Greg Spehar, MBA, PMP, ACP, DASM</b></div><div style="orphans: 2; widows: 2;"><b style="font-size: 11px;">Senior Program Manager</b></div><div style="orphans: 2; widows: 2;"><div><span style="font-size: 11px;">-------------------------------------------------------------------------------------------------------</span></div><div><span style="font-size: 11px;"><b>P:</b> 503.332.3663</span></div><div><b style="font-size: 11px;">E: </b><a href="mailto:spehargreg@gmail.com" style="font-size: 11px;">spehargreg@gmail.com</a></div></div><div style="orphans: 2; widows: 2;"><b style="font-size: 11px;">W: </b><a href="http://www.linkedin.com/in/spehar" style="text-align: -webkit-auto; font-size: 11px;">http://www.linkedin.com/in/spehargreg</a></div></div><div><b style="orphans: 2; widows: 2; font-size: 11px;">T:</b><span style="orphans: 2; widows: 2; font-size: 11px;"> @spehargreg</span></div><div><span style="orphans: 2; widows: 2; font-size: 11px;"><b>C:</b> </span><a href="https://calendly.com/spehargreg/30-minute-meeting-connect" style="orphans: 2; text-align: -webkit-auto; widows: 2; font-size: 11px;">https://calendly.com/spehargreg/30-minute-meeting-connect</a></div></div></div></div><br></div></div>_______________________________________________<br>GemStone-Smalltalk mailing list<br>GemStone-Smalltalk@lists.gemtalksystems.com<br>https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk<br></div></blockquote></div><br></div></body></html>