Class ProjectResourceRecord

All Implemented Interfaces:
Serializable

public class ProjectResourceRecord extends PersistentRecord
See Also:
  • Field Details

  • Constructor Details

    • ProjectResourceRecord

      public ProjectResourceRecord()
  • Method Details

    • 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 String getName()
    • getDocumentation

      public String getDocumentation()
    • getLastEdit

      public Long getLastEdit()
    • getModuleId

      public String getModuleId()
    • getModuleVersion

      public Version getModuleVersion()
    • getResourceType

      public String getResourceType()
    • getSerializationVersion

      public int getSerializationVersion()
    • getApplicationScope

      public int getApplicationScope()
    • isProtected

      public boolean isProtected()
    • getParentUuid

      public UUID getParentUuid()
    • getDeleted

      public boolean getDeleted()
    • isPublished

      public boolean isPublished()
    • isStaging

      public boolean isStaging()
    • isLocked

      public boolean isLocked()
    • getData

      public byte[] getData()
    • setAllProps

      public void setAllProps(ProjectResource resource)
    • cloneFrom

      public void cloneFrom(ProjectResourceRecord publishedRecord)
    • deleteRecord

      @Deprecated public void deleteRecord()
      Deprecated.
      Don't call this! Use the other overload instead.
      Overrides:
      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