Class MetaInformationManagerEJB

java.lang.Object
de.hybris.platform.persistence.ManagerEJB
de.hybris.platform.persistence.meta.MetaInformationManagerEJB

public class MetaInformationManagerEJB extends ManagerEJB
  • Constructor Details

    • MetaInformationManagerEJB

      public MetaInformationManagerEJB()
  • Method Details

    • getPropertyNames

      public Set getPropertyNames()
    • setProperty

      public Object setProperty(String name, Object value)
    • getProperty

      public Object getProperty(String name)
    • getPropertyRaw

      public Object getPropertyRaw(String name)
    • removeProperty

      public Object removeProperty(String name)
    • setSystemInitUpdateTimestamp

      public void setSystemInitUpdateTimestamp(long timestamp)
    • resetSystemPK

      public void resetSystemPK()
    • getSystemInitUpdateTimestamp

      public long getSystemInitUpdateTimestamp()
      Reads tenant restart marker from a database which denotes time when the system was initialized. The value only changes during system init. The value was also modified during system update in the past, but this is no longer the case. We want to minimize disruptions to system nodes during update and we rely on nodes restart to catch up with typesystem changes. Current implementation effectively makes cache_metainfo.system.initupdate.ts obsolete
      Returns:
      timestamp when system was initialized (tenant restart marker)
    • getSystemName

      public String getSystemName()
    • getSystemPK

      public String getSystemPK()
    • removeItem

      public void removeItem(ItemRemote item) throws ConsistencyCheckException
      Description copied from class: ManagerEJB
      Removes an Item which is not stageable. The following tasks are done by this method:
      1. Check if item is stageable; if it is, throw exception (we can
      2. call ManagerEJB.prepareItemRemove(ItemRemote)
      3. Depending on the given stagingMethod do:
        Productive Stage
      4. Remove staged copy (item.getStagedCopy()) of item, if it exist
      5. call NotifyManager.notifyItemRemove( item )
      6. Remove the entity
      7. Remove staged copy (item.getStagedCopy()) of item, if it exist
      8. Mark item as removed (item.setRemoved(true)
      Overrides:
      removeItem in class ManagerEJB
      Throws:
      ConsistencyCheckException
      See Also: