public class Folder
extends java.lang.Object
| Constructor and Description |
|---|
Folder()
Initializes a new instance of the Folder class.
|
Folder(java.lang.String displayName)
Initializes a new instance of the Folder class.
|
Folder(java.lang.String displayName,
java.lang.String folderClass)
Initializes a new instance of the Folder class.
|
| Modifier and Type | Method and Description |
|---|---|
RetentionTag |
getArchiveTag()
Gets the archive tag.
|
int |
getChildFolderCount()
Gets the number of child folders that are contained within a folder.
|
java.lang.String |
getComment()
Gets a comment of the folder.
|
java.util.Date |
getCreationTime()
Gets the creation date and time of a folder.
|
java.lang.String |
getDisplayName()
Gets the display name of a folder.
|
EffectiveRights |
getEffectiveRights()
Gets the client's rights based on the permission settings for the item or folder.
|
java.lang.String |
getEntryId()
Gets a MAPI entry identifier of a folder.
|
ExtendedPropertyList |
getExtendedProperties()
Gets a list of a extended properties for folder.
|
java.lang.String |
getFolderClass()
Gets the folder class for a given folder.
|
FolderId |
getFolderId()
Gets the identifier and change key of a folder.
|
java.util.Date |
getLastModifiedTime()
Gets the date and time the folder was last modified.
|
ManagedFolderInformation |
getManagedFolderInformation()
Gets information about a managed folder.
|
FolderId |
getParentId()
Gets the identifier of the parent folder that contains the folder.
|
PermissionSet |
getPermissionSet()
Gets all the configured permissions for a folder.
|
RetentionTag |
getRetentionTag()
Gets the retention tag.
|
java.lang.String |
getSearchKey()
Gets a key that identifies objects for a search.
|
long |
getSize()
Gets the sizes of specified folders.
|
StandardFolder |
getStandardFolder()
Represents the StandardFolder type.
|
int |
getTotalCount()
Gets the total count of items within a given folder.
|
int |
getUnreadCount()
Gets the count of unread items within a given folder.
|
boolean |
hasSubFolders()
Gets TRUE if folder contains subfolders.
|
boolean |
isHidden()
Gets TRUE if folder is hidden.
|
boolean |
isReadOnly()
Gets TRUE if folder is read only.
|
boolean |
isSystem()
Gets TRUE if folder is system.
|
void |
setComment(java.lang.String comment)
Sets a comment of the folder.
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name of a folder.
|
void |
setFolderClass(java.lang.String folderClass)
Sets the folder class for a given folder.
|
void |
setIsHidden(boolean isHidden)
Sets TRUE if folder is hidden.
|
void |
setPermissionSet(PermissionSet permissionSet)
Sets all the configured permissions for a folder.
|
java.lang.String |
toString()
Converts the value of the current Folder object to its equivalent string representation.
|
public Folder()
public Folder(java.lang.String displayName)
displayName - the display namepublic Folder(java.lang.String displayName,
java.lang.String folderClass)
displayName - the display namefolderClass - the folder classpublic java.lang.String toString()
toString in class java.lang.Objectpublic FolderId getFolderId()
public FolderId getParentId()
public java.lang.String getFolderClass()
public void setFolderClass(java.lang.String folderClass)
folderClass - the new folder classpublic java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName - the new display namepublic ManagedFolderInformation getManagedFolderInformation()
public EffectiveRights getEffectiveRights()
public PermissionSet getPermissionSet()
public void setPermissionSet(PermissionSet permissionSet)
permissionSet - the new permission setpublic StandardFolder getStandardFolder()
public RetentionTag getRetentionTag()
public RetentionTag getArchiveTag()
public int getTotalCount()
public int getChildFolderCount()
public int getUnreadCount()
public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment - the new commentpublic java.lang.String getEntryId()
public java.util.Date getCreationTime()
public java.util.Date getLastModifiedTime()
public long getSize()
public boolean isHidden()
public void setIsHidden(boolean isHidden)
isHidden - the new checks if is hiddenpublic boolean isReadOnly()
public boolean isSystem()
public boolean hasSubFolders()
public java.lang.String getSearchKey()
public ExtendedPropertyList getExtendedProperties()