Class Syndication

java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.syndication.Syndication
All Implemented Interfaces:
Serializable

public class Syndication extends com.logicaldoc.core.PersistentObject
A remote LogicalDOC system to syndicate to
Since:
8.1.2
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Constructor Details

    • Syndication

      public Syndication()
  • Method Details

    • getApiKey

      public String getApiKey()
    • setApiKey

      public void setApiKey(String apiKey)
    • getStartDate

      public Date getStartDate()
    • setStartDate

      public void setStartDate(Date startDate)
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getPasswordDecoded

      public String getPasswordDecoded()
    • setPasswordDecoded

      public void setPasswordDecoded(String password)
    • setApiKeyDecoded

      public void setApiKeyDecoded(String apiKey)
    • getApiKeyDecoded

      public String getApiKeyDecoded()
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getEnabled

      public int getEnabled()
    • setEnabled

      public void setEnabled(int enabled)
    • getSourceFolderId

      public long getSourceFolderId()
    • setSourceFolderId

      public void setSourceFolderId(long sourceFolderId)
    • getTargetPath

      public String getTargetPath()
    • setTargetPath

      public void setTargetPath(String targetPath)
    • getIncludes

      public String getIncludes()
    • setIncludes

      public void setIncludes(String includes)
    • getExcludes

      public String getExcludes()
    • setExcludes

      public void setExcludes(String excludes)
    • getMaxPacketSize

      public long getMaxPacketSize()
    • setMaxPacketSize

      public void setMaxPacketSize(long maxPacketSize)
    • decrypt

      public static String decrypt(String encryptedText)
    • toString

      public String toString()
      Overrides:
      toString in class com.logicaldoc.core.PersistentObject
    • getBatch

      public long getBatch()
    • setBatch

      public void setBatch(long batch)
    • isAllowed

      public boolean isAllowed(String filename)
      Check if the specified filename is allowed or not.
      Parameters:
      filename - The filename to check
      Returns:
      True if filename matches the includes and not the excludes
    • getReplicateCustomId

      public int getReplicateCustomId()
    • setReplicateCustomId

      public void setReplicateCustomId(int replicateCustomId)
    • getTimeout

      public int getTimeout()
    • setTimeout

      public void setTimeout(int timeout)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.logicaldoc.core.PersistentObject
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class com.logicaldoc.core.PersistentObject