Hibernate Disjunction Condition
===

I'm wondering if there is a way to add a condition to a hibernate disjunction?

Example

        Criterion creator;

                 if(securityService.hasRole(RoleConstants.ROLE_CREATOR) {
                     creator = Restrictions.conjunction()
                     .add(Restrictions.eq("creator", this.userInfo.getUser()))
                     .add(Restrictions.eq("currentState.id", DatabaseConstants.STATE_DRAFT));
                 }

        Criterion completeCondition = Restrictions.disjunction().add(creator)
                                                                .add(authorizer)
                                                                .add(assessor);

Thanks