Class AffiliationHandlerImpl
java.lang.Object
ch.tocco.nice2.usermanager.impl.scripting.affiliation.AffiliationHandlerImpl
- All Implemented Interfaces:
AffiliationHandler
-
Constructor Summary
ConstructorDescriptionAffiliationHandlerImpl
(Context context, SecurityManager securityManager, QueryBuilderFactory queryBuilderFactory) -
Method Summary
Modifier and TypeMethodDescription<E extends Entity>
voidSame asAffiliationHandler.define(String, String, String, String)
but assumes the relation name is equal to `relAffiliation`.<E extends Entity>
voidSets the affiliation with the givenaffiliationId
on all entities if the condition is `true`.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.usermanager.impl.scripting.affiliation.AffiliationHandler
unwrap
-
Constructor Details
-
AffiliationHandlerImpl
public AffiliationHandlerImpl(Context context, SecurityManager securityManager, QueryBuilderFactory queryBuilderFactory)
-
-
Method Details
-
define
Description copied from interface:AffiliationHandler
Same asAffiliationHandler.define(String, String, String, String)
but assumes the relation name is equal to `relAffiliation`.- Specified by:
define
in interfaceAffiliationHandler
-
define
public <E extends Entity> void define(String entityModel, String condition, String affiliationId, String relationName) Description copied from interface:AffiliationHandler
Sets the affiliation with the givenaffiliationId
on all entities if the condition is `true`.- Specified by:
define
in interfaceAffiliationHandler
-