Class DocumentShortcut

java.lang.Object
com.liferay.headless.delivery.dto.v1_0.DocumentShortcut
All Implemented Interfaces:
Serializable

@Generated("") public class DocumentShortcut extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • actions

      protected Map<String,Map<String,String>> actions
    • assetLibraryKey

      protected String assetLibraryKey
    • dateCreated

      protected Date dateCreated
    • dateModified

      protected Date dateModified
    • externalReferenceCode

      protected String externalReferenceCode
    • folderId

      protected Long folderId
    • id

      protected Long id
    • siteId

      protected Long siteId
    • targetDocumentId

      protected Long targetDocumentId
    • title

      protected String title
    • viewableBy

      protected DocumentShortcut.ViewableBy viewableBy
    • xClassName

      public String xClassName
  • Constructor Details

    • DocumentShortcut

      public DocumentShortcut()
  • Method Details

    • toDTO

      public static DocumentShortcut toDTO(String json)
    • unsafeToDTO

      public static DocumentShortcut unsafeToDTO(String json)
    • getActions

      @Valid public @Valid Map<String,Map<String,String>> getActions()
    • setActions

      public void setActions(Map<String,Map<String,String>> actions)
    • setActions

      public void setActions(com.liferay.petra.function.UnsafeSupplier<Map<String,Map<String,String>>,Exception> actionsUnsafeSupplier)
    • getAssetLibraryKey

      public String getAssetLibraryKey()
    • setAssetLibraryKey

      public void setAssetLibraryKey(String assetLibraryKey)
    • setAssetLibraryKey

      public void setAssetLibraryKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> assetLibraryKeyUnsafeSupplier)
    • getDateCreated

      public Date getDateCreated()
    • setDateCreated

      public void setDateCreated(Date dateCreated)
    • setDateCreated

      public void setDateCreated(com.liferay.petra.function.UnsafeSupplier<Date,Exception> dateCreatedUnsafeSupplier)
    • getDateModified

      public Date getDateModified()
    • setDateModified

      public void setDateModified(Date dateModified)
    • setDateModified

      public void setDateModified(com.liferay.petra.function.UnsafeSupplier<Date,Exception> dateModifiedUnsafeSupplier)
    • getExternalReferenceCode

      public String getExternalReferenceCode()
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
    • setExternalReferenceCode

      public void setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> externalReferenceCodeUnsafeSupplier)
    • getFolderId

      public Long getFolderId()
    • setFolderId

      public void setFolderId(Long folderId)
    • setFolderId

      public void setFolderId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> folderIdUnsafeSupplier)
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • setId

      public void setId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> idUnsafeSupplier)
    • getSiteId

      public Long getSiteId()
    • setSiteId

      public void setSiteId(Long siteId)
    • setSiteId

      public void setSiteId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> siteIdUnsafeSupplier)
    • getTargetDocumentId

      public Long getTargetDocumentId()
    • setTargetDocumentId

      public void setTargetDocumentId(Long targetDocumentId)
    • setTargetDocumentId

      public void setTargetDocumentId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> targetDocumentIdUnsafeSupplier)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • setTitle

      public void setTitle(com.liferay.petra.function.UnsafeSupplier<String,Exception> titleUnsafeSupplier)
    • getViewableBy

      @Valid public @Valid DocumentShortcut.ViewableBy getViewableBy()
    • getViewableByAsString

      public String getViewableByAsString()
    • setViewableBy

      public void setViewableBy(DocumentShortcut.ViewableBy viewableBy)
    • setViewableBy

      public void setViewableBy(com.liferay.petra.function.UnsafeSupplier<DocumentShortcut.ViewableBy,Exception> viewableByUnsafeSupplier)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object