Class SpaceRetentionPolicy
- java.lang.Object
-
- com.atlassian.confluence.api.model.retention.SpaceRetentionPolicy
-
- All Implemented Interfaces:
RetentionPolicy
@ExperimentalApi public class SpaceRetentionPolicy extends Object implements RetentionPolicy
- Since:
- 7.12
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SpaceRetentionPolicy.Builder
-
Constructor Summary
Constructors Constructor Description SpaceRetentionPolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SpaceRetentionPolicy.Builder
builder()
boolean
equals(Object o)
RetentionRule
getAttachmentRetentionRule()
String
getLastModifiedBy()
org.joda.time.DateTime
getLastModifiedDate()
RetentionRule
getPageVersionRule()
boolean
getSpaceAdminCanEdit()
TrashRetentionRule
getTrashRetentionRule()
int
hashCode()
void
setLastModifiedBy(String lastModifiedBy)
void
setLastModifiedDate(org.joda.time.DateTime lastModifiedDate)
void
setSpaceAdminCanEdit(boolean spaceAdminCanEdit)
void
setTrashRetentionRule(TrashRetentionRule trashRetentionRule)
String
toString()
List<String>
validate()
-
-
-
Method Detail
-
getPageVersionRule
public RetentionRule getPageVersionRule()
- Specified by:
getPageVersionRule
in interfaceRetentionPolicy
-
getAttachmentRetentionRule
public RetentionRule getAttachmentRetentionRule()
- Specified by:
getAttachmentRetentionRule
in interfaceRetentionPolicy
-
setTrashRetentionRule
public void setTrashRetentionRule(TrashRetentionRule trashRetentionRule)
-
getTrashRetentionRule
public TrashRetentionRule getTrashRetentionRule()
- Specified by:
getTrashRetentionRule
in interfaceRetentionPolicy
-
getLastModifiedBy
public String getLastModifiedBy()
-
setLastModifiedBy
public void setLastModifiedBy(String lastModifiedBy)
-
getLastModifiedDate
public org.joda.time.DateTime getLastModifiedDate()
-
setLastModifiedDate
public void setLastModifiedDate(org.joda.time.DateTime lastModifiedDate)
-
validate
public List<String> validate()
- Specified by:
validate
in interfaceRetentionPolicy
-
getSpaceAdminCanEdit
public boolean getSpaceAdminCanEdit()
-
setSpaceAdminCanEdit
public void setSpaceAdminCanEdit(boolean spaceAdminCanEdit)
-
builder
public static SpaceRetentionPolicy.Builder builder()
-
-