Tabnine Logo
ValueType.isFile
Code IndexAdd Tabnine to your IDE (free)

How to use
isFile
method
in
org.hisp.dhis.common.ValueType

Best Java code snippets using org.hisp.dhis.common.ValueType.isFile (Showing top 6 results out of 315)

origin: dhis2/dhis2-core

/**
 * Indicates whether the value type of this data element is a file (externally stored resource)
 */
public boolean isFileType()
{
  return getValueType().isFile();
}
origin: dhis2/dhis2-core

else if ( valueType.isFile() )
origin: dhis2/dhis2-core

private void deleteFileValue( TrackedEntityAttributeValue value )
{
  if ( !value.getAttribute().getValueType().isFile() ||
    fileResourceService.getFileResource( value.getValue() ) == null )
  {
    return;
  }
  FileResource fileResource = fileResourceService.getFileResource( value.getValue() );
  fileResource.setAssigned( false );
  fileResourceService.updateFileResource( fileResource );
}
origin: dhis2/dhis2-core

  .filter( attrVal -> attrVal.getAttribute().getValueType().isFile() )
  .forEach( attrVal -> fileValues.add( attrVal.getValue() ) );
if ( daoEntityAttribute.getValueType().isFile() && checkAssigned( attribute, fileValues ) )
origin: dhis2/dhis2-core

else if ( valueType.isFile() && !CodeGenerator.isValidUid( value ) )
origin: dhis2/dhis2-core

if ( attributeValue.getAttribute().getValueType().isFile() && !addFileValue( attributeValue ) )
org.hisp.dhis.commonValueTypeisFile

Popular methods of ValueType

  • isNumeric
    Includes integer and decimal types.
  • isText
  • isBoolean
  • isDate
  • isInteger
  • equals
  • toString
  • getJavaClass
  • hashCode
  • isAggregateable
  • isDecimal
  • isGeo
  • isDecimal,
  • isGeo,
  • isOrganisationUnit,
  • name,
  • valueOf

Popular in Java

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (Timer)
  • findViewById (Activity)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Path (java.nio.file)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • BoxLayout (javax.swing)
  • Top PhpStorm plugins
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