public class Folder extends ExtensibleObject implements Comparable<Folder>
Folders have a type: 0 for standard folders, 1 for workspaces.
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULTWORKSPACE |
protected Set<FolderGroup> |
folderGroups |
static long |
ROOTID |
static int |
TYPE_DEFAULT |
static int |
TYPE_WORKSPACE |
Modifier and Type | Method and Description |
---|---|
void |
addFolderGroup(FolderGroup fg)
Adds a new element, substituting a precedin one with the same groupId.
|
void |
clearFolderGroups() |
int |
compareTo(Folder o) |
Date |
getCreation() |
String |
getCreator() |
Long |
getCreatorId() |
Long |
getDeleteUserId() |
String |
getDescription() |
FolderGroup |
getFolderGroup(long groupId) |
long[] |
getFolderGroupIds() |
Set<FolderGroup> |
getFolderGroups() |
long |
getId()
Unique identifier in the data store
|
String |
getName() |
long |
getParentId() |
Long |
getSecurityRef() |
DocumentTemplate |
getTemplate() |
int |
getTemplateLocked() |
int |
getType() |
void |
setCreation(Date creation) |
void |
setCreator(String creator) |
void |
setCreatorId(Long creatorId) |
void |
setDeleteUserId(Long deleteUserId) |
void |
setDescription(String description) |
void |
setFolderGroup(long[] groups)
Adds FolderGroup object given in a String array to the ArrayList of
FolderGroup.
|
void |
setFolderGroups(Set<FolderGroup> fgroup) |
void |
setId(long id) |
void |
setName(String name) |
void |
setParentId(long parentId) |
void |
setSecurityRef(Long securityRef) |
void |
setTemplate(DocumentTemplate template) |
void |
setTemplateLocked(int templateLocked) |
void |
setType(int type) |
getAttributeAtPosition, getAttributeNames, getAttributes, getExtendedAttribute, getValue, removeAttribute, setAttributes, setValue
equals, getDeleted, getLastModified, hashCode, setDeleted, setLastModified, toString
public static final long ROOTID
public static final long DEFAULTWORKSPACE
public static final int TYPE_DEFAULT
public static final int TYPE_WORKSPACE
protected Set<FolderGroup> folderGroups
public Folder(String name)
public Folder()
public long getId()
PersistentObject
getId
in class PersistentObject
public long getParentId()
public Set<FolderGroup> getFolderGroups()
public void clearFolderGroups()
public void setId(long id)
setId
in class PersistentObject
public void setParentId(long parentId)
public void setFolderGroups(Set<FolderGroup> fgroup)
public long[] getFolderGroupIds()
public void setFolderGroup(long[] groups)
groups
- array of group idspublic void addFolderGroup(FolderGroup fg)
public FolderGroup getFolderGroup(long groupId)
public int compareTo(Folder o)
compareTo
in interface Comparable<Folder>
public String getName()
public void setName(String name)
public Long getSecurityRef()
public void setSecurityRef(Long securityRef)
public String getDescription()
public void setDescription(String description)
public int getType()
public void setType(int type)
public Date getCreation()
public void setCreation(Date creation)
public String getCreator()
public void setCreator(String creator)
public Long getCreatorId()
public void setCreatorId(Long creatorId)
public DocumentTemplate getTemplate()
public void setTemplate(DocumentTemplate template)
public int getTemplateLocked()
public void setTemplateLocked(int templateLocked)
public Long getDeleteUserId()
public void setDeleteUserId(Long deleteUserId)
Copyright © 2008-2014 Logical Objects. All Rights Reserved.