Examples of ObjectList


Examples of com.dotcms.repackage.org.apache.chemistry.opencmis.commons.data.ObjectList

        cont.setBinary("fileAsset", file);
        cont.setLanguageId(1);
        cont = APILocator.getContentletAPI().checkin(cont,user,false);
        APILocator.getContentletAPI().isInodeIndexed(cont.getInode());
       
        ObjectList list = doQuery("SELECT * FROM cmis:document WHERE cmis:name='"+title+"'");
        assertEquals(BigInteger.valueOf(1),list.getNumItems());
        assertEquals(cont.getInode(),list.getObjects().get(0).getId());
    }
View Full Code Here

Examples of com.opera.core.systems.scope.protos.EcmascriptProtos.ObjectList

      // cyclic reference - returning null for the inner most reference
      return null;
    }

    visitedIDs.add(id);
    ObjectList list = getObjectList(id);
    EcmascriptProtos.Object obj = list.getPrototypeList(0).getObjectList(0);
    String className = obj.getClassName();

    List<Property> properties = obj.getPropertyListList();

    if (className.endsWith("Element")) {
View Full Code Here

Examples of com.opera.core.systems.scope.protos.EsdbgProtos.ObjectList

    }
  }

  // TODO needs retry approach?
  public List<Integer> examineObjects(Integer id) {
    ObjectList list = getObjectList(id);
    List<Integer> ids = Lists.newArrayList();
    List<Property> properties = list.getObjectList(0).getPropertyListList();

    for (Property property : properties) {
      if (property.getType().equals("object")) {
        ids.add(property.getObjectValue().getObjectID());
      }
View Full Code Here

Examples of com.positive.charts.data.util.ObjectList

   *            permitted).
   */
  public StandardPieSectionLabelGenerator(final String labelFormat,
      final NumberFormat numberFormat, final NumberFormat percentFormat) {
    super(labelFormat, numberFormat, percentFormat);
    this.attributedLabels = new ObjectList();
  }
View Full Code Here

Examples of com.sun.org.apache.xerces.internal.xs.datatypes.ObjectList

                // TODO: if not tolerating duplicate, generate an error message
            }
        }

        // add any extended (duplicate) global components
        ObjectList componentsExt = srcGrammar.getComponentsExt(XSConstants.ELEMENT_DECLARATION);
        len = componentsExt.getLength();

        for (int i=0; i<len; i+= 2) {
            final String key = (String) componentsExt.item(i);
            final int index = key.indexOf(',');
            final String location = key.substring(0, index);
            final String name = key.substring(index + 1, key.length());

            srcDecl = (XSElementDecl)componentsExt.item(i+1);
            dstDecl = dstGrammar.getGlobalElementDecl(name, location);
            if ( dstDecl == null) {
                dstGrammar.addGlobalElementDecl(srcDecl, location);
            }
            else if (dstDecl != srcDecl){
View Full Code Here

Examples of de.mhus.lib.form.objects.ObjectList

  @Override
  public MFormModel getConfigurationForm() throws FormException {
    FormElementRegistry registry = new FormElementRegistry();
    MFormModel model = new MFormModel(MSingleton.instance().getActivator(),this);
    ObjectList list = model.getList();
    for (String key : config.getPropertyKeys()) {
      log().t("key",key);
      try {
        IConfig elementConfig = config.getConfig("element_" + key);
        if (elementConfig != null) {
          log().t("accept fobject",key);
          FObject element = registry.createElement(model, elementConfig.getString("type", "input"), elementConfig);
          element.setName(key);
          element.setTitle(key);
          list.add(element);
        }
      } catch (Exception e) {
        log().i(key,e);
      }
    }
View Full Code Here

Examples of macromedia.asc.util.ObjectList

*/
public class Optimizer
{
    public static void main(String[] args)
    {
        ObjectList<String> file_names = new ObjectList();
        String output_file = "merged.abc";
        for( int i = 0; i < args.length; ++i )
        {
            if( args[i].equals("-o") )
            {
                output_file = args[++i];
            }
            else
            {
                file_names.add(args[i]);
            }
        }

        BytecodeBuffer[] byte_codes = new BytecodeBuffer[file_names.size()];
        for(int i = 0; i < file_names.size(); ++i )
        {
            try
            {
                BytecodeBuffer buf = new BytecodeBuffer(file_names.at(i));
                byte_codes[i] = buf;
            }
            catch( IOException ioe )
            {

View Full Code Here

Examples of mf.org.apache.xerces.xs.datatypes.ObjectList

                // TODO: if not tolerating duplicate, generate an error message
            }
        }

        // add any extended (duplicate) global components
        ObjectList componentsExt = srcGrammar.getComponentsExt(XSConstants.ELEMENT_DECLARATION);
        len = componentsExt.getLength();

        for (int i=0; i<len; i+= 2) {
            final String key = (String) componentsExt.item(i);
            final int index = key.indexOf(',');
            final String location = key.substring(0, index);
            final String name = key.substring(index + 1, key.length());

            srcDecl = (XSElementDecl)componentsExt.item(i+1);
            dstDecl = dstGrammar.getGlobalElementDecl(name, location);
            if ( dstDecl == null) {
                dstGrammar.addGlobalElementDecl(srcDecl, location);
            }
            else if (dstDecl != srcDecl){
View Full Code Here

Examples of org.apache.chemistry.opencmis.commons.data.ObjectList

            @Override
            protected AbstractPageFetcher.Page<Document> fetchPage(long skipCount) {

                // get all checked out documents
                ObjectList checkedOutDocs = navigationService.getCheckedOutDocs(getRepositoryId(), null,
                        ctxt.getFilterString(), ctxt.getOrderBy(), ctxt.isIncludeAllowableActions(),
                        ctxt.getIncludeRelationships(), ctxt.getRenditionFilterString(),
                        BigInteger.valueOf(this.maxNumItems), BigInteger.valueOf(skipCount), null);

                // convert objects
                List<Document> page = new ArrayList<Document>();
                if (checkedOutDocs.getObjects() != null) {
                    for (ObjectData objectData : checkedOutDocs.getObjects()) {
                        CmisObject doc = objectFactory.convertObject(objectData, ctxt);
                        if (!(doc instanceof Document)) {
                            // should not happen...
                            continue;
                        }

                        page.add((Document) doc);
                    }
                }

                return new AbstractPageFetcher.Page<Document>(page, checkedOutDocs.getNumItems(),
                        checkedOutDocs.hasMoreItems());
            }
        });
    }
View Full Code Here

Examples of org.apache.chemistry.opencmis.commons.data.ObjectList

        lock.readLock().lock();
        try {
            Holder<String> changeLogTokenHolder = new Holder<String>(changeLogToken);

            ObjectList objectList = getBinding().getDiscoveryService().getContentChanges(getRepositoryInfo().getId(),
                    changeLogTokenHolder, includeProperties, context.getFilterString(), context.isIncludePolicies(),
                    context.isIncludeAcls(), BigInteger.valueOf(maxNumItems), null);

            return objectFactory.convertChangeEvents(changeLogTokenHolder.getValue(), objectList);
        } finally {
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.