Class SpaceRetentionPolicy
- java.lang.Object
-
- com.atlassian.confluence.api.model.retention.SpaceRetentionPolicy
-
- All Implemented Interfaces:
RetentionPolicy
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 Deprecated Methods Modifier and Type Method Description static SpaceRetentionPolicy.Builder
builder()
boolean
equals(Object o)
RetentionRule
getAttachmentRetentionRule()
OffsetDateTime
getLastModifiedAt()
String
getLastModifiedBy()
org.joda.time.DateTime
getLastModifiedDate()
Deprecated.since 8.6 usegetLastModifiedAt()
RetentionRule
getPageVersionRule()
boolean
getSpaceAdminCanEdit()
TrashRetentionRule
getTrashRetentionRule()
int
hashCode()
void
setLastModifiedAt(OffsetDateTime lastModifiedDate)
void
setLastModifiedBy(String lastModifiedBy)
void
setLastModifiedDate(org.joda.time.DateTime lastModifiedDate)
Deprecated.since 8.6 usesetLastModifiedAt(OffsetDateTime)
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
@Deprecated public org.joda.time.DateTime getLastModifiedDate()
Deprecated.since 8.6 usegetLastModifiedAt()
-
getLastModifiedAt
public OffsetDateTime getLastModifiedAt()
- Since:
- 8.6
-
setLastModifiedDate
@Deprecated public void setLastModifiedDate(org.joda.time.DateTime lastModifiedDate)
Deprecated.since 8.6 usesetLastModifiedAt(OffsetDateTime)
-
setLastModifiedAt
public void setLastModifiedAt(OffsetDateTime lastModifiedDate)
- Since:
- 8.6
-
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()
-
-