Class PurgeResourceServiceImpl

  • All Implemented Interfaces:
    org.fcrepo.kernel.api.services.PurgeResourceService

    @Component
    public class PurgeResourceServiceImpl
    extends AbstractDeleteResourceService
    implements org.fcrepo.kernel.api.services.PurgeResourceService
    Implementation of purge resource service.
    Since:
    6.0.0
    Author:
    whikloj
    • Method Detail

      • doAction

        protected void doAction​(org.fcrepo.kernel.api.Transaction tx,
                                org.fcrepo.persistence.api.PersistentStorageSession pSession,
                                org.fcrepo.kernel.api.identifiers.FedoraId resourceId,
                                String userPrincipal)
                         throws org.fcrepo.persistence.api.exceptions.PersistentStorageException
        Description copied from class: AbstractDeleteResourceService
        Perform the actual delete or purge action
        Specified by:
        doAction in class AbstractDeleteResourceService
        Parameters:
        tx - the transaction this occurs in.
        pSession - the persistent storage session.
        resourceId - the resource to perform the action on.
        userPrincipal - the user performing the action
        Throws:
        org.fcrepo.persistence.api.exceptions.PersistentStorageException - if problem performing the action.