Class FileServerFile
java.lang.Object
net.datenwerke.treedb.service.treedb.AbstractNode<AbstractFileServerNode>
net.datenwerke.security.service.treedb.entities.SecuredAbstractNode<AbstractFileServerNode>
net.datenwerke.rs.fileserver.service.fileserver.entities.AbstractFileServerNode
net.datenwerke.rs.fileserver.service.fileserver.entities.FileServerFile
- All Implemented Interfaces:
Serializable,HierarchicalSecurityTarget,Owneable,SecurityTarget
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Indexed
@GenerateDto(dtoPackage="net.datenwerke.rs.fileserver.client.fileserver.dto",
createDecorator=true,
poso2DtoPostProcessors=File2DtoPostProcessor.class,
typeDescriptionMsg=FileServerMessages.class,
typeDescriptionKey="file",
additionalFields=)
public class FileServerFile
extends AbstractFileServerNode
- See Also:
-
Field Summary
Fields inherited from class net.datenwerke.treedb.service.treedb.AbstractNode
FLAG_CONFIGURATION_PROTECTION, FLAG_WRITE_PROTECTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()getKey()getName()longgetSize()booleanvoidsetContentType(String contentType) voidsetData(byte[] data) voidsetDescription(String description) voidvoidvoidsetParent(AbstractNode<AbstractFileServerNode> abstractNode) Should not be called.toString()Methods inherited from class net.datenwerke.rs.fileserver.service.fileserver.entities.AbstractFileServerNode
getNodeName, getRootNodeNameMethods inherited from class net.datenwerke.security.service.treedb.entities.SecuredAbstractNode
getAcl, getOwner, getParentTarget, setAcl, setOwnerMethods inherited from class net.datenwerke.treedb.service.treedb.AbstractNode
addChild, addChild, addFlag, clearFlags, equals, getBaseType, getChildren, getChildrenOfType, getChildrenSorted, getCreatedOn, getDeniedChildren, getDescendants, getDescendants, getFlags, getId, getIdOrOldTransient, getLastUpdated, getManagerClass, getOldTransientId, getOldTransientKey, getParent, getPosition, getRootLine, getSupportedChildren, getVersion, hasChildrenOfType, hasDescendantsOfType, hasFlag, hashCode, idsMatch, isAncestorOf, isConfigurationProtected, isFolder, isRoot, isUpdateLastUpdated, isWriteProtected, removeChild, removeFlag, setChildren, setConfigurationProtection, setCreatedOn, setFlags, setId, setLastUpdated, setOldTransientId, setOldTransientKey, setPosition, setUpdateLastUpdated, setVersion, setWriteProtection, wouldContainFlag
-
Constructor Details
-
FileServerFile
public FileServerFile()
-
-
Method Details
-
getName
- Specified by:
getNamein classAbstractFileServerNode
-
setName
- Specified by:
setNamein classAbstractFileServerNode
-
setParent
Description copied from class:AbstractNodeShould not be called. Always go for (root.addChild())- Overrides:
setParentin classAbstractNode<AbstractFileServerNode>
-
getKey
-
setKey
-
setDescription
-
getDescription
-
setData
public void setData(byte[] data) -
getData
public byte[] getData() -
setContentType
-
getContentType
-
getFileData
-
getSize
public long getSize() -
hasChildren
public boolean hasChildren()- Overrides:
hasChildrenin classAbstractNode<AbstractFileServerNode>
-
toString
- Overrides:
toStringin classAbstractNode<AbstractFileServerNode>
-