Class WSFolder

java.lang.Object
com.logicaldoc.webservice.model.WSFolder
All Implemented Interfaces:
Serializable

public class WSFolder extends Object implements Serializable
Web Service Folder. Useful class to create repository Folders.
Since:
5.2
Author:
Matteo Caruso - LogicalDOC
See Also:
  • Constructor Details

    • WSFolder

      public WSFolder()
  • Method Details

    • addAttribute

      public void addAttribute(WSAttribute att)
    • addTag

      public void addTag(String tag)
    • listAttributeNames

      public Collection<String> listAttributeNames()
    • attribute

      public WSAttribute attribute(String name)
    • fromFolder

      public static WSFolder fromFolder(Folder folder)
    • fromFolder

      public static WSFolder fromFolder(Folder folder, boolean withCollections)
    • updateAttributes

      public void updateAttributes(Folder folder) throws PersistenceException
      Throws:
      PersistenceException
    • getId

      public long getId()
    • setId

      public void setId(long id)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getParentId

      public long getParentId()
    • setParentId

      public void setParentId(long parentId)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getLastModified

      public String getLastModified()
    • setLastModified

      public void setLastModified(String lastModified)
    • getType

      public int getType()
    • setType

      public void setType(int type)
    • getTemplateId

      public Long getTemplateId()
    • setTemplateId

      public void setTemplateId(Long templateId)
    • getAttributes

      public WSAttribute[] getAttributes()
    • setAttributes

      public void setAttributes(WSAttribute[] attributes)
    • getCreation

      public String getCreation()
    • setCreation

      public void setCreation(String creation)
    • getCreator

      public String getCreator()
    • setCreator

      public void setCreator(String creator)
    • getPosition

      public int getPosition()
    • setPosition

      public void setPosition(int position)
    • getTemplateLocked

      public int getTemplateLocked()
    • setTemplateLocked

      public void setTemplateLocked(int templateLocked)
    • getHidden

      public int getHidden()
    • setHidden

      public void setHidden(int hidden)
    • getFoldRef

      public Long getFoldRef()
    • getSecurityRef

      public Long getSecurityRef()
    • setSecurityRef

      public void setSecurityRef(Long securityRef)
    • setFoldRef

      public void setFoldRef(Long foldRef)
    • getStorage

      public Integer getStorage()
    • setStorage

      public void setStorage(Integer storage)
    • getTags

      public String[] getTags()
    • setTags

      public void setTags(String[] tags)
    • getOcrTemplateId

      public Long getOcrTemplateId()
    • setOcrTemplateId

      public void setOcrTemplateId(Long ocrTemplateId)
    • getBarcodeTemplateId

      public Long getBarcodeTemplateId()
    • setBarcodeTemplateId

      public void setBarcodeTemplateId(Long barcodeTemplateId)
    • getMaxVersions

      public Integer getMaxVersions()
    • setMaxVersions

      public void setMaxVersions(Integer maxVersions)
    • getColor

      public String getColor()
    • setColor

      public void setColor(String color)
    • getTile

      public String getTile()
    • setTile

      public void setTile(String tile)