mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-3150 (Errors when generating Javadoc for RM using Java 8)
This commit is contained in:
@@ -27,6 +27,8 @@
|
|||||||
|
|
||||||
package org.alfresco.module.org_alfresco_module_rm.action;
|
package org.alfresco.module.org_alfresco_module_rm.action;
|
||||||
|
|
||||||
|
import static org.apache.commons.lang.StringUtils.leftPad;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -131,6 +133,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the transaction service
|
* Get the transaction service
|
||||||
|
*
|
||||||
|
* @return The transaction service
|
||||||
*/
|
*/
|
||||||
protected TransactionService getTransactionService()
|
protected TransactionService getTransactionService()
|
||||||
{
|
{
|
||||||
@@ -139,6 +143,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the transaction service
|
* Set the transaction service
|
||||||
|
*
|
||||||
|
* @param transactionService The transaction service
|
||||||
*/
|
*/
|
||||||
public void setTransactionService(TransactionService transactionService)
|
public void setTransactionService(TransactionService transactionService)
|
||||||
{
|
{
|
||||||
@@ -147,6 +153,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the namespace service
|
* Gets the namespace service
|
||||||
|
*
|
||||||
|
* @return The namespace service
|
||||||
*/
|
*/
|
||||||
protected NamespaceService getNamespaceService()
|
protected NamespaceService getNamespaceService()
|
||||||
{
|
{
|
||||||
@@ -155,6 +163,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the namespace service
|
* Set the namespace service
|
||||||
|
*
|
||||||
|
* @param namespaceService The namespace service
|
||||||
*/
|
*/
|
||||||
public void setNamespaceService(NamespaceService namespaceService)
|
public void setNamespaceService(NamespaceService namespaceService)
|
||||||
{
|
{
|
||||||
@@ -163,6 +173,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the node service
|
* Gets the node service
|
||||||
|
*
|
||||||
|
* @return The node service
|
||||||
*/
|
*/
|
||||||
protected NodeService getNodeService()
|
protected NodeService getNodeService()
|
||||||
{
|
{
|
||||||
@@ -170,7 +182,9 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set node service
|
* Set the node service
|
||||||
|
*
|
||||||
|
* @param nodeService The node service
|
||||||
*/
|
*/
|
||||||
public void setNodeService(NodeService nodeService)
|
public void setNodeService(NodeService nodeService)
|
||||||
{
|
{
|
||||||
@@ -179,6 +193,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the dictionary service
|
* Gets the dictionary service
|
||||||
|
*
|
||||||
|
* @return The dictionary service
|
||||||
*/
|
*/
|
||||||
protected DictionaryService getDictionaryService()
|
protected DictionaryService getDictionaryService()
|
||||||
{
|
{
|
||||||
@@ -187,6 +203,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the dictionary service
|
* Set the dictionary service
|
||||||
|
*
|
||||||
|
* @param dictionaryService The dictionary service
|
||||||
*/
|
*/
|
||||||
public void setDictionaryService(DictionaryService dictionaryService)
|
public void setDictionaryService(DictionaryService dictionaryService)
|
||||||
{
|
{
|
||||||
@@ -195,6 +213,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the content service
|
* Gets the content service
|
||||||
|
*
|
||||||
|
* @return The content service
|
||||||
*/
|
*/
|
||||||
protected ContentService getContentService()
|
protected ContentService getContentService()
|
||||||
{
|
{
|
||||||
@@ -203,6 +223,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the content service
|
* Set the content service
|
||||||
|
*
|
||||||
|
* @param contentService The content service
|
||||||
*/
|
*/
|
||||||
public void setContentService(ContentService contentService)
|
public void setContentService(ContentService contentService)
|
||||||
{
|
{
|
||||||
@@ -211,6 +233,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the action service
|
* Gets the action service
|
||||||
|
*
|
||||||
|
* @return The action service
|
||||||
*/
|
*/
|
||||||
protected ActionService getActionService()
|
protected ActionService getActionService()
|
||||||
{
|
{
|
||||||
@@ -219,6 +243,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set action service
|
* Set action service
|
||||||
|
*
|
||||||
|
* @param actionService The action service
|
||||||
*/
|
*/
|
||||||
public void setActionService(ActionService actionService)
|
public void setActionService(ActionService actionService)
|
||||||
{
|
{
|
||||||
@@ -227,6 +253,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the records management audit service
|
* Gets the records management audit service
|
||||||
|
*
|
||||||
|
* @return The records management audit service
|
||||||
*/
|
*/
|
||||||
protected RecordsManagementAuditService getRecordsManagementAuditService()
|
protected RecordsManagementAuditService getRecordsManagementAuditService()
|
||||||
{
|
{
|
||||||
@@ -235,6 +263,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the audit service that action details will be sent to
|
* Set the audit service that action details will be sent to
|
||||||
|
*
|
||||||
|
* @param recordsManagementAuditService The audit service that action details will be sent to
|
||||||
*/
|
*/
|
||||||
public void setRecordsManagementAuditService(RecordsManagementAuditService recordsManagementAuditService)
|
public void setRecordsManagementAuditService(RecordsManagementAuditService recordsManagementAuditService)
|
||||||
{
|
{
|
||||||
@@ -243,6 +273,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the records management action service
|
* Gets the records management action service
|
||||||
|
*
|
||||||
|
* @return The records management action service
|
||||||
*/
|
*/
|
||||||
protected RecordsManagementActionService getRecordsManagementActionService()
|
protected RecordsManagementActionService getRecordsManagementActionService()
|
||||||
{
|
{
|
||||||
@@ -251,6 +283,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set records management service
|
* Set records management service
|
||||||
|
*
|
||||||
|
* @param recordsManagementActionService The records management service
|
||||||
*/
|
*/
|
||||||
public void setRecordsManagementActionService(RecordsManagementActionService recordsManagementActionService)
|
public void setRecordsManagementActionService(RecordsManagementActionService recordsManagementActionService)
|
||||||
{
|
{
|
||||||
@@ -259,6 +293,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the disposition service
|
* Gets the disposition service
|
||||||
|
*
|
||||||
|
* @return The disposition service
|
||||||
*/
|
*/
|
||||||
protected DispositionService getDispositionService()
|
protected DispositionService getDispositionService()
|
||||||
{
|
{
|
||||||
@@ -267,6 +303,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the disposition service
|
* Set the disposition service
|
||||||
|
*
|
||||||
|
* @param dispositionService The disposition service
|
||||||
*/
|
*/
|
||||||
public void setDispositionService(DispositionService dispositionService)
|
public void setDispositionService(DispositionService dispositionService)
|
||||||
{
|
{
|
||||||
@@ -275,6 +313,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the vital record service
|
* Gets the vital record service
|
||||||
|
*
|
||||||
|
* @return The vital record service
|
||||||
*/
|
*/
|
||||||
protected VitalRecordService getVitalRecordService()
|
protected VitalRecordService getVitalRecordService()
|
||||||
{
|
{
|
||||||
@@ -282,7 +322,9 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param vitalRecordService vital record service
|
* Sets the vital record service
|
||||||
|
*
|
||||||
|
* @param vitalRecordService vital record service
|
||||||
*/
|
*/
|
||||||
public void setVitalRecordService(VitalRecordService vitalRecordService)
|
public void setVitalRecordService(VitalRecordService vitalRecordService)
|
||||||
{
|
{
|
||||||
@@ -291,6 +333,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the records management event service
|
* Gets the records management event service
|
||||||
|
*
|
||||||
|
* @return The records management event service
|
||||||
*/
|
*/
|
||||||
protected RecordsManagementEventService getRecordsManagementEventService()
|
protected RecordsManagementEventService getRecordsManagementEventService()
|
||||||
{
|
{
|
||||||
@@ -298,7 +342,9 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set records management event service
|
* Set the records management event service
|
||||||
|
*
|
||||||
|
* @param recordsManagementEventService The records management event service
|
||||||
*/
|
*/
|
||||||
public void setRecordsManagementEventService(RecordsManagementEventService recordsManagementEventService)
|
public void setRecordsManagementEventService(RecordsManagementEventService recordsManagementEventService)
|
||||||
{
|
{
|
||||||
@@ -307,6 +353,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the ownable service
|
* Gets the ownable service
|
||||||
|
*
|
||||||
|
* @return The ownable service
|
||||||
*/
|
*/
|
||||||
protected OwnableService getOwnableService()
|
protected OwnableService getOwnableService()
|
||||||
{
|
{
|
||||||
@@ -315,7 +363,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the ownable service
|
* Set the ownable service
|
||||||
* @param ownableSerice
|
*
|
||||||
|
* @param ownableService The ownable service
|
||||||
*/
|
*/
|
||||||
public void setOwnableService(OwnableService ownableService)
|
public void setOwnableService(OwnableService ownableService)
|
||||||
{
|
{
|
||||||
@@ -324,6 +373,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the freeze service
|
* Gets the freeze service
|
||||||
|
*
|
||||||
|
* @return The freeze service
|
||||||
*/
|
*/
|
||||||
protected FreezeService getFreezeService()
|
protected FreezeService getFreezeService()
|
||||||
{
|
{
|
||||||
@@ -342,6 +393,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the record service
|
* Gets the record service
|
||||||
|
*
|
||||||
|
* @return The record service
|
||||||
*/
|
*/
|
||||||
protected RecordService getRecordService()
|
protected RecordService getRecordService()
|
||||||
{
|
{
|
||||||
@@ -359,7 +412,9 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return records management admin service
|
* Gets the records management admin service
|
||||||
|
*
|
||||||
|
* @return The records management admin service
|
||||||
*/
|
*/
|
||||||
protected RecordsManagementAdminService getRecordsManagementAdminService()
|
protected RecordsManagementAdminService getRecordsManagementAdminService()
|
||||||
{
|
{
|
||||||
@@ -367,6 +422,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Sets the records management admin service
|
||||||
|
*
|
||||||
* @param recordsManagementAdminService records management admin service
|
* @param recordsManagementAdminService records management admin service
|
||||||
*/
|
*/
|
||||||
public void setRecordsManagementAdminService(RecordsManagementAdminService recordsManagementAdminService)
|
public void setRecordsManagementAdminService(RecordsManagementAdminService recordsManagementAdminService)
|
||||||
@@ -376,6 +433,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the model security service
|
* Gets the model security service
|
||||||
|
*
|
||||||
|
* @return The model security service
|
||||||
*/
|
*/
|
||||||
protected ModelSecurityService getModelSecurityService()
|
protected ModelSecurityService getModelSecurityService()
|
||||||
{
|
{
|
||||||
@@ -383,6 +442,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Sets the model security service
|
||||||
|
*
|
||||||
* @param modelSecurityService model security service
|
* @param modelSecurityService model security service
|
||||||
*/
|
*/
|
||||||
public void setModelSecurityService(ModelSecurityService modelSecurityService)
|
public void setModelSecurityService(ModelSecurityService modelSecurityService)
|
||||||
@@ -392,6 +453,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the record folder service
|
* Gets the record folder service
|
||||||
|
*
|
||||||
|
* @return The record folder service
|
||||||
*/
|
*/
|
||||||
protected RecordFolderService getRecordFolderService()
|
protected RecordFolderService getRecordFolderService()
|
||||||
{
|
{
|
||||||
@@ -399,6 +462,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Sets the record folder service
|
||||||
|
*
|
||||||
* @param recordFolderService record folder service
|
* @param recordFolderService record folder service
|
||||||
*/
|
*/
|
||||||
public void setRecordFolderService(RecordFolderService recordFolderService)
|
public void setRecordFolderService(RecordFolderService recordFolderService)
|
||||||
@@ -408,6 +473,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the hold service
|
* Gets the hold service
|
||||||
|
*
|
||||||
|
* @return The hold service
|
||||||
*/
|
*/
|
||||||
protected HoldService getHoldService()
|
protected HoldService getHoldService()
|
||||||
{
|
{
|
||||||
@@ -415,6 +482,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Sets the hold service
|
||||||
|
*
|
||||||
* @param holdService hold service
|
* @param holdService hold service
|
||||||
*/
|
*/
|
||||||
public void setHoldService(HoldService holdService)
|
public void setHoldService(HoldService holdService)
|
||||||
@@ -423,6 +492,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Sets the applicable kinds
|
||||||
|
*
|
||||||
* @param applicableKinds kinds that this action is applicable for
|
* @param applicableKinds kinds that this action is applicable for
|
||||||
*/
|
*/
|
||||||
public void setApplicableKinds(String[] applicableKinds)
|
public void setApplicableKinds(String[] applicableKinds)
|
||||||
@@ -504,7 +575,7 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.RecordsManagementAction#getName()
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementAction#getName()
|
||||||
*/
|
*/
|
||||||
public String getName()
|
public String getName()
|
||||||
{
|
{
|
||||||
@@ -546,7 +617,7 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
/**
|
/**
|
||||||
* By default an action is not a disposition action
|
* By default an action is not a disposition action
|
||||||
*
|
*
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.RecordsManagementAction#isDispositionAction()
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementAction#isDispositionAction()
|
||||||
*/
|
*/
|
||||||
public boolean isDispositionAction()
|
public boolean isDispositionAction()
|
||||||
{
|
{
|
||||||
@@ -554,7 +625,7 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.RecordsManagementAction#execute(org.alfresco.service.cmr.repository.NodeRef, java.util.Map)
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementAction#execute(org.alfresco.service.cmr.repository.NodeRef, java.util.Map)
|
||||||
*/
|
*/
|
||||||
public RecordsManagementActionResult execute(NodeRef filePlanComponent, Map<String, Serializable> parameters)
|
public RecordsManagementActionResult execute(NodeRef filePlanComponent, Map<String, Serializable> parameters)
|
||||||
{
|
{
|
||||||
@@ -585,19 +656,14 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
|
|||||||
* @param s String to pad with leading zero '0' characters
|
* @param s String to pad with leading zero '0' characters
|
||||||
* @param len Length to pad to
|
* @param len Length to pad to
|
||||||
*
|
*
|
||||||
* @return padded string or the original if already at >=len characters
|
* @return padded string or the original if already at >= len characters
|
||||||
*
|
*
|
||||||
* @deprecated As of 2.1, replaced by {@link org.apache.commons.lang.StringUtils.leftPad}
|
* @deprecated As of 2.1, replaced by {@link org.apache.commons.lang.StringUtils.leftPad}
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
protected String padString(String s, int len)
|
protected String padString(String s, int len)
|
||||||
{
|
{
|
||||||
String result = s;
|
return leftPad(s, len);
|
||||||
for (int i=0; i<(len - s.length()); i++)
|
|
||||||
{
|
|
||||||
result = "0" + result;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -73,7 +73,7 @@ public abstract class RMDispositionActionExecuterAbstractBase extends RMActionEx
|
|||||||
/**
|
/**
|
||||||
* Indicates whether the disposition is marked complete
|
* Indicates whether the disposition is marked complete
|
||||||
*
|
*
|
||||||
* @return boolean true if marked complete, false otherwise
|
* @return <code>true</code> if marked complete, <code>false</code> otherwise
|
||||||
*/
|
*/
|
||||||
public boolean getSetDispositionActionComplete()
|
public boolean getSetDispositionActionComplete()
|
||||||
{
|
{
|
||||||
|
@@ -72,6 +72,7 @@ public interface RecordsManagementAction
|
|||||||
*
|
*
|
||||||
* @param filePlanComponent file plan component the action is executed upon
|
* @param filePlanComponent file plan component the action is executed upon
|
||||||
* @param parameters action parameters
|
* @param parameters action parameters
|
||||||
|
* @return The result of the executed action
|
||||||
*/
|
*/
|
||||||
RecordsManagementActionResult execute(NodeRef filePlanComponent, Map<String, Serializable> parameters);
|
RecordsManagementActionResult execute(NodeRef filePlanComponent, Map<String, Serializable> parameters);
|
||||||
|
|
||||||
@@ -86,7 +87,7 @@ public interface RecordsManagementAction
|
|||||||
/**
|
/**
|
||||||
* Get the records management action definition.
|
* Get the records management action definition.
|
||||||
*
|
*
|
||||||
* @return
|
* @return The records management action definition.
|
||||||
* @since 2.1
|
* @since 2.1
|
||||||
*/
|
*/
|
||||||
RecordsManagementActionDefinition getRecordsManagementActionDefinition();
|
RecordsManagementActionDefinition getRecordsManagementActionDefinition();
|
||||||
@@ -94,7 +95,7 @@ public interface RecordsManagementAction
|
|||||||
/**
|
/**
|
||||||
* Indicates whether the action is public or not
|
* Indicates whether the action is public or not
|
||||||
*
|
*
|
||||||
* @return
|
* @return <code>true</code> if the action is public, <code>false</code> otherwise
|
||||||
* @since 2.1
|
* @since 2.1
|
||||||
*/
|
*/
|
||||||
boolean isPublicAction();
|
boolean isPublicAction();
|
||||||
|
@@ -58,13 +58,13 @@ public interface RecordsManagementActionCondition
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @return
|
* @return The records management action condition definition
|
||||||
*/
|
*/
|
||||||
RecordsManagementActionConditionDefinition getRecordsManagementActionConditionDefinition();
|
RecordsManagementActionConditionDefinition getRecordsManagementActionConditionDefinition();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @return
|
* @return <code>true</code> if the condition is public, <code>false</code> otherwise
|
||||||
*/
|
*/
|
||||||
boolean isPublicCondition();
|
boolean isPublicCondition();
|
||||||
}
|
}
|
||||||
|
@@ -96,7 +96,7 @@ public abstract class RecordsManagementActionConditionEvaluatorAbstractBase exte
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param retryingTransactionHelper
|
* @param retryingTransactionHelper retrying transaction helper
|
||||||
*/
|
*/
|
||||||
public void setRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper)
|
public void setRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper)
|
||||||
{
|
{
|
||||||
@@ -150,7 +150,7 @@ public abstract class RecordsManagementActionConditionEvaluatorAbstractBase exte
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.RecordsManagementAction#getName()
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementActionCondition#getName()
|
||||||
*/
|
*/
|
||||||
public String getName()
|
public String getName()
|
||||||
{
|
{
|
||||||
|
@@ -44,13 +44,14 @@ public interface RecordsManagementActionService
|
|||||||
/**
|
/**
|
||||||
* Get a list of the available records management actions
|
* Get a list of the available records management actions
|
||||||
*
|
*
|
||||||
* @return List<RecordsManagementAction> records management actions
|
* @return List of records management actions
|
||||||
*/
|
*/
|
||||||
List<RecordsManagementAction> getRecordsManagementActions();
|
List<RecordsManagementAction> getRecordsManagementActions();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Get a list of the available records management action conditions
|
||||||
*
|
*
|
||||||
* @return
|
* @return List of records management action conditions
|
||||||
* @since 2.1
|
* @since 2.1
|
||||||
*/
|
*/
|
||||||
List<RecordsManagementActionCondition> getRecordsManagementActionConditions();
|
List<RecordsManagementActionCondition> getRecordsManagementActionConditions();
|
||||||
@@ -59,7 +60,7 @@ public interface RecordsManagementActionService
|
|||||||
* Get a list of the available disposition actions. A disposition action is a records
|
* Get a list of the available disposition actions. A disposition action is a records
|
||||||
* management action that can be used when defining disposition instructions.
|
* management action that can be used when defining disposition instructions.
|
||||||
*
|
*
|
||||||
* @return List<RecordsManagementAction> disposition actions
|
* @return List of disposition actions
|
||||||
*/
|
*/
|
||||||
List<RecordsManagementAction> getDispositionActions();
|
List<RecordsManagementAction> getDispositionActions();
|
||||||
|
|
||||||
@@ -84,6 +85,7 @@ public interface RecordsManagementActionService
|
|||||||
*
|
*
|
||||||
* @param nodeRef node reference to a rm container, rm folder or record
|
* @param nodeRef node reference to a rm container, rm folder or record
|
||||||
* @param name action name
|
* @param name action name
|
||||||
|
* @return The result of executed records management action
|
||||||
*/
|
*/
|
||||||
RecordsManagementActionResult executeRecordsManagementAction(NodeRef nodeRef, String name);
|
RecordsManagementActionResult executeRecordsManagementAction(NodeRef nodeRef, String name);
|
||||||
|
|
||||||
@@ -92,6 +94,7 @@ public interface RecordsManagementActionService
|
|||||||
*
|
*
|
||||||
* @param nodeRefs node references to rm containers, rm folders or records
|
* @param nodeRefs node references to rm containers, rm folders or records
|
||||||
* @param name action name
|
* @param name action name
|
||||||
|
* @return The result of executed records management action against several nodes
|
||||||
*/
|
*/
|
||||||
Map<NodeRef, RecordsManagementActionResult> executeRecordsManagementAction(List<NodeRef> nodeRefs, String name);
|
Map<NodeRef, RecordsManagementActionResult> executeRecordsManagementAction(List<NodeRef> nodeRefs, String name);
|
||||||
|
|
||||||
@@ -101,6 +104,7 @@ public interface RecordsManagementActionService
|
|||||||
* @param nodeRef node reference to a rm container, rm folder or record
|
* @param nodeRef node reference to a rm container, rm folder or record
|
||||||
* @param name action name
|
* @param name action name
|
||||||
* @param parameters action parameters
|
* @param parameters action parameters
|
||||||
|
* @return The result of executed records management action
|
||||||
*/
|
*/
|
||||||
RecordsManagementActionResult executeRecordsManagementAction(NodeRef nodeRef, String name, Map<String, Serializable> parameters);
|
RecordsManagementActionResult executeRecordsManagementAction(NodeRef nodeRef, String name, Map<String, Serializable> parameters);
|
||||||
|
|
||||||
@@ -110,6 +114,7 @@ public interface RecordsManagementActionService
|
|||||||
* @param nodeRefs node references to rm containers, rm folders or records
|
* @param nodeRefs node references to rm containers, rm folders or records
|
||||||
* @param name action name
|
* @param name action name
|
||||||
* @param parameters action parameters
|
* @param parameters action parameters
|
||||||
|
* @return The result of executed records management action against several nodes
|
||||||
*/
|
*/
|
||||||
Map<NodeRef, RecordsManagementActionResult> executeRecordsManagementAction(List<NodeRef> nodeRefs, String name, Map<String, Serializable> parameters);
|
Map<NodeRef, RecordsManagementActionResult> executeRecordsManagementAction(List<NodeRef> nodeRefs, String name, Map<String, Serializable> parameters);
|
||||||
|
|
||||||
@@ -119,6 +124,7 @@ public interface RecordsManagementActionService
|
|||||||
*
|
*
|
||||||
* @param name action name
|
* @param name action name
|
||||||
* @param parameters action parameters
|
* @param parameters action parameters
|
||||||
|
* @return The result of executed records management action
|
||||||
*/
|
*/
|
||||||
RecordsManagementActionResult executeRecordsManagementAction(String name, Map<String, Serializable> parameters);
|
RecordsManagementActionResult executeRecordsManagementAction(String name, Map<String, Serializable> parameters);
|
||||||
|
|
||||||
@@ -130,8 +136,9 @@ public interface RecordsManagementActionService
|
|||||||
void register(RecordsManagementAction rmAction);
|
void register(RecordsManagementAction rmAction);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Register records management condition
|
||||||
*
|
*
|
||||||
* @param rmCondition
|
* @param rmCondition records management condition
|
||||||
* @since 2.1
|
* @since 2.1
|
||||||
*/
|
*/
|
||||||
void register(RecordsManagementActionCondition rmCondition);
|
void register(RecordsManagementActionCondition rmCondition);
|
||||||
|
@@ -125,7 +125,7 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.RecordsManagementActionService#register(org.alfresco.module.org_alfresco_module_rm.RecordsManagementAction)
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementActionService#register(org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementAction)
|
||||||
*/
|
*/
|
||||||
public void register(RecordsManagementAction rmAction)
|
public void register(RecordsManagementAction rmAction)
|
||||||
{
|
{
|
||||||
@@ -181,7 +181,7 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.RecordsManagementActionService#getRecordsManagementActions()
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementActionService#getRecordsManagementActions()
|
||||||
*/
|
*/
|
||||||
public List<RecordsManagementAction> getRecordsManagementActions()
|
public List<RecordsManagementAction> getRecordsManagementActions()
|
||||||
{
|
{
|
||||||
@@ -202,7 +202,10 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementActionService#getDispositionActions(org.alfresco.service.cmr.repository.NodeRef)
|
* Gets the disposition actions for the given node
|
||||||
|
*
|
||||||
|
* @param nodeRef The node reference
|
||||||
|
* @return List of records management action
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
public List<RecordsManagementAction> getDispositionActions(NodeRef nodeRef)
|
public List<RecordsManagementAction> getDispositionActions(NodeRef nodeRef)
|
||||||
@@ -218,7 +221,7 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.RecordsManagementActionService#getDispositionActionDefinitions()
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementActionService#getDispositionActions()
|
||||||
*/
|
*/
|
||||||
public List<RecordsManagementAction> getDispositionActions()
|
public List<RecordsManagementAction> getDispositionActions()
|
||||||
{
|
{
|
||||||
@@ -227,7 +230,7 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
|
|||||||
return Collections.unmodifiableList(result);
|
return Collections.unmodifiableList(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementActionService#getDispositionAction(java.lang.String)
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementActionService#getDispositionAction(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public RecordsManagementAction getDispositionAction(String name)
|
public RecordsManagementAction getDispositionAction(String name)
|
||||||
@@ -235,7 +238,7 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
|
|||||||
return dispositionActions.get(name);
|
return dispositionActions.get(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementActionService#getRecordsManagementAction(java.lang.String)
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementActionService#getRecordsManagementAction(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public RecordsManagementAction getRecordsManagementAction(String name)
|
public RecordsManagementAction getRecordsManagementAction(String name)
|
||||||
@@ -244,7 +247,7 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.RecordsManagementActionService#executeRecordsManagementAction(org.alfresco.service.cmr.repository.NodeRef, java.lang.String)
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementActionService#executeRecordsManagementAction(org.alfresco.service.cmr.repository.NodeRef, java.lang.String)
|
||||||
*/
|
*/
|
||||||
public RecordsManagementActionResult executeRecordsManagementAction(NodeRef nodeRef, String name)
|
public RecordsManagementActionResult executeRecordsManagementAction(NodeRef nodeRef, String name)
|
||||||
{
|
{
|
||||||
@@ -252,7 +255,7 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.RecordsManagementActionService#executeRecordsManagementAction(java.util.List, java.lang.String)
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementActionService#executeRecordsManagementAction(java.util.List, java.lang.String)
|
||||||
*/
|
*/
|
||||||
public Map<NodeRef, RecordsManagementActionResult> executeRecordsManagementAction(List<NodeRef> nodeRefs, String name)
|
public Map<NodeRef, RecordsManagementActionResult> executeRecordsManagementAction(List<NodeRef> nodeRefs, String name)
|
||||||
{
|
{
|
||||||
@@ -260,7 +263,7 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.RecordsManagementActionService#executeRecordsManagementAction(org.alfresco.service.cmr.repository.NodeRef, java.lang.String, java.util.Map)
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementActionService#executeRecordsManagementAction(org.alfresco.service.cmr.repository.NodeRef, java.lang.String, java.util.Map)
|
||||||
*/
|
*/
|
||||||
public RecordsManagementActionResult executeRecordsManagementAction(NodeRef nodeRef, String name, Map<String, Serializable> parameters)
|
public RecordsManagementActionResult executeRecordsManagementAction(NodeRef nodeRef, String name, Map<String, Serializable> parameters)
|
||||||
{
|
{
|
||||||
@@ -294,7 +297,7 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.RecordsManagementActionService#executeRecordsManagementAction(java.lang.String, java.util.Map)
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementActionService#executeRecordsManagementAction(java.lang.String, java.util.Map)
|
||||||
*/
|
*/
|
||||||
public RecordsManagementActionResult executeRecordsManagementAction(String name, Map<String, Serializable> parameters)
|
public RecordsManagementActionResult executeRecordsManagementAction(String name, Map<String, Serializable> parameters)
|
||||||
{
|
{
|
||||||
@@ -317,7 +320,7 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.RecordsManagementActionService#executeRecordsManagementAction(java.util.List, java.lang.String, java.util.Map)
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementActionService#executeRecordsManagementAction(java.util.List, java.lang.String, java.util.Map)
|
||||||
*/
|
*/
|
||||||
public Map<NodeRef, RecordsManagementActionResult> executeRecordsManagementAction(List<NodeRef> nodeRefs, String name, Map<String, Serializable> parameters)
|
public Map<NodeRef, RecordsManagementActionResult> executeRecordsManagementAction(List<NodeRef> nodeRefs, String name, Map<String, Serializable> parameters)
|
||||||
{
|
{
|
||||||
|
@@ -41,11 +41,12 @@ import org.alfresco.repo.action.constraint.BaseParameterConstraint;
|
|||||||
*/
|
*/
|
||||||
public class CustomParameterConstraint extends BaseParameterConstraint
|
public class CustomParameterConstraint extends BaseParameterConstraint
|
||||||
{
|
{
|
||||||
|
|
||||||
private List<String> parameterValues;
|
private List<String> parameterValues;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param parameterValues
|
* Sets the parameter values
|
||||||
|
*
|
||||||
|
* @param parameterValues The parameter values
|
||||||
*/
|
*/
|
||||||
public void setParameterValues(List<String> parameterValues)
|
public void setParameterValues(List<String> parameterValues)
|
||||||
{
|
{
|
||||||
|
@@ -98,7 +98,7 @@ public class MoveDmRecordAction extends AuditableActionExecuterAbstractBase impl
|
|||||||
/**
|
/**
|
||||||
* Sets the inplace record service
|
* Sets the inplace record service
|
||||||
*
|
*
|
||||||
* @param InplaceRecordService Inplace record service
|
* @param inplaceRecordService Inplace record service
|
||||||
*/
|
*/
|
||||||
public void setInplaceRecordService(InplaceRecordService inplaceRecordService)
|
public void setInplaceRecordService(InplaceRecordService inplaceRecordService)
|
||||||
{
|
{
|
||||||
|
@@ -50,7 +50,9 @@ public class DelegateActionCondition extends RecordsManagementActionConditionEva
|
|||||||
private ActionConditionEvaluator actionConditionEvaluator;
|
private ActionConditionEvaluator actionConditionEvaluator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param actionEvaluator action evaluator
|
* Sets the action condition evaluator
|
||||||
|
*
|
||||||
|
* @param actionConditionEvaluator The action condition evaluator
|
||||||
*/
|
*/
|
||||||
public void setActionConditionEvaluator(ActionConditionEvaluator actionConditionEvaluator)
|
public void setActionConditionEvaluator(ActionConditionEvaluator actionConditionEvaluator)
|
||||||
{
|
{
|
||||||
|
@@ -63,7 +63,9 @@ public class HasDispositionActionEvaluator extends RecordsManagementActionCondit
|
|||||||
private DispositionService dispositionService;
|
private DispositionService dispositionService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param dispositionService
|
* Sets the disposition service
|
||||||
|
*
|
||||||
|
* @param dispositionService The disposition service
|
||||||
*/
|
*/
|
||||||
public void setDispositionService(DispositionService dispositionService)
|
public void setDispositionService(DispositionService dispositionService)
|
||||||
{
|
{
|
||||||
|
@@ -39,8 +39,6 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
|||||||
import org.alfresco.service.cmr.repository.NodeService;
|
import org.alfresco.service.cmr.repository.NodeService;
|
||||||
import org.alfresco.service.namespace.QName;
|
import org.alfresco.service.namespace.QName;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Records management IsRecordType evaluator that evaluates whether the record is of the specified type.
|
* Records management IsRecordType evaluator that evaluates whether the record is of the specified type.
|
||||||
*
|
*
|
||||||
@@ -62,7 +60,9 @@ public class IsRecordTypeEvaluator extends RecordsManagementActionConditionEvalu
|
|||||||
private NodeService nodeService;
|
private NodeService nodeService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param nodeService
|
* Sets the node service
|
||||||
|
*
|
||||||
|
* @param nodeService The node service
|
||||||
*/
|
*/
|
||||||
public void setNodeService(NodeService nodeService)
|
public void setNodeService(NodeService nodeService)
|
||||||
{
|
{
|
||||||
|
@@ -91,8 +91,7 @@ public class ApplyCustomTypeAction extends RMActionExecuterAbstractBase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method extracts the properties from the custom type's aspect.
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase#addParameterDefinitions(java.util.List)
|
||||||
* @see #getCustomTypeAspect()
|
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected final void addParameterDefinitions(List<ParameterDefinition> paramList)
|
protected final void addParameterDefinitions(List<ParameterDefinition> paramList)
|
||||||
|
@@ -99,7 +99,7 @@ public class DestroyAction extends RMDispositionActionExecuterAbstractBase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see org.alfresco.module.org_alfresco_module_rm.action.RMDispositionActionExecuterAbstractBase#checkNextDispositionAction()
|
* @see org.alfresco.module.org_alfresco_module_rm.action.RMDispositionActionExecuterAbstractBase#checkNextDispositionAction(org.alfresco.service.cmr.repository.NodeRef)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected boolean checkNextDispositionAction(NodeRef actionedUponNodeRef)
|
protected boolean checkNextDispositionAction(NodeRef actionedUponNodeRef)
|
||||||
|
@@ -52,7 +52,7 @@ public class TransferAction extends RMDispositionActionExecuterAbstractBase
|
|||||||
/**
|
/**
|
||||||
* Indicates whether this transfer is an accession or not
|
* Indicates whether this transfer is an accession or not
|
||||||
*
|
*
|
||||||
* @param isAccession
|
* @param isAccession Is the transfer an accession or not
|
||||||
*/
|
*/
|
||||||
public void setIsAccession(boolean isAccession)
|
public void setIsAccession(boolean isAccession)
|
||||||
{
|
{
|
||||||
@@ -60,6 +60,8 @@ public class TransferAction extends RMDispositionActionExecuterAbstractBase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Sets the transfer service
|
||||||
|
*
|
||||||
* @param transferService transfer service
|
* @param transferService transfer service
|
||||||
*/
|
*/
|
||||||
public void setTransferService(TransferService transferService)
|
public void setTransferService(TransferService transferService)
|
||||||
|
@@ -62,7 +62,7 @@ public interface RecordsManagementAdminService
|
|||||||
/**
|
/**
|
||||||
* Get a list of all registered customisable types and aspects.
|
* Get a list of all registered customisable types and aspects.
|
||||||
*
|
*
|
||||||
* @return {@link Set}<{@link QName}> QName's of customisable types and aspects
|
* @return Set of <{@link QName}>s of customisable types and aspects
|
||||||
*/
|
*/
|
||||||
Set<QName> getCustomisable();
|
Set<QName> getCustomisable();
|
||||||
|
|
||||||
@@ -71,7 +71,7 @@ public interface RecordsManagementAdminService
|
|||||||
* node reference.
|
* node reference.
|
||||||
*
|
*
|
||||||
* @param nodeRef node reference
|
* @param nodeRef node reference
|
||||||
* @return {@link Set}<{@link QName}> QName's of customisable types and aspects, empty if none
|
* @return Set of <{@link QName}>s of customisable types and aspects, empty if none
|
||||||
*/
|
*/
|
||||||
Set<QName> getCustomisable(NodeRef nodeRef);
|
Set<QName> getCustomisable(NodeRef nodeRef);
|
||||||
|
|
||||||
@@ -108,13 +108,13 @@ public interface RecordsManagementAdminService
|
|||||||
/**
|
/**
|
||||||
* This method returns the custom properties that have been defined for the specified
|
* This method returns the custom properties that have been defined for the specified
|
||||||
* customisable RM element.
|
* customisable RM element.
|
||||||
* <P/>
|
* <p>
|
||||||
* Note: the custom property definitions are retrieved from the dictionaryService
|
* Note: the custom property definitions are retrieved from the dictionaryService
|
||||||
* which is notified of any newly created definitions on transaction commit.
|
* which is notified of any newly created definitions on transaction commit.
|
||||||
* Therefore custom properties created in the current transaction will not appear
|
* Therefore custom properties created in the current transaction will not appear
|
||||||
* in the result of this method.
|
* in the result of this method.
|
||||||
*
|
*
|
||||||
* @param customisedElement
|
* @param customisableType
|
||||||
* @return
|
* @return
|
||||||
* @see CustomisableRmElement
|
* @see CustomisableRmElement
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user