Class EntityDefaultTplPlugin

java.lang.Object
fr.becpg.repo.entity.impl.EntityDefaultTplPlugin
All Implemented Interfaces:
EntityTplPlugin

@Service public class EntityDefaultTplPlugin extends Object implements EntityTplPlugin

EntityDefaultTplPlugin class.

Version:
$Id: $Id
Author:
matthieu
  • Constructor Details

    • EntityDefaultTplPlugin

      public EntityDefaultTplPlugin()
  • Method Details

    • beforeSynchronizeEntity

      public void beforeSynchronizeEntity(org.alfresco.service.cmr.repository.NodeRef projectNodeRef, org.alfresco.service.cmr.repository.NodeRef entityTplNodeRef)

      beforeSynchronizeEntity.

      Specified by:
      beforeSynchronizeEntity in interface EntityTplPlugin
      Parameters:
      projectNodeRef - a NodeRef object.
      entityTplNodeRef - a NodeRef object.
    • synchronizeEntity

      public void synchronizeEntity(org.alfresco.service.cmr.repository.NodeRef entityNodeRef, org.alfresco.service.cmr.repository.NodeRef entityTplNodeRef)

      synchronizeEntity.

      Specified by:
      synchronizeEntity in interface EntityTplPlugin
      Parameters:
      entityNodeRef - a NodeRef object.
      entityTplNodeRef - a NodeRef object.
    • shouldSynchronizeDataList

      public boolean shouldSynchronizeDataList(RepositoryEntity entity, org.alfresco.service.namespace.QName dataListQName)

      shouldSynchronizeDataList.

      Specified by:
      shouldSynchronizeDataList in interface EntityTplPlugin
      Parameters:
      entity - a RepositoryEntity object.
      dataListQName - a QName object.
      Returns:
      a boolean.
    • synchronizeDataList

      public <T extends RepositoryEntity> void synchronizeDataList(RepositoryEntity entity, List<T> dataListItems, List<T> tplDataListItems)

      synchronizeDataList.

      Specified by:
      synchronizeDataList in interface EntityTplPlugin
      Type Parameters:
      T - a T class
      Parameters:
      entity - a RepositoryEntity object.
      dataListItems - a List object.
      tplDataListItems - a List object.