mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Revert "Record only merge of version change."
This reverts commit6e197f2a2d
, reversing changes made to211244279a
.
This commit is contained in:
4
pom.xml
4
pom.xml
@@ -4,7 +4,7 @@
|
|||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-rm</artifactId>
|
<artifactId>alfresco-rm</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<version>2.5.5-SNAPSHOT</version>
|
<version>2.5.3.3-SNAPSHOT</version>
|
||||||
<name>Alfresco Records Management</name>
|
<name>Alfresco Records Management</name>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<connection>scm:git:https://git.alfresco.com/records-management/records-management.git</connection>
|
<connection>scm:git:https://git.alfresco.com/records-management/records-management.git</connection>
|
||||||
<developerConnection>scm:git:https://git.alfresco.com/records-management/records-management.git</developerConnection>
|
<developerConnection>scm:git:https://git.alfresco.com/records-management/records-management.git</developerConnection>
|
||||||
<url>https://git.alfresco.com/records-management/records-management</url>
|
<url>https://git.alfresco.com/records-management/records-management</url>
|
||||||
<tag>HEAD</tag>
|
<tag>V2.5.3</tag>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<issueManagement>
|
<issueManagement>
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-rm</artifactId>
|
<artifactId>alfresco-rm</artifactId>
|
||||||
<version>2.5.5-SNAPSHOT</version>
|
<version>2.5.3.3-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-rm</artifactId>
|
<artifactId>alfresco-rm</artifactId>
|
||||||
<version>2.5.5-SNAPSHOT</version>
|
<version>2.5.3.3-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.alfresco</groupId>
|
<groupId>org.alfresco</groupId>
|
||||||
<artifactId>alfresco-rm-community</artifactId>
|
<artifactId>alfresco-rm-community</artifactId>
|
||||||
<version>2.5.5-SNAPSHOT</version>
|
<version>2.5.3.3-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
@@ -485,7 +485,6 @@ public class RMAfterInvocationProvider extends RMSecurityCommon
|
|||||||
returnedObject.getResultSetMetaData().getLimitedBy(),
|
returnedObject.getResultSetMetaData().getLimitedBy(),
|
||||||
PermissionEvaluationMode.EAGER,
|
PermissionEvaluationMode.EAGER,
|
||||||
returnedObject.getResultSetMetaData().getSearchParameters()));
|
returnedObject.getResultSetMetaData().getSearchParameters()));
|
||||||
filteringResultSet.setNumberFound(returnedObject.getNumberFound());
|
|
||||||
return filteringResultSet;
|
return filteringResultSet;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -499,7 +498,6 @@ public class RMAfterInvocationProvider extends RMSecurityCommon
|
|||||||
returnedObject.getResultSetMetaData().getLimitedBy(),
|
returnedObject.getResultSetMetaData().getLimitedBy(),
|
||||||
PermissionEvaluationMode.EAGER,
|
PermissionEvaluationMode.EAGER,
|
||||||
returnedObject.getResultSetMetaData().getSearchParameters()));
|
returnedObject.getResultSetMetaData().getSearchParameters()));
|
||||||
filteringResultSet.setNumberFound(returnedObject.getNumberFound());
|
|
||||||
return filteringResultSet;
|
return filteringResultSet;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -35,7 +35,6 @@ import java.util.Map;
|
|||||||
import org.alfresco.model.ContentModel;
|
import org.alfresco.model.ContentModel;
|
||||||
import org.alfresco.module.org_alfresco_module_rm.RecordsManagementServiceRegistry;
|
import org.alfresco.module.org_alfresco_module_rm.RecordsManagementServiceRegistry;
|
||||||
import org.alfresco.module.org_alfresco_module_rm.model.RecordsManagementModel;
|
import org.alfresco.module.org_alfresco_module_rm.model.RecordsManagementModel;
|
||||||
import org.alfresco.repo.security.authentication.AuthenticationUtil;
|
|
||||||
import org.alfresco.service.cmr.repository.ChildAssociationRef;
|
import org.alfresco.service.cmr.repository.ChildAssociationRef;
|
||||||
import org.alfresco.service.cmr.repository.NodeRef;
|
import org.alfresco.service.cmr.repository.NodeRef;
|
||||||
import org.alfresco.service.cmr.repository.NodeService;
|
import org.alfresco.service.cmr.repository.NodeService;
|
||||||
@@ -52,10 +51,7 @@ public class DispositionScheduleImpl implements DispositionSchedule,
|
|||||||
private NodeService nodeService;
|
private NodeService nodeService;
|
||||||
private RecordsManagementServiceRegistry services;
|
private RecordsManagementServiceRegistry services;
|
||||||
private NodeRef dispositionDefinitionNodeRef;
|
private NodeRef dispositionDefinitionNodeRef;
|
||||||
/** authentication helper */
|
|
||||||
private AuthenticationUtil authenticationUtil;
|
|
||||||
|
|
||||||
|
|
||||||
private List<DispositionActionDefinition> actions;
|
private List<DispositionActionDefinition> actions;
|
||||||
private Map<String, DispositionActionDefinition> actionsById;
|
private Map<String, DispositionActionDefinition> actionsById;
|
||||||
|
|
||||||
@@ -65,11 +61,6 @@ public class DispositionScheduleImpl implements DispositionSchedule,
|
|||||||
|
|
||||||
/** Map of disposition definitions by disposition action name */
|
/** Map of disposition definitions by disposition action name */
|
||||||
private Map<String, DispositionActionDefinition> actionsByDispositionActionName;
|
private Map<String, DispositionActionDefinition> actionsByDispositionActionName;
|
||||||
|
|
||||||
public void setAuthenticationUtil(AuthenticationUtil authenticationUtil)
|
|
||||||
{
|
|
||||||
this.authenticationUtil = authenticationUtil;
|
|
||||||
}
|
|
||||||
|
|
||||||
public DispositionScheduleImpl(RecordsManagementServiceRegistry services, NodeService nodeService, NodeRef nodeRef)
|
public DispositionScheduleImpl(RecordsManagementServiceRegistry services, NodeService nodeService, NodeRef nodeRef)
|
||||||
{
|
{
|
||||||
@@ -109,18 +100,13 @@ public class DispositionScheduleImpl implements DispositionSchedule,
|
|||||||
*/
|
*/
|
||||||
public boolean isRecordLevelDisposition()
|
public boolean isRecordLevelDisposition()
|
||||||
{
|
{
|
||||||
return authenticationUtil.runAsSystem(new AuthenticationUtil.RunAsWork<Boolean>()
|
boolean result = false;
|
||||||
|
Boolean value = (Boolean)this.nodeService.getProperty(this.dispositionDefinitionNodeRef, PROP_RECORD_LEVEL_DISPOSITION);
|
||||||
|
if (value != null)
|
||||||
{
|
{
|
||||||
public Boolean doWork() throws Exception
|
result = value.booleanValue();
|
||||||
{
|
}
|
||||||
Boolean value = (Boolean)nodeService.getProperty(dispositionDefinitionNodeRef, PROP_RECORD_LEVEL_DISPOSITION);
|
return result;
|
||||||
if (value != null)
|
|
||||||
{
|
|
||||||
return value.booleanValue();
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -348,9 +348,6 @@ public class DispositionServiceImpl extends ServiceBaseImpl
|
|||||||
return ds;
|
return ds;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method returns a NodeRef
|
* This method returns a NodeRef
|
||||||
* Gets the disposition instructions
|
* Gets the disposition instructions
|
||||||
@@ -383,7 +380,7 @@ public class DispositionServiceImpl extends ServiceBaseImpl
|
|||||||
NodeRef result = getAssociatedDispositionScheduleImpl(parent);
|
NodeRef result = getAssociatedDispositionScheduleImpl(parent);
|
||||||
if (result == null)
|
if (result == null)
|
||||||
{
|
{
|
||||||
return null;
|
return getOriginDispositionSchedule(parent);
|
||||||
}
|
}
|
||||||
return new DispositionScheduleImpl(serviceRegistry, nodeService, result);
|
return new DispositionScheduleImpl(serviceRegistry, nodeService, result);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user