Package org.identityconnectors.framework.common.objects

Examples of org.identityconnectors.framework.common.objects.Schema


    @Async
    public Future<Set<String>> getSchema(final ConnectorFacade connector, final boolean showall) {
        final Set<String> resourceSchemaNames = new HashSet<String>();

        try {
            final Schema schema = connector.schema();
            for (ObjectClassInfo info : schema.getObjectClassInfo()) {
                for (AttributeInfo attrInfo : info.getAttributeInfo()) {
                    if (showall || !AttributeUtil.isSpecialName(attrInfo.getName())) {
                        resourceSchemaNames.add(attrInfo.getName());
                    }
                }
View Full Code Here


     * @return a list of schema names.
     */
    public Set<String> getSchema(final boolean showall) {
        final Set<String> resourceSchemaNames = new HashSet<String>();

        final Schema schema = connector.schema();

        try {
            for (ObjectClassInfo info : schema.getObjectClassInfo()) {
                for (AttributeInfo attrInfo : info.getAttributeInfo()) {
                    if (showall
                            || (!Name.NAME.equals(attrInfo.getName())
                            && !OperationalAttributes.PASSWORD_NAME.equals(attrInfo.getName()) && !OperationalAttributes.ENABLE_NAME.
                            equals(attrInfo.getName()))) {
View Full Code Here

    @Async
    public Future<Set<String>> getSchemaNames(final ConnectorFacade connector, final boolean includeSpecial) {
        final Set<String> schemaNames = new HashSet<String>();

        try {
            final Schema schema = connector.schema();
            for (ObjectClassInfo info : schema.getObjectClassInfo()) {
                for (AttributeInfo attrInfo : info.getAttributeInfo()) {
                    if (includeSpecial || !AttributeUtil.isSpecialName(attrInfo.getName())) {
                        schemaNames.add(attrInfo.getName());
                    }
                }
View Full Code Here

    @Async
    public Future<Set<ObjectClass>> getSupportedObjectClasses(final ConnectorFacade connector) {
        final Set<ObjectClass> objectClasses = new HashSet<ObjectClass>();

        try {
            final Schema schema = connector.schema();
            for (ObjectClassInfo info : schema.getObjectClassInfo()) {
                objectClasses.add(new ObjectClass(info.getType()));
            }
        } catch (Exception e) {
            // catch exception in order to manage unpredictable behaviors
            LOG.debug("While reading schema on connector {}", connector, e);
View Full Code Here

    public Future<Set<String>> getSchema(
            final ConnectorFacade connector,
            final boolean showall) {
        final Set<String> resourceSchemaNames = new HashSet<String>();

        final Schema schema = connector.schema();

        try {
            for (ObjectClassInfo info : schema.getObjectClassInfo()) {
                for (AttributeInfo attrInfo : info.getAttributeInfo()) {
                    if (showall
                            || (!Name.NAME.equals(attrInfo.getName())
                            && !OperationalAttributes.PASSWORD_NAME.equals(attrInfo.getName()) && !OperationalAttributes.ENABLE_NAME.
                            equals(attrInfo.getName()))) {
View Full Code Here

     * @return a list of schema names.
     */
    public Set<String> getSchema(final boolean showall) {
        final Set<String> resourceSchemaNames = new HashSet<String>();

        final Schema schema = connector.schema();

        try {
            for (ObjectClassInfo info : schema.getObjectClassInfo()) {
                for (AttributeInfo attrInfo : info.getAttributeInfo()) {
                    if (showall
                            || (!Name.NAME.equals(attrInfo.getName())
                                    && !OperationalAttributes.PASSWORD_NAME.equals(attrInfo.getName()) && !OperationalAttributes.ENABLE_NAME
                                    .equals(attrInfo.getName()))) {
View Full Code Here

    @Async
    public Future<Set<ObjectClass>> getSupportedObjectClasses(final ConnectorFacade connector) {
        final Set<ObjectClass> objectClasses = new HashSet<ObjectClass>();

        try {
            final Schema schema = connector.schema();
            for (ObjectClassInfo info : schema.getObjectClassInfo()) {
                objectClasses.add(new ObjectClass(info.getType()));
            }
        } catch (Exception e) {
            // catch exception in order to manage unpredictable behaviors
            LOG.debug("While reading schema on connector {}", connector, e);
View Full Code Here

    @Async
    public Future<Set<String>> getSchemaNames(final ConnectorFacade connector, final boolean includeSpecial) {
        final Set<String> schemaNames = new HashSet<String>();

        try {
            final Schema schema = connector.schema();
            for (ObjectClassInfo info : schema.getObjectClassInfo()) {
                for (AttributeInfo attrInfo : info.getAttributeInfo()) {
                    if (includeSpecial || !AttributeUtil.isSpecialName(attrInfo.getName())) {
                        schemaNames.add(attrInfo.getName());
                    }
                }
View Full Code Here

TOP

Related Classes of org.identityconnectors.framework.common.objects.Schema

Copyright © 2018 www.massapicom. 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.