Examples of MembershipTypeImpl


Examples of org.exoplatform.services.organization.impl.MembershipTypeImpl

        }

        MembershipType mt = null;

        if (rt != null) {
            mt = new MembershipTypeImpl(name, null, null);
            populateMembershipType(mt);
        }

        if (log.isTraceEnabled()) {
            Tools.logMethodOut(log, LogLevel.TRACE, "findMembershipType", mt);
View Full Code Here

Examples of org.exoplatform.services.organization.impl.MembershipTypeImpl

        }

        List<MembershipType> mts = new LinkedList<MembershipType>();

        for (RoleType rt : rts) {
            MembershipType mt = new MembershipTypeImpl(rt.getName(), null, null);
            populateMembershipType(mt);
            mts.add(mt);
        }

        if (log.isTraceEnabled()) {
View Full Code Here

Examples of org.exoplatform.services.organization.impl.MembershipTypeImpl

    */
   public final MembershipType attributesToMembershipType(Attributes attrs)
   {
      if (attrs == null || attrs.size() == 0)
         return null;
      MembershipType m = new MembershipTypeImpl();
      m.setName(getAttributeValueAsString(attrs, membershipTypeNameAttr));
      m.setDescription(getAttributeValueAsString(attrs, ldapDescriptionAttr));
      m.setCreatedDate(new Date());
      m.setModifiedDate(new Date());
      return m;
   }
View Full Code Here

Examples of org.exoplatform.services.organization.impl.MembershipTypeImpl

   /**
    * {@inheritDoc}
    */
   public final MembershipType createMembershipTypeInstance()
   {
      return new MembershipTypeImpl();
   }
View Full Code Here

Examples of org.exoplatform.services.organization.impl.MembershipTypeImpl

        }
        listeners_.remove(listener);
    }

    public final MembershipType createMembershipTypeInstance() {
        return new MembershipTypeImpl();
    }
View Full Code Here

Examples of org.exoplatform.services.organization.impl.MembershipTypeImpl

        }

        MembershipType mt = null;

        if (rt != null) {
            mt = new MembershipTypeImpl(name, null, null);
            populateMembershipType(mt);
        }

        if (log.isTraceEnabled()) {
            Tools.logMethodOut(log, LogLevel.TRACE, "findMembershipType", mt);
View Full Code Here

Examples of org.exoplatform.services.organization.impl.MembershipTypeImpl

        }

        List<MembershipType> mts = new LinkedList<MembershipType>();

        for (RoleType rt : rts) {
            MembershipType mt = new MembershipTypeImpl(rt.getName(), null, null);
            populateMembershipType(mt);
            if (mt.getName().equals("*")) {
                mts.add(0, mt);
            } else {
                mts.add(mt);
            }
        }
View Full Code Here

Examples of org.exoplatform.services.organization.impl.MembershipTypeImpl

   /**
    * {@inheritDoc}
    */
   public final MembershipType createMembershipTypeInstance()
   {
      return new MembershipTypeImpl();
   }
View Full Code Here

Examples of org.exoplatform.services.organization.impl.MembershipTypeImpl

    */
   public final MembershipType attributesToMembershipType(Attributes attrs)
   {
      if (attrs == null || attrs.size() == 0)
         return null;
      MembershipType m = new MembershipTypeImpl();
      m.setName(getAttributeValueAsString(attrs, membershipTypeNameAttr));
      m.setDescription(getAttributeValueAsString(attrs, ldapDescriptionAttr));
      m.setCreatedDate(new Date());
      m.setModifiedDate(new Date());
      return m;
   }
View Full Code Here

Examples of org.exoplatform.services.organization.impl.MembershipTypeImpl

      service_ = service;
   }

   final public MembershipType createMembershipTypeInstance()
   {
      return new MembershipTypeImpl();
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.