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

    • 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)
    • 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)
    • decryptPassword

      public static String decryptPassword(String password)
    • 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)