Package org.apache.chemistry.opencmis.client.runtime

Examples of org.apache.chemistry.opencmis.client.runtime.ObjectIdImpl


            for (QueryResult qr : results.getPage(maxHits)) {
                rtm.setColumnCount(Math.max(rtm.getColumnCount(), qr.getProperties().size()));

                for (PropertyData<?> prop : qr.getProperties()) {
                    if (PropertyIds.OBJECT_ID.equals(prop.getId()) && (prop.getFirstValue() != null)) {
                        rtm.setValue(row, prop.getQueryName(), new ObjectIdImpl(prop.getFirstValue().toString()));
                    } else {
                        rtm.setValue(row, prop.getQueryName(), prop.getFirstValue());
                    }
                }
View Full Code Here


        return getObject().getAllowableActions().getAllowableActions().contains(Action.CAN_APPLY_POLICY);
    }

    @Override
    public void doAction() throws Exception {
        getObject().applyPolicy(new ObjectIdImpl(policyField.getText()));
    }
View Full Code Here

        return getObject().getAllowableActions().getAllowableActions().contains(Action.CAN_REMOVE_POLICY);
    }

    @Override
    public void doAction() throws Exception {
        getObject().removePolicy(new ObjectIdImpl(policyField.getText()));
    }
View Full Code Here

        .contains(Action.CAN_MOVE_OBJECT);
  }

  @Override
  public void doAction() throws Exception {
    ObjectId targetFolderId = new ObjectIdImpl(targetFolderField.getText());
    ((FileableCmisObject) getObject()).move(getClientModel()
        .getCurrentFolder(), targetFolderId);
  }
View Full Code Here

            for (QueryResult qr : results.getPage(maxHits)) {
                rtm.setColumnCount(Math.max(rtm.getColumnCount(), qr.getProperties().size()));

                for (PropertyData<?> prop : qr.getProperties()) {
                    if (PropertyIds.OBJECT_ID.equals(prop.getId()) && (prop.getFirstValue() != null)) {
                        rtm.setValue(row, prop.getQueryName(), new ObjectIdImpl(prop.getFirstValue().toString()));
                    } else {
                        rtm.setValue(row, prop.getQueryName(), prop.getFirstValue());
                    }
                }
View Full Code Here

TOP

Related Classes of org.apache.chemistry.opencmis.client.runtime.ObjectIdImpl

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.