Class GlobalRetentionPolicy
- java.lang.Object
-
- com.atlassian.confluence.api.model.retention.GlobalRetentionPolicy
-
- All Implemented Interfaces:
RetentionPolicy
@ExperimentalApi public class GlobalRetentionPolicy extends Object implements RetentionPolicy
- Since:
- 7.12
-
-
Constructor Summary
Constructors Constructor Description GlobalRetentionPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
RetentionRule
getAttachmentRetentionRule()
String
getLastModifiedBy()
RetentionRule
getPageVersionRule()
boolean
getSpaceOverridesAllowed()
TrashRetentionRule
getTrashRetentionRule()
int
hashCode()
void
setAttachmentRetentionRule(RetentionRule attachmentRetentionRule)
void
setLastModifiedBy(String lastModifiedBy)
void
setPageRetentionRule(RetentionRule pageRetentionRule)
void
setSpaceOverridesAllowed(boolean spaceOverridesAllowed)
void
setTrashRetentionRule(TrashRetentionRule trashRetentionRule)
String
toString()
List<String>
validate()
-
-
-
Method Detail
-
getPageVersionRule
public RetentionRule getPageVersionRule()
- Specified by:
getPageVersionRule
in interfaceRetentionPolicy
-
setPageRetentionRule
public void setPageRetentionRule(RetentionRule pageRetentionRule)
-
getAttachmentRetentionRule
public RetentionRule getAttachmentRetentionRule()
- Specified by:
getAttachmentRetentionRule
in interfaceRetentionPolicy
-
setTrashRetentionRule
public void setTrashRetentionRule(TrashRetentionRule trashRetentionRule)
-
getTrashRetentionRule
public TrashRetentionRule getTrashRetentionRule()
- Specified by:
getTrashRetentionRule
in interfaceRetentionPolicy
-
setAttachmentRetentionRule
public void setAttachmentRetentionRule(RetentionRule attachmentRetentionRule)
-
getSpaceOverridesAllowed
public boolean getSpaceOverridesAllowed()
-
setSpaceOverridesAllowed
public void setSpaceOverridesAllowed(boolean spaceOverridesAllowed)
-
getLastModifiedBy
public String getLastModifiedBy()
-
setLastModifiedBy
public void setLastModifiedBy(String lastModifiedBy)
-
validate
public List<String> validate()
- Specified by:
validate
in interfaceRetentionPolicy
-
-