Class SimpleThumbnailer

    • Constructor Detail

      • SimpleThumbnailer

        public SimpleThumbnailer()
        Deprecated.
    • Method Detail

      • setPolicyComponent

        public void setPolicyComponent​(PolicyComponent policyComponent)
        Deprecated.
        Sets the policy component.
        Parameters:
        policyComponent - used for registrations
      • setNodeService

        public void setNodeService​(org.alfresco.service.cmr.repository.NodeService nodeService)
        Deprecated.
        Sets the node service.
        Parameters:
        nodeService - the node service
      • setTransactionService

        public void setTransactionService​(TransactionService transactionService)
        Deprecated.
        Sets the transaction service.
        Parameters:
        transactionService - the transaction service
      • setThumbnailService

        public void setThumbnailService​(ThumbnailService thumbnailService)
        Deprecated.
        Sets the thumbnail service.
        Parameters:
        thumbnailService - the thumbnail service
      • afterPropertiesSet

        public void afterPropertiesSet()
        Deprecated.
        Registers the policy behaviour methods.
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • onContentUpdate

        public void onContentUpdate​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                    boolean newContent)
        Deprecated.
        When content changes, thumbnails are (re)generated.
        Specified by:
        onContentUpdate in interface ContentServicePolicies.OnContentUpdatePolicy
        Parameters:
        nodeRef - the node ref
        newContent - is the content new?
      • afterCommit

        public void afterCommit()
        Deprecated.
        Description copied from class: TransactionListenerAdapter
        Invoked after transaction commit.

        Any exceptions generated here will only be logged and will have no effect on the state of the transaction.

        Although all transaction resources are still available, this method should be used only for cleaning up resources after a commit has occured.

        Specified by:
        afterCommit in interface TransactionListener
        Specified by:
        afterCommit in interface org.alfresco.util.transaction.TransactionListener
        Overrides:
        afterCommit in class TransactionListenerAdapter