public class RetentionPolicyTag
extends java.lang.Object
| Constructor and Description |
|---|
RetentionPolicyTag()
Instantiates a new retention policy tag.
|
| Modifier and Type | Method and Description |
|---|---|
ContentSettings |
getContentSettings()
Gets the settings that control when items expire and the types of items that expire.
|
java.lang.String |
getDescription()
Gets brief description of the policy tag.
|
java.lang.String |
getDisplayName()
Gets name of the policy tag.
|
java.lang.String |
getId()
Gets unique identity of the policy.
|
java.lang.String |
getObjectGuid()
Gets unique identity for the object.
|
int |
getPeriod()
Gets the number of days after which an item SHOULD expire under this policy.
|
RetentionAction |
getRetentionAction()
Gets the retention action.
|
ElcFolderType |
getType()
Gets the type of policy tag.
|
boolean |
isArchive()
Checks if is archive.
|
boolean |
isDefaultArchive()
Checks if is default archive.
|
boolean |
isMustDisplayDescription()
Use this setting to determine whether the user can hide the retention comment.
|
boolean |
isOptedInto()
Indicates whether the user voluntarily chose this tag for the mailbox or whether it was applied to the mailbox by the server administrator.
|
boolean |
isVisible()
Use this setting to determine whether the policy tag is displayed in the list of tags available to the user.
|
void |
setArchive(boolean isArchive)
Sets the archive.
|
void |
setContentSettings(ContentSettings contentSettings)
Sets the settings that control when items expire and the types of items that expire.
|
void |
setDefaultArchive(boolean isDefaultArchive)
Sets the default archive.
|
void |
setDescription(java.lang.String description)
Sets brief description of the policy tag.
|
void |
setDisplayName(java.lang.String displayName)
Sets the policy tag name.
|
void |
setId(java.lang.String id)
Sets unique identity for the policy.
|
void |
setMustDisplayDescription(boolean mustDisplayDescription)
Use this setting to determine whether the user can hide the retention comment.
|
void |
setObjectGuid(java.lang.String objectGuid)
Sets unique identity for the object.
|
void |
setOptedInto(boolean optedInto)
Indicates whether the user voluntarily chose this tag for the mailbox or whether it was applied to the mailbox by the server administrator.
|
void |
setPeriod(int period)
Sets the number of days after which an item SHOULD expire under this policy.
|
void |
setRetentionAction(RetentionAction retentionAction)
Sets the retention action.
|
void |
setType(ElcFolderType type)
Sets the type of policy tag.
|
void |
setVisible(boolean isVisible)
Use this setting to determine whether the policy tag is displayed in the list of tags available to the user.
|
public RetentionPolicyTag()
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName - the new display namepublic java.lang.String getId()
public void setId(java.lang.String id)
id - the new idpublic int getPeriod()
public void setPeriod(int period)
period - the new periodpublic ElcFolderType getType()
public void setType(ElcFolderType type)
type - the new typepublic RetentionAction getRetentionAction()
public void setRetentionAction(RetentionAction retentionAction)
retentionAction - the new retention actionpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the new descriptionpublic boolean isVisible()
public void setVisible(boolean isVisible)
isVisible - the new visiblepublic boolean isArchive()
public void setArchive(boolean isArchive)
isArchive - the new archivepublic boolean isDefaultArchive()
public void setDefaultArchive(boolean isDefaultArchive)
isDefaultArchive - the new default archivepublic boolean isOptedInto()
public void setOptedInto(boolean optedInto)
optedInto - the new opted intopublic java.lang.String getObjectGuid()
public void setObjectGuid(java.lang.String objectGuid)
objectGuid - the new object guidpublic boolean isMustDisplayDescription()
public void setMustDisplayDescription(boolean mustDisplayDescription)
mustDisplayDescription - the new must display descriptionpublic ContentSettings getContentSettings()
public void setContentSettings(ContentSettings contentSettings)
contentSettings - the new content settings