com.ibm.jarm.api.core

Class RMFactory.DispositionSchedule

  • java.lang.Object
    • com.ibm.jarm.api.core.RMFactory.DispositionSchedule
  • Enclosing class:
    RMFactory


    public static class RMFactory.DispositionSchedule
    extends java.lang.Object
    Factory for DispositionSchedule instances.
    • Method Detail

      • getInstance

        public static DispositionSchedule getInstance(FilePlanRepository fpRepository,
                                      java.lang.String dispScheduleId)
        Constructs a placeholder instance of the specified DispositionSchedule object.
        Parameters:
        fpRepository - the FilePlanRepository that the disposition schedule is associated with. This entry cannot be null.
        dispScheduleId - the ID String of the desired disposition schedule. This entry cannot be null or blank.
        Returns:
        A DispositionSchedule instance.
      • createInstance

        public static DispositionSchedule createInstance(FilePlanRepository fpRepository,
                                         java.lang.String idStr)
        Creates a DispositionSchedule instance that is associated with the given FilePlanRepository. This new instance can then be further defined using its RMProperties collection and persisted using its save method.

        This createInstance method version allows the caller to optionally specify an Id value to assign the the new instance.

        Parameters:
        fpRepository - the FilePlanRepository to associate the new instance with (and eventually persist to). This entry cannot be null.
        idStr - a String Id value to be assigned to the new instance. This parameter can be null in which case an Id value will be automatically generated for the new instance.
        Returns:
        A new DispositionSchedule instance.

© Copyright IBM Corp. 2010, 2013. All Rights Reserved.