Package com.logicaldoc.syndication
Class Syndication
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.syndication.Syndication
- All Implemented Interfaces:
Serializable
@Entity
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:
-
Field Summary
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbooleanlonggetBatch()longgetName()longintgetUrl()inthashCode()booleanCheck if the specified filename is allowed or not.booleanbooleanvoidvoidsetApiKeyDecoded(String apiKey) voidsetBatch(long batch) voidsetEnabled(boolean enabled) voidsetExcludes(String excludes) voidsetIncludes(String includes) voidsetMaxPacketSize(long maxPacketSize) voidvoidsetPassword(String password) voidsetPasswordDecoded(String password) voidsetReplicateCustomId(boolean replicateCustomId) voidsetSourceFolderId(long sourceFolderId) voidsetStartDate(Date startDate) voidsetTargetPath(String targetPath) voidsetTimeout(int timeout) voidvoidsetUsername(String username) toString()Methods inherited from class com.logicaldoc.core.PersistentObject
getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId
-
Constructor Details
-
Syndication
public Syndication()
-
-
Method Details
-
getApiKey
-
setApiKey
-
getStartDate
-
setStartDate
-
getUrl
-
setUrl
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
getPasswordDecoded
-
setPasswordDecoded
-
setApiKeyDecoded
-
getApiKeyDecoded
-
getName
-
setName
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getSourceFolderId
public long getSourceFolderId() -
setSourceFolderId
public void setSourceFolderId(long sourceFolderId) -
getTargetPath
-
setTargetPath
-
getIncludes
-
setIncludes
-
getExcludes
-
setExcludes
-
getMaxPacketSize
public long getMaxPacketSize() -
setMaxPacketSize
public void setMaxPacketSize(long maxPacketSize) -
decrypt
-
toString
- Overrides:
toStringin classcom.logicaldoc.core.PersistentObject
-
getBatch
public long getBatch() -
setBatch
public void setBatch(long batch) -
isAllowed
Check if the specified filename is allowed or not.- Parameters:
filename- The filename to check- Returns:
- True if
filenamematches theincludesand not theexcludes
-
isReplicateCustomId
public boolean isReplicateCustomId() -
setReplicateCustomId
public void setReplicateCustomId(boolean replicateCustomId) -
getTimeout
public int getTimeout() -
setTimeout
public void setTimeout(int timeout) -
hashCode
public int hashCode()- Overrides:
hashCodein classcom.logicaldoc.core.PersistentObject
-
equals
- Overrides:
equalsin classcom.logicaldoc.core.PersistentObject
-