Tabnine Logo
QueryResult.getPropertyValueById
Code IndexAdd Tabnine to your IDE (free)

How to use
getPropertyValueById
method
in
org.apache.chemistry.opencmis.client.api.QueryResult

Best Java code snippets using org.apache.chemistry.opencmis.client.api.QueryResult.getPropertyValueById (Showing top 4 results out of 315)

origin: deas/alfresco

private VisitorFeedbackImpl buildFeedbackObject(QueryResult queryResult)
{
  BigInteger rating = (BigInteger) queryResult.getPropertyValueById(PROP_RATING);
  VisitorFeedbackImpl feedback = buildFeedbackObject(
      (String) queryResult.getPropertyValueById(PROP_ARTICLE), 
      (String) queryResult.getPropertyValueById(PROP_NAME),
      (String) queryResult.getPropertyValueById(PROP_EMAIL), 
      (String) queryResult.getPropertyValueById(PROP_WEBSITE), 
      (String) queryResult.getPropertyValueById(PROP_FEEDBACK_TYPE), 
      (String) queryResult.getPropertyValueById(PROP_SUBJECT), 
      (String) queryResult.getPropertyValueById(PROP_COMMENT), 
      (Boolean) queryResult.getPropertyValueById(PROP_COMMENT_FLAGGED), 
      rating == null ? null : rating.intValue());
  
  feedback.setId((String) queryResult.getPropertyValueById(PropertyIds.OBJECT_ID));
  feedback.setPostTime(((Calendar) queryResult.getPropertyValueById(PropertyIds.CREATION_DATE)).getTime());
  return feedback;
}
origin: jbarrez/Activiti-KickStart

kickstartWorkflowInfo.setName((String) result.getPropertyValueById("cm:description"));
kickstartWorkflowInfo.setId(processNameToBaseName((String) result.getPropertyValueById(PropertyIds.NAME)));  
GregorianCalendar createDate = result.getPropertyValueById(PropertyIds.CREATION_DATE); 
kickstartWorkflowInfo.setCreateTime(createDate.getTime()) ;
workflowInfos.add(kickstartWorkflowInfo);
origin: deas/alfresco

properties.put(PropertyIds.OBJECT_ID, (String) result.getPropertyValueById(PropertyIds.OBJECT_ID));
properties.put(PropertyIds.NAME, (String) result.getPropertyValueById(PropertyIds.NAME));
properties.put(Section.PROPERTY_TITLE, (String) result.getPropertyValueById(Section.PROPERTY_TITLE));
properties.put(Section.PROPERTY_DESCRIPTION, 
    (String) result.getPropertyValueById(Section.PROPERTY_DESCRIPTION));
properties.put(Section.PROPERTY_EXCLUDE_FROM_NAV, 
    (Boolean) result.getPropertyValueById(Section.PROPERTY_EXCLUDE_FROM_NAV));
sectionDetails.objectTypeId = (String) result.getPropertyValueById(PropertyIds.OBJECT_TYPE_ID);
  String parentId = (String) result.getPropertyValueById(PropertyIds.PARENT_ID);
  section.setPrimarySectionId(parentId);
origin: deas/alfresco

String id = result.getPropertyValueById(PropertyIds.OBJECT_ID);
String hostName = result.getPropertyValueById(WebSite.PROP_HOSTNAME);
BigInteger hostPort = result.getPropertyValueById(WebSite.PROP_HOSTPORT);
String context = result.getPropertyValueById(WebSite.PROP_CONTEXT);
if (context == null)
String title = result.getPropertyValueById(Asset.PROPERTY_TITLE);
String description = result.getPropertyValueById(Asset.PROPERTY_DESCRIPTION);
List<String> configList = result.getPropertyMultivalueById(WebSite.PROP_SITE_CONFIG);
Map<String,String> configProperties = parseSiteConfig(configList);
org.apache.chemistry.opencmis.client.apiQueryResultgetPropertyValueById

Javadoc

Returns a property (single) value by ID.

Popular methods of QueryResult

  • getProperties
    Returns the list of all properties in this query result.
  • getPropertyByQueryName
    Returns a property by query name or alias.
  • getPropertyValueByQueryName
    Returns a property (single) value by query name or alias.
  • getPropertyById
    Returns a property by ID. Because repositories are not obligated to add property IDs to their query
  • getPropertyMultivalueById
    Returns a property multi-value by ID.
  • getRelationships
    Returns the relationships if they have been requested.

Popular in Java

  • Reading from database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • ImageIO (javax.imageio)
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JComboBox (javax.swing)
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now