Tabnine Logo
Program.isWithoutRegistration
Code IndexAdd Tabnine to your IDE (free)

How to use
isWithoutRegistration
method
in
org.hisp.dhis.program.Program

Best Java code snippets using org.hisp.dhis.program.Program.isWithoutRegistration (Showing top 7 results out of 315)

origin: dhis2/dhis2-core

  /**
   * Ownership check can be skipped if the user is super user or if the
   * program is without registration.
   * 
   * @param user
   * @param program
   * @return true if ownership check can be skipped
   */
  private boolean canSkipOwnershipCheck( User user, Program program )
  {
    return user == null || user.isSuper() || program == null || program.isWithoutRegistration();
  }
}
origin: dhis2/dhis2-core

if ( !program.isWithoutRegistration() )
origin: dhis2/dhis2-core

if ( !program.isWithoutRegistration() )
origin: dhis2/dhis2-core

if ( !program.isWithoutRegistration() )
origin: dhis2/dhis2-core

if ( program.isWithoutRegistration() )
origin: dhis2/dhis2-core

programStageInstance.setStatus( EventStatus.SCHEDULE );
if ( programStage.getOpenAfterEnrollment() || programInstance.getProgram().isWithoutRegistration()
  || programStage.getPeriodType() != null )
origin: dhis2/dhis2-core

programStage = programStage == null && program.isWithoutRegistration() ? program.getProgramStageByStage( 1 ) : programStage;
org.hisp.dhis.programProgramisWithoutRegistration

Popular methods of Program

  • getUid
  • equals
  • getProgramStages
  • getCategoryCombo
  • getDataElements
    Returns all data elements which are part of the stages of this program.
  • getId
  • getProgramAttributes
  • getProgramIndicators
  • getTrackedEntityAttributes
    Returns TrackedEntityAttributes from ProgramTrackedEntityAttributes. Use getAttributes() to access t
  • isRegistration
  • getName
  • getNotificationTemplates
  • getName,
  • getNotificationTemplates,
  • getOrganisationUnits,
  • getProgramType,
  • getTrackedEntityType,
  • hasOrganisationUnit,
  • hashCode,
  • setCategoryCombo,
  • <init>

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setRequestProperty (URLConnection)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • String (java.lang)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Notification (javax.management)
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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