Class AffiliationHandlerImpl
java.lang.Object
ch.tocco.nice2.usermanager.impl.scripting.affiliation.AffiliationHandlerImpl
- All Implemented Interfaces:
AffiliationHandler
-
Constructor Summary
ConstructorsConstructorDescriptionAffiliationHandlerImpl(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 givenaffiliationIdon all entities if the condition is `true`.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:AffiliationHandlerSame asAffiliationHandler.define(String, String, String, String)but assumes the relation name is equal to `relAffiliation`.- Specified by:
definein interfaceAffiliationHandler
-
define
public <E extends Entity> void define(String entityModel, String condition, String affiliationId, String relationName) Description copied from interface:AffiliationHandlerSets the affiliation with the givenaffiliationIdon all entities if the condition is `true`.- Specified by:
definein interfaceAffiliationHandler
-