congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • JFileChooser (javax.swing)
  • Top plugins for Android Studio
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