mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-5087 - updated include params for all endpoints
This commit is contained in:
@@ -469,10 +469,6 @@ public class ApiNodesModelFactory
|
|||||||
{
|
{
|
||||||
transferChild.setIsClosed((Boolean) nodeService.getProperty(info.getNodeRef(), RecordsManagementModel.PROP_IS_CLOSED));
|
transferChild.setIsClosed((Boolean) nodeService.getProperty(info.getNodeRef(), RecordsManagementModel.PROP_IS_CLOSED));
|
||||||
}
|
}
|
||||||
if(isMinimalInfo && includeParam.contains(TransferChild.PARAM_IS_COMPLETED))
|
|
||||||
{
|
|
||||||
transferChild.setIsCompleted(null);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -488,10 +484,6 @@ public class ApiNodesModelFactory
|
|||||||
{
|
{
|
||||||
transferChild.setIsClosed(null);
|
transferChild.setIsClosed(null);
|
||||||
}
|
}
|
||||||
if(isMinimalInfo && includeParam.contains(TransferChild.PARAM_IS_COMPLETED))
|
|
||||||
{
|
|
||||||
transferChild.setIsCompleted(nodeService.hasAspect(info.getNodeRef(), RecordsManagementModel.ASPECT_DECLARED_RECORD));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -39,7 +39,6 @@ public class TransferChild extends RMNode
|
|||||||
public static final String PARAM_IS_RECORD_FOLDER = "isRecordFolder";
|
public static final String PARAM_IS_RECORD_FOLDER = "isRecordFolder";
|
||||||
public static final String PARAM_IS_RECORD = "isRecord";
|
public static final String PARAM_IS_RECORD = "isRecord";
|
||||||
|
|
||||||
protected Boolean isCompleted;
|
|
||||||
protected Boolean isClosed;
|
protected Boolean isClosed;
|
||||||
protected Boolean isRecordFolder;
|
protected Boolean isRecordFolder;
|
||||||
protected Boolean isRecord;
|
protected Boolean isRecord;
|
||||||
@@ -48,16 +47,6 @@ public class TransferChild extends RMNode
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public Boolean getIsCompleted()
|
|
||||||
{
|
|
||||||
return isCompleted;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setIsCompleted(Boolean isCompleted)
|
|
||||||
{
|
|
||||||
this.isCompleted = isCompleted;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Boolean getIsClosed()
|
public Boolean getIsClosed()
|
||||||
{
|
{
|
||||||
return isClosed;
|
return isClosed;
|
||||||
|
@@ -307,7 +307,7 @@ paths:
|
|||||||
- $ref: '#/parameters/filePlanIdWithAliasParam'
|
- $ref: '#/parameters/filePlanIdWithAliasParam'
|
||||||
- $ref: '#/parameters/skipCountParam'
|
- $ref: '#/parameters/skipCountParam'
|
||||||
- $ref: '#/parameters/maxItemsParam'
|
- $ref: '#/parameters/maxItemsParam'
|
||||||
- $ref: '#/parameters/recordCategoryEntryIncludeParam'
|
- $ref: '#/parameters/filePlanCategoriesEntryIncludeParam'
|
||||||
- $ref: '#/parameters/filePlanIncludeSourceParam'
|
- $ref: '#/parameters/filePlanIncludeSourceParam'
|
||||||
- $ref: '#/parameters/fieldsParam'
|
- $ref: '#/parameters/fieldsParam'
|
||||||
responses:
|
responses:
|
||||||
@@ -393,7 +393,7 @@ paths:
|
|||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/parameters/filePlanIdWithAliasParam'
|
- $ref: '#/parameters/filePlanIdWithAliasParam'
|
||||||
- $ref: '#/parameters/autoRenameParam'
|
- $ref: '#/parameters/autoRenameParam'
|
||||||
- $ref: '#/parameters/recordCategoryEntryIncludeParam'
|
- $ref: '#/parameters/filePlanCategoriesEntryIncludeParam'
|
||||||
- $ref: '#/parameters/fieldsParam'
|
- $ref: '#/parameters/fieldsParam'
|
||||||
- in: body
|
- in: body
|
||||||
name: nodeBodyCreate
|
name: nodeBodyCreate
|
||||||
@@ -666,7 +666,7 @@ paths:
|
|||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/parameters/unfiledContainerIdParam'
|
- $ref: '#/parameters/unfiledContainerIdParam'
|
||||||
- $ref: '#/parameters/autoRenameParam'
|
- $ref: '#/parameters/autoRenameParam'
|
||||||
- $ref: '#/parameters/unfiledContainerEntryIncludeParam'
|
- $ref: '#/parameters/unfiledContainerChildEntryIncludeParam'
|
||||||
- $ref: '#/parameters/fieldsParam'
|
- $ref: '#/parameters/fieldsParam'
|
||||||
- in: body
|
- in: body
|
||||||
name: nodeBodyCreate
|
name: nodeBodyCreate
|
||||||
@@ -971,7 +971,7 @@ paths:
|
|||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/parameters/unfiledRecordFolderIdParam'
|
- $ref: '#/parameters/unfiledRecordFolderIdParam'
|
||||||
- $ref: '#/parameters/autoRenameParam'
|
- $ref: '#/parameters/autoRenameParam'
|
||||||
- $ref: '#/parameters/unfiledRecordFolderEntryIncludeParam'
|
- $ref: '#/parameters/unfiledRecordFolderChildEntryIncludeParam'
|
||||||
- $ref: '#/parameters/fieldsParam'
|
- $ref: '#/parameters/fieldsParam'
|
||||||
- in: body
|
- in: body
|
||||||
name: nodeBodyCreate
|
name: nodeBodyCreate
|
||||||
@@ -1565,7 +1565,7 @@ paths:
|
|||||||
operationId: createRecordFolderChild
|
operationId: createRecordFolderChild
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/parameters/recordFolderIdParam'
|
- $ref: '#/parameters/recordFolderIdParam'
|
||||||
- $ref: '#/parameters/recordFolderChildEntryIncludeParam'
|
- $ref: '#/parameters/recordEntryIncludeParam'
|
||||||
- $ref: '#/parameters/fieldsParam'
|
- $ref: '#/parameters/fieldsParam'
|
||||||
- in: body
|
- in: body
|
||||||
name: recordBodyCreate
|
name: recordBodyCreate
|
||||||
@@ -1962,7 +1962,7 @@ paths:
|
|||||||
- $ref: '#/parameters/transferContainerIdWithAliasParam'
|
- $ref: '#/parameters/transferContainerIdWithAliasParam'
|
||||||
- $ref: '#/parameters/skipCountParam'
|
- $ref: '#/parameters/skipCountParam'
|
||||||
- $ref: '#/parameters/maxItemsParam'
|
- $ref: '#/parameters/maxItemsParam'
|
||||||
- $ref: '#/parameters/transferEntryIncludeParam'
|
- $ref: '#/parameters/transferContainerChildEntryIncludeParam'
|
||||||
- $ref: '#/parameters/transferContainerIncludeSourceParam'
|
- $ref: '#/parameters/transferContainerIncludeSourceParam'
|
||||||
- $ref: '#/parameters/fieldsParam'
|
- $ref: '#/parameters/fieldsParam'
|
||||||
responses:
|
responses:
|
||||||
@@ -2067,6 +2067,21 @@ parameters:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
collectionFormat: csv
|
collectionFormat: csv
|
||||||
|
filePlanCategoriesEntryIncludeParam:
|
||||||
|
name: include
|
||||||
|
in: query
|
||||||
|
description: |
|
||||||
|
Returns additional information about the record category. Any optional field from the response model can be requested. For example:
|
||||||
|
* allowableOperations
|
||||||
|
* aspectNames
|
||||||
|
* hasRetentionSchedule
|
||||||
|
* path
|
||||||
|
* properties
|
||||||
|
required: false
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
collectionFormat: csv
|
||||||
filePlanIdWithAliasParam:
|
filePlanIdWithAliasParam:
|
||||||
name: filePlanId
|
name: filePlanId
|
||||||
in: path
|
in: path
|
||||||
@@ -2093,9 +2108,7 @@ parameters:
|
|||||||
description: |
|
description: |
|
||||||
Returns additional information about the unfiled records container children. Any optional field from the response model can be requested. For example:
|
Returns additional information about the unfiled records container children. Any optional field from the response model can be requested. For example:
|
||||||
* allowableOperations
|
* allowableOperations
|
||||||
* aspectNames
|
|
||||||
* path
|
* path
|
||||||
* properties
|
|
||||||
required: false
|
required: false
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@@ -2136,9 +2149,7 @@ parameters:
|
|||||||
description: |
|
description: |
|
||||||
Returns additional information about the unfiled records container children. Any optional field from the response model can be requested. For example:
|
Returns additional information about the unfiled records container children. Any optional field from the response model can be requested. For example:
|
||||||
* allowableOperations
|
* allowableOperations
|
||||||
* aspectNames
|
|
||||||
* path
|
* path
|
||||||
* properties
|
|
||||||
required: false
|
required: false
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@@ -2200,10 +2211,8 @@ parameters:
|
|||||||
description: |
|
description: |
|
||||||
Returns additional information about the record category. Any optional field from the response model can be requested. For example:
|
Returns additional information about the record category. Any optional field from the response model can be requested. For example:
|
||||||
* allowableOperations
|
* allowableOperations
|
||||||
* aspectNames
|
|
||||||
* hasRetentionSchedule
|
* hasRetentionSchedule
|
||||||
* path
|
* path
|
||||||
* properties
|
|
||||||
required: false
|
required: false
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@@ -2226,7 +2235,7 @@ parameters:
|
|||||||
name: include
|
name: include
|
||||||
in: query
|
in: query
|
||||||
description: |
|
description: |
|
||||||
Returns additional information about the record category. Any optional field from the response model can be requested. For example:
|
Returns additional information about the record category child. Any optional field from the response model can be requested. For example:
|
||||||
* allowableOperations
|
* allowableOperations
|
||||||
* aspectNames
|
* aspectNames
|
||||||
* hasRetentionSchedule
|
* hasRetentionSchedule
|
||||||
@@ -2331,6 +2340,22 @@ parameters:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
collectionFormat: csv
|
collectionFormat: csv
|
||||||
|
transferContainerChildEntryIncludeParam:
|
||||||
|
name: include
|
||||||
|
in: query
|
||||||
|
description: |
|
||||||
|
Returns additional information about the transfer folders. Any optional field from the response model can be requested. For example:
|
||||||
|
* allowableOperations
|
||||||
|
* aspectNames
|
||||||
|
* properties
|
||||||
|
* transferPDFIndicator
|
||||||
|
* transferLocation
|
||||||
|
* transferAccessionIndicator
|
||||||
|
required: false
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
collectionFormat: csv
|
||||||
transferContainerIncludeSourceParam:
|
transferContainerIncludeSourceParam:
|
||||||
name: includeSource
|
name: includeSource
|
||||||
in: query
|
in: query
|
||||||
@@ -2344,8 +2369,6 @@ parameters:
|
|||||||
description: |
|
description: |
|
||||||
Returns additional information about the transfer folder. Any optional field from the response model can be requested. For example:
|
Returns additional information about the transfer folder. Any optional field from the response model can be requested. For example:
|
||||||
* allowableOperations
|
* allowableOperations
|
||||||
* aspectNames
|
|
||||||
* properties
|
|
||||||
* transferPDFIndicator
|
* transferPDFIndicator
|
||||||
* transferLocation
|
* transferLocation
|
||||||
* transferAccessionIndicator
|
* transferAccessionIndicator
|
||||||
@@ -2374,7 +2397,6 @@ parameters:
|
|||||||
* allowableOperations
|
* allowableOperations
|
||||||
* aspectNames
|
* aspectNames
|
||||||
* isClosed
|
* isClosed
|
||||||
* isCompleted
|
|
||||||
* isRecord
|
* isRecord
|
||||||
* isRecordFolder
|
* isRecordFolder
|
||||||
* path
|
* path
|
||||||
@@ -3389,10 +3411,6 @@ definitions:
|
|||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
description: Indicates if the record folder is closed
|
description: Indicates if the record folder is closed
|
||||||
isCompleted:
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
description: Present only for record nodes. Indicates if the record has a retention schedule defined
|
|
||||||
modifiedAt:
|
modifiedAt:
|
||||||
type: string
|
type: string
|
||||||
format: date-time
|
format: date-time
|
||||||
|
Reference in New Issue
Block a user