Examples of Activity


Examples of BusinessObjects.Activity

  @Override
  public void startElement(String uri, String localName, String qName,
      Attributes attributes) throws SAXException {
   
    if (localName.equals("activite")){
      currentActivity = new Activity();
    }
   
    if (localName.equals("ID") && baliseMere.equals("delete"))
      this.activitiesToDelete.add(attributes.getValue(0));
   
View Full Code Here

Examples of com.almende.eve.entity.activity.Activity

   */
  public void setActivityQuick(@Name("summary") String summary,
      @Required(false) @Name("location") String location,
      @Name("duration") Integer duration,
      @Name("agents") List<String> agents) {
    Activity activity = new Activity();
    activity.setSummary(summary);
    activity.withConstraints().withLocation().setSummary(location);
    for (String agent : agents) {
      Attendee attendee = new Attendee();
      attendee.setAgent(agent);
      activity.withConstraints().withAttendees().add(attendee);
    }

    update();
  }
View Full Code Here

Examples of com.alvazan.test.db.Activity

    other.clearDatabase(true);
  }

  @Test
  public void testReturnsNullIfNotFound() {
    Activity act = mgr.find(Activity.class, "somekey");
    //not found returns null...
    Assert.assertNull(act);
   
    Activity act1 = new Activity("act1");
    act1.setName("dean");
    act1.setNumTimes(3);
    mgr.put(act1);
   
    mgr.flush();
   
    List<String> keyList = new ArrayList<String>();
    keyList.add(act1.getId());
    keyList.add("notexist");
    List<KeyValue<Activity>> results = mgr.findAllList(Activity.class, keyList);
    Assert.assertEquals(act1.getId(), results.get(0).getValue().getId());
    Assert.assertEquals(act1.getName(), results.get(0).getValue().getName());
   
    Assert.assertEquals("notexist", results.get(1).getKey());
    Assert.assertNull(results.get(1).getValue());
  }
View Full Code Here

Examples of com.amazonaws.services.simpleworkflow.flow.annotations.Activity

            }
            for (Method method : interfaze.getMethods()) {
                if (!method.getDeclaringClass().equals(interfaze)) {
                    continue;
                }
                Activity activityAnnotation = method.getAnnotation(Activity.class);
                ActivityType activityType = getActivityType(interfaceName, method, activityAnnotation, parentOptions);
                ActivityRegistrationOptions registrationOptionsAnnotation = method.getAnnotation(ActivityRegistrationOptions.class);
                SkipTypeRegistration skipTypeRegistrationAnnotation = interfaze.getAnnotation(SkipTypeRegistration.class);
                ActivityTypeRegistrationOptions registrationOptions = null;
                if (skipTypeRegistrationAnnotation != null) {
View Full Code Here

Examples of com.android.ide.common.xml.ManifestData.Activity

                // get the exported flag.
                String exportedStr = getAttributeValue(attributes,
                        AndroidManifest.ATTRIBUTE_EXPORTED, true);
                boolean exported = exportedStr == null ||
                        exportedStr.toLowerCase(Locale.US).equals("true"); //$NON-NLS-1$
                mCurrentActivity = new Activity(activityName, exported);
                mManifestData.mActivities.add(mCurrentActivity);

                if (mErrorHandler != null) {
                    mErrorHandler.checkClass(mLocator, activityName, SdkConstants.CLASS_ACTIVITY,
                            true /* testVisibility */);
 
View Full Code Here

Examples of com.cosmo.security.Activity

   /**
    * Lee una actividad desde una consulta (ResultSet) que contenga todos los campos de ACTIVITIES.
    */
   private Activity readActivity(ResultSet rs) throws Exception
   {
      Activity activity = new Activity();

      try
      {
         activity.setId(rs.getString("actid"));
         activity.setDescription(rs.getString("actdescription"));
         activity.setGrantedByDefault(rs.getBoolean("actdefaultgrant"));
         activity.setEnabled(rs.getBoolean("actenabled"));
      }
      catch (Exception ex)
      {
         throw ex;
      }
View Full Code Here

Examples of com.expositds.ars.domain.order.Activity

  }

  @SuppressWarnings("deprecation")
  @Override
  public Activity convertFrom(ActivityEntity source, Activity destination) {
    Activity result = null;
    ActivityEntity tmp = null;

    if (source != null) {
      tmp = HibernateHelper.initializeAndUnproxy(source);
    }   
View Full Code Here

Examples of com.gitblit.models.Activity

              cal.setTime(date);
              cal.set(Calendar.HOUR_OF_DAY, 0);
              cal.set(Calendar.MINUTE, 0);
              cal.set(Calendar.SECOND, 0);
              cal.set(Calendar.MILLISECOND, 0);
              Activity a = new Activity(cal.getTime());
              a.excludeAuthors(authorExclusions);
              activity.put(dateStr, a);
            }
            activity.get(dateStr).addCommit(commit);
          }
        }
View Full Code Here

Examples of com.google.api.ads.dfp.axis.v201302.Activity

    // Get the ActivityService.
    ActivityServiceInterface activityService =
        dfpServices.get(session, ActivityServiceInterface.class);

    // Get the activity.
    Activity activity = activityService.getActivity(activityId);

    // Update the expected URL.
    activity.setExpectedURL("http://google.com");

    // Update the activity on the server.
    Activity[] activities = activityService.updateActivities(new Activity[] {activity});

    for (Activity updatedActivity : activities) {
View Full Code Here

Examples of com.google.api.ads.dfp.axis.v201306.Activity

    // Get the ActivityService.
    ActivityServiceInterface activityService =
        dfpServices.get(session, ActivityServiceInterface.class);

    // Get the activity.
    Activity activity = activityService.getActivity(activityId);

    // Update the expected URL.
    activity.setExpectedURL("http://google.com");

    // Update the activity on the server.
    Activity[] activities = activityService.updateActivities(new Activity[] {activity});

    for (Activity updatedActivity : activities) {
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.