Module platform

Class FileObjectItem

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, SharedObjectProvider, RegistryContext, UserFields, XObject, Described, Map, Serializable
Direct Known Subclasses:
ProjectFileObjectItem

public class FileObjectItem extends LazyObjectItem
See Also:
  • Field Details

  • Constructor Details

    • FileObjectItem

      protected FileObjectItem()
      set at protected so children classes do not set a baseobject on default creation
    • FileObjectItem

      public FileObjectItem(String systemId, MimeType mimeType, Object object, String type)
    • FileObjectItem

      public FileObjectItem(FileSource fs, Object object, String type)
  • Method Details

    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class LazyObjectItem
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class LazyObjectItem
      Returns:
      new instance of class of this node
    • getMimeType

      public MimeType getMimeType()
    • createFileSource

      public FileSource createFileSource()
    • activateImpl

      protected void activateImpl()
      Overrides:
      activateImpl in class Item
    • hasNullValue

      protected boolean hasNullValue()
      Overrides:
      hasNullValue in class LazyObjectItem
    • fetchBaseObject

      protected Object fetchBaseObject()
      Overrides:
      fetchBaseObject in class LazyObjectItem
    • addRequiredFiles

      public void addRequiredFiles(Collection list)
      Overrides:
      addRequiredFiles in class Item
    • getDescriptionImpl

      protected Object getDescriptionImpl(String type)
      Overrides:
      getDescriptionImpl in class Item
    • delete

      public void delete()
      Overrides:
      delete in class Item