Purges replication-based and message-based synchronization (RBS and MBS) subscriptions at the package level using the number of inactive days. The purge can be done synchronously or asynchronously.
void purgeSubscription(SubscriptionPurgeOptionVO purgeOption, Boolean synchronous) throws SUPAdminException;
If successful, purges RBS and MBS subscriptions based on the number of inactive days specified. If unsuccessful, returns SUPAdminException.
SubscriptionPurgeOptionVO purgeOption = new SubscriptionPurgeOptionVO(); purgeOption.setDaysInactive(10); suppkg.purgeSubscription(purgeOption, false);