scheduleForPublication(articleId, scheduledDate)
メジャーバージョンとして記事の公開をスケジュールします。指定された日付が null の場合、記事は即時に公開されます。
署名
public static Void scheduleForPublication(String articleId, Datetime scheduledDate)
パラメーター
- articleId
- 型: String
- scheduledDate
- 型: Datetime
戻り値
型: Void
例
1String articleId = 'Insert article ID';
2Datetime scheduledDate = Datetime.newInstanceGmt(2012, 12,1,13,30,0);
3KbManagement.PublishingService.scheduleForPublication(articleId, scheduledDate);