Answered before by Dan in greater detail (and with the new domain service name).

So forget :)



> El 5 nov 2015, a las 0:07, Óscar Bou - GOVERTIS <[email protected]> escribió:
> 
> 
> Hi again, Cesar.
> 
> You can use the ApplicationTenancies domain service.
> 
> It has a "newTenancy" action.
> 
> See [1].
> 
> HTH,
> 
> Oscar
> 
> [1] 
> https://github.com/isisaddons/isis-module-security/blob/master/dom/src/main/java/org/isisaddons/module/security/dom/tenancy/ApplicationTenancies.java
> 
> 
>> El 4 nov 2015, a las 22:55, Cesar Lugo <[email protected]> escribió:
>> 
>> 
>> 
>> Hello.
>> 
>> 
>> 
>> When using the security module add-on, I want a new tenancy to be created
>> automatically when a user inserts a new entity domain object, called
>> Business,, which has tenancy support, and then assign that newly created
>> tenancy to that Business object before persisting it. I would like to know
>> if there is a method I can call that creates a new tenancy, and then assign
>> the created tenancy to the newly created object (Business).
>> 
>> 
>> 
>> Cesar.
>> 
>> 
>> 
>> ---
>> This email has been checked for viruses by Avast antivirus software.
>> https://www.avast.com/antivirus

Reply via email to