Examples of PropertyString


Examples of org.pentaho.commons.util.repository.type.PropertyString

    propList.add( new PropertyId( PropertiesBase.OBJECTID, objectId ) );
    propList.add( new PropertyDateTime( PropertiesBase.LASTMODIFICATIONDATE, lastModifiedDate ) );

    if ( isDirectory ) {
      propList.add( new PropertyString( PropertiesBase.OBJECTTYPEID, CmisObject.OBJECT_TYPE_FOLDER ) );
    } else {
      propList.add( new PropertyString( PropertiesBase.OBJECTTYPEID, extension ) );
      propList.add( new PropertyBoolean( PropertiesDocument.CONTENTSTREAMALLOWED, true ) );
    }

    propList.add( new PropertyString( CmisObject.NAME, name ) );
    propList.add( new PropertyString( CmisObject.LOCALIZEDNAME, localizedName ) );
    propList.add( new PropertyBoolean( CmisObject.VISIBLE, visible ) );

    object.setProperties( properties );
    return object;
  }
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.