mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-01 14:41:46 +00:00
ACS-1631 : Storage classes - REST api - POST & GET /nodes/{nodeId}/children (#540)
This commit is contained in:
committed by
Andrea Ligios
parent
cf14112626
commit
870a9ee4fd
@@ -63,7 +63,20 @@ public class ContentContext implements Serializable
|
||||
this.existingContentReader = existingContentReader;
|
||||
this.contentUrl = contentUrl;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Construct the instance with the content URL.
|
||||
*
|
||||
* @param existingContentReader content with which to seed the new writer - may be <tt>null</tt>
|
||||
* @param contentUrl the content URL - may be <tt>null</tt>
|
||||
* @param storageClasses the storage classes specific to the provided content URL - may be <tt>null</tt>
|
||||
*/
|
||||
public ContentContext(ContentReader existingContentReader, String contentUrl, Set<String> storageClasses)
|
||||
{
|
||||
this(existingContentReader, contentUrl);
|
||||
this.storageClasses = storageClasses;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
|
@@ -37,6 +37,11 @@ import java.util.HashSet;
|
||||
*/
|
||||
public class StorageClassSet extends HashSet<String>
|
||||
{
|
||||
public StorageClassSet()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public StorageClassSet(String... storageClasses)
|
||||
{
|
||||
super();
|
||||
|
Reference in New Issue
Block a user