Examples of AttributableType


Examples of org.apache.syncope.common.types.AttributableType

    public static AttributableUtil valueOf(final String name) {
        return new AttributableUtil(AttributableType.valueOf(name));
    }

    public static AttributableUtil getInstance(final ObjectClass objectClass) {
        AttributableType type = null;
        if (ObjectClass.ACCOUNT.equals(objectClass)) {
            type = AttributableType.USER;
        }
        if (ObjectClass.GROUP.equals(objectClass)) {
            type = AttributableType.ROLE;
View Full Code Here

Examples of org.apache.syncope.common.types.AttributableType

        return new AttributableUtil(type);
    }

    public static AttributableUtil getInstance(final AbstractAttributable attributable) {
        AttributableType type = null;
        if (attributable instanceof SyncopeUser) {
            type = AttributableType.USER;
        }
        if (attributable instanceof SyncopeRole) {
            type = AttributableType.ROLE;
View Full Code Here

Examples of org.apache.syncope.common.types.AttributableType

                final MappingItemTO mapItem = item.getModelObject();
                if (mapItem.getPurpose() == null) {
                    mapItem.setPurpose(MappingPurpose.BOTH);
                }

                AttributableType entity = null;
                if (mapItem.getIntMappingType() != null) {
                    entity = mapItem.getIntMappingType().getAttributableType();
                }

                final List<IntMappingType> attrTypes = new ArrayList<IntMappingType>(getAttributeTypes(entity));
View Full Code Here

Examples of org.apache.syncope.common.types.AttributableType

                final MappingItemTO mapItem = item.getModelObject();
                if (mapItem.getPurpose() == null) {
                    mapItem.setPurpose(MappingPurpose.BOTH);
                }

                AttributableType entity = null;
                if (mapItem.getIntMappingType() != null) {
                    entity = mapItem.getIntMappingType().getAttributableType();
                }

                final List<IntMappingType> attrTypes = new ArrayList<IntMappingType>(getAttributeTypes(entity));
View Full Code Here

Examples of org.apache.syncope.common.types.AttributableType

            final Result condition,
            final Object before,
            final Object output,
            final Object... input) {

        AttributableType attributableType = null;
        AbstractAttributable attributable = null;

        if (before instanceof UserTO) {
            attributableType = AttributableType.USER;
            attributable = userDAO.find(((UserTO) before).getId());
View Full Code Here

Examples of org.apache.syncope.common.types.AttributableType

    public static AttributableUtil valueOf(final String name) {
        return new AttributableUtil(AttributableType.valueOf(name));
    }

    public static AttributableUtil getInstance(final ObjectClass objectClass) {
        AttributableType type = null;
        if (ObjectClass.ACCOUNT.equals(objectClass)) {
            type = AttributableType.USER;
        }
        if (ObjectClass.GROUP.equals(objectClass)) {
            type = AttributableType.ROLE;
View Full Code Here

Examples of org.apache.syncope.common.types.AttributableType

        return new AttributableUtil(type);
    }

    public static AttributableUtil getInstance(final AbstractAttributable attributable) {
        AttributableType type = null;
        if (attributable instanceof SyncopeUser) {
            type = AttributableType.USER;
        }
        if (attributable instanceof SyncopeRole) {
            type = AttributableType.ROLE;
View Full Code Here

Examples of org.apache.syncope.common.types.AttributableType

    public static AttributableUtil valueOf(final String name) {
        return new AttributableUtil(AttributableType.valueOf(name));
    }

    public static AttributableUtil getInstance(final ObjectClass objectClass) {
        AttributableType type = null;
        if (ObjectClass.ACCOUNT.equals(objectClass)) {
            type = AttributableType.USER;
        }
        if (ObjectClass.GROUP.equals(objectClass)) {
            type = AttributableType.ROLE;
View Full Code Here

Examples of org.apache.syncope.common.types.AttributableType

        return new AttributableUtil(type);
    }

    public static AttributableUtil getInstance(final AbstractAttributable attributable) {
        AttributableType type = null;
        if (attributable instanceof SyncopeUser) {
            type = AttributableType.USER;
        }
        if (attributable instanceof SyncopeRole) {
            type = AttributableType.ROLE;
View Full Code Here

Examples of org.apache.syncope.common.types.AttributableType

                final MappingItemTO mapItem = item.getModelObject();
                if (mapItem.getPurpose() == null) {
                    mapItem.setPurpose(MappingPurpose.BOTH);
                }

                AttributableType entity = null;
                if (mapItem.getIntMappingType() != null) {
                    entity = mapItem.getIntMappingType().getAttributableType();
                }

                final List<IntMappingType> attrTypes = new ArrayList<IntMappingType>(getAttributeTypes(entity));
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.