简体   繁体   English

Oracle UCM-内容过期后UCM会做什么?

[英]Oracle UCM - What will UCM do when content expired?

Is there any service or job schedule that called every minute to execute expired content? 是否有任何服务或作业计划每分钟调用一次以执行过期的内容? I want to override that service. 我想覆盖该服务。

Any answer would be appreciated. 任何答案将不胜感激。 Thanks 谢谢

I am guessing you somehow would like to prevent the expiration of certain content items. 我猜您会以某种方式防止某些内容项过期。 There is a service, EXPIRE_UNEXPIRE_DOC_BY_NAME, used to expire (and unexpire) content (I am not sure if this service is always used): 有一项服务EXPIRE_UNEXPIRE_DOC_BY_NAME,用于使内容过期(和取消过期)(我不确定是否始终使用此服务):

This service is used to expire or unexpire documents in the Content Server.
@param dDocName The document to expire or unexpire.
@param action Should be set to 'expire' or 'unexpire'.

You could hook into the above service and override its functionality. 您可以加入上述服务并覆盖其功能。

The following service lists expiring and expired items. 以下服务列出了过期和过期的项目。 GET_EXPIRED : GET_EXPIRED

The optional isExpiredQuery parameter, when set to true, causes the service to list only items that have already expired.

Without this parameter, the list also contains items that are scheduled to expire within the range of dates specified by endDate and startDate. This may include items that have already expired if the start date is earlier than the current system time.

There is also a ScheduledEvent, EnableExpirationNotifier , which will send an email listing content items which are about to expire. 还有一个ScheduledEvent EnableExpirationNotifier ,它将发送一封电子邮件,列出即将到期的内容项。 You could hook into this event and do something with the items it returns. 您可以加入该事件并对返回的项目进行处理。

thanks for answering my question. 谢谢回答我的问题。 I was thought EXPIRE_UNEXPIRE_DOC_BY_NAME is the only one service to expire the content. 我以为EXPIRE_UNEXPIRE_DOC_BY_NAME是唯一可以使内容过期的服务。 But this service only triggered when we click the button to force expire the content. 但是,只有在我们单击按钮以强制使内容过期时才触发此服务。 And I finally got my own question. 我终于有了自己的问题。 There is a job schedule which called every minute, also the javaMethod to expire the content. 有一个工作计划,它每分钟调用一次,也用javaMethod使内容过期。 The service is PROCESS_STATIC_RENDITION_JOBS in ziprenditionmanagement_service.htm. 该服务是ziprenditionmanagement_service.htm中的PROCESS_STATIC_RENDITION_JOBS。 Note that we can only edit this service directly, but cannot override the service outside this component. 请注意,我们只能直接编辑此服务,而不能覆盖此组件外部的服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM