Class ProjectResourceRecord

    • Constructor Detail

      • ProjectResourceRecord

        public ProjectResourceRecord()
    • Method Detail

      • getMeta

        public RecordMeta<ProjectResourceRecord> getMeta()
        Description copied from class: SRecordInstance
        This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance. It is normally defined as:-

         SRecord getMeta() {
           return meta;

        The actual meta variable is thus not Serialized, but it would not be anyway as it is usually static.

        Specified by:
        getMeta in class PersistentRecord
      • getId

        public long getId()
      • getProjectId

        public long getProjectId()
      • getName

        public java.lang.String getName()
      • getDocumentation

        public java.lang.String getDocumentation()
      • getLastEdit

        public java.lang.Long getLastEdit()
      • getModuleId

        public java.lang.String getModuleId()
      • getModuleVersion

        public Version getModuleVersion()
      • getResourceType

        public java.lang.String getResourceType()
      • getSerializationVersion

        public int getSerializationVersion()
      • getApplicationScope

        public int getApplicationScope()
      • isProtected

        public boolean isProtected()
      • getParentUuid

        public java.util.UUID getParentUuid()
      • getDeleted

        public boolean getDeleted()
      • isPublished

        public boolean isPublished()
      • isStaging

        public boolean isStaging()
      • isLocked

        public boolean isLocked()
      • getData

        public byte[] getData()
      • deleteRecord

        public void deleteRecord()
        Don't call this! Use the other overload instead.
        deleteRecord in class SRecordInstance
      • reallyDelete

        public void reallyDelete()
        Simply calls super.deleteRecord(); Used in the publishing system
      • markDeleted

        public void markDeleted​(long editCount)
        Overridden to toggle deleted flag instead of truly deleting the record