Examples of IdentityStore


Examples of com.cubusmail.gwtui.client.stores.IdentityStore

    setMaximizable( true );
    setCollapsible( true );

    setTopToolbar( ToolbarManager.get().createComposeMessageToolbar() );

    this.identityStore = new IdentityStore();
    this.identityStore.setUserAccount( GWTSessionManager.get().getUserAccount() );
    this.priorityStore = new SimpleStore( new String[] { "code", "text" }, getPriorities() );

    this.formPanel = new FormPanel();
    this.formPanel.setLabelAlign( Position.RIGHT );
View Full Code Here

Examples of com.cubusmail.gwtui.client.stores.IdentityStore

        return "<img class=\"checkbox\" src=\"js/ext/resources/images/default/menu/"
            + (checked ? "checked.gif" : "unchecked.gif") + "\"/>";
      }
    });

    this.identityStore = new IdentityStore();
    this.gridPanel = new GridPanel(this.identityStore, columnModel);

    Toolbar toolbar = new Toolbar();
    toolbar.addButton(new ToolbarButton(TextProvider.get().identities_panel_new_identity(),
        new ButtonListenerAdapter() {
View Full Code Here

Examples of org.jboss.identity.idm.spi.store.IdentityStore

      for (IdentityStoreMappingMetaData identityStoreMappingMetaData : configurationMD.getIdentityStoreToIdentityObjectTypeMappings())
      {
         String storeId = identityStoreMappingMetaData.getIdentityStoreId();
         List<String> identityObjectTypeMappings = identityStoreMappingMetaData.getIdentityObjectTypeMappings();

         IdentityStore store = bootstrappedIdentityStores.get(storeId);

         String cacheOption = identityStoreMappingMetaData.getOptionSingleValue(CACHE_OPTION);

         if (cacheOption != null && cacheOption.equalsIgnoreCase("true"))
         {
View Full Code Here

Examples of org.jboss.identity.idm.spi.store.IdentityStore

            return resolveIdentityStore(identityObjectType).getSupportedFeatures().isIdentityObjectTypeSupported(identityObjectType);
         }

         public boolean isRelationshipTypeSupported(IdentityObjectType fromType, IdentityObjectType toType, IdentityObjectRelationshipType relationshipType) throws IdentityException
         {
            IdentityStore fromStore = resolveIdentityStore(fromType);

            IdentityStore toStore = resolveIdentityStore(toType);

            if (fromStore == toStore)
            {
               return fromStore.getSupportedFeatures().isRelationshipTypeSupported(fromType, toType, relationshipType);
            }
View Full Code Here

Examples of org.jboss.identity.idm.spi.store.IdentityStore

      return resolveIdentityStore(io.getIdentityType());
   }

   IdentityStore resolveIdentityStore(IdentityObjectType iot)
   {
      IdentityStore ids = getIdentityStore(iot);
      if (ids == null)
      {
         ids = defaultIdentityStore;
      }
      return ids;
View Full Code Here

Examples of org.jboss.identity.idm.spi.store.IdentityStore

   }

   public IdentityObject createIdentityObject(IdentityStoreInvocationContext invocationCtx, String name, IdentityObjectType identityObjectType) throws IdentityException
   {
      IdentityStore targetStore = resolveIdentityStore(identityObjectType);
      IdentityStoreInvocationContext targetCtx = resolveInvocationContext(targetStore, invocationCtx);
      return targetStore.createIdentityObject(targetCtx, name, identityObjectType);
   }
View Full Code Here

Examples of org.jboss.identity.idm.spi.store.IdentityStore

      return targetStore.createIdentityObject(targetCtx, name, identityObjectType);
   }

   public IdentityObject createIdentityObject(IdentityStoreInvocationContext invocationCtx, String name, IdentityObjectType identityObjectType, Map<String, String[]> attributes) throws IdentityException
   {
      IdentityStore targetStore = resolveIdentityStore(identityObjectType);
      IdentityStoreInvocationContext targetCtx = resolveInvocationContext(targetStore, invocationCtx);
      return targetStore.createIdentityObject(targetCtx, name, identityObjectType, attributes);
   }
View Full Code Here

Examples of org.jboss.identity.idm.spi.store.IdentityStore

      return targetStore.createIdentityObject(targetCtx, name, identityObjectType, attributes);
   }

   public void removeIdentityObject(IdentityStoreInvocationContext invocationCtx, IdentityObject identity) throws IdentityException
   {
      IdentityStore targetStore = resolveIdentityStore(identity);
      IdentityStoreInvocationContext targetCtx = resolveInvocationContext(targetStore, invocationCtx);

      targetStore.removeIdentityObject(targetCtx, identity);
   }
View Full Code Here

Examples of org.jboss.identity.idm.spi.store.IdentityStore

      targetStore.removeIdentityObject(targetCtx, identity);
   }

   public int getIdentityObjectsCount(IdentityStoreInvocationContext invocationCtx, IdentityObjectType identityType) throws IdentityException
   {
      IdentityStore targetStore = resolveIdentityStore(identityType);
      IdentityStoreInvocationContext targetCtx = resolveInvocationContext(targetStore, invocationCtx);

      return targetStore.getIdentityObjectsCount(targetCtx, identityType);
   }
View Full Code Here

Examples of org.jboss.identity.idm.spi.store.IdentityStore

      return targetStore.getIdentityObjectsCount(targetCtx, identityType);
   }

   public IdentityObject findIdentityObject(IdentityStoreInvocationContext invocationContext, String name, IdentityObjectType identityObjectType) throws IdentityException
   {
      IdentityStore targetStore = resolveIdentityStore(identityObjectType);
      IdentityStoreInvocationContext targetCtx = resolveInvocationContext(targetStore, invocationContext);

      return targetStore.findIdentityObject(targetCtx, name, identityObjectType);
   }
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.