mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
REPO-1438: Add thumbnail generation status to discoverability response - implement
- added implementation, updated test git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131502 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -403,6 +403,7 @@ public class RepositoryInfo
|
||||
private boolean isReadOnly;
|
||||
private boolean isAuditEnabled;
|
||||
private boolean isQuickShareEnabled;
|
||||
private boolean isThumbnailGenerationEnabled;
|
||||
|
||||
public StatusInfo()
|
||||
{
|
||||
@@ -441,6 +442,17 @@ public class RepositoryInfo
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean getIsThumbnailGenerationEnabled()
|
||||
{
|
||||
return isThumbnailGenerationEnabled;
|
||||
}
|
||||
|
||||
public StatusInfo setThumbnailGenerationEnabled(boolean isThumbnailGenerationEnabled)
|
||||
{
|
||||
this.isThumbnailGenerationEnabled = isThumbnailGenerationEnabled;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
@@ -448,6 +460,7 @@ public class RepositoryInfo
|
||||
sb.append("StatusInfo [isReadOnly=").append(isReadOnly)
|
||||
.append(", isAuditEnabled=").append(isAuditEnabled)
|
||||
.append(", isQuickShareEnabled=").append(isQuickShareEnabled)
|
||||
.append(", isThumbnailGenerationEnabled=").append(isThumbnailGenerationEnabled)
|
||||
.append(']');
|
||||
return sb.toString();
|
||||
}
|
||||
|
Reference in New Issue
Block a user