Class WopiFileWrapper

java.lang.Object
org.silverpeas.core.wbe.WbeFile
org.silverpeas.core.webapi.wbe.WbeFileWrapper
org.silverpeas.wbe.wopi.WopiFileWrapper
All Implemented Interfaces:
org.silverpeas.core.security.Securable

public class WopiFileWrapper extends org.silverpeas.core.webapi.wbe.WbeFileWrapper
This WRAPPER is used by WOPI host and gives the possibility to add functionality contextualized to a WopiFile.
Author:
silveryocha
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the last modification date with second precision.

    Methods inherited from class org.silverpeas.core.webapi.wbe.WbeFileWrapper

    canBeAccessedBy, canBeDeletedBy, canBeModifiedBy, ext, id, linkedToResource, loadInto, lock, mimeType, name, owner, silverpeasId, size, toString, updateFrom, version

    Methods inherited from class org.silverpeas.core.wbe.WbeFile

    getLastEditionDate, setLastEditionDateAtNow

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.silverpeas.core.security.Securable

    canBeFiledInBy
  • Method Details

    • lastModificationDate

      public OffsetDateTime lastModificationDate()
      Gets the last modification date with second precision.
      Overrides:
      lastModificationDate in class org.silverpeas.core.webapi.wbe.WbeFileWrapper
      Returns:
      an OffsetDateTime with cleared milliseconds.