Examples of statusChange()


Examples of org.fao.geonet.kernel.metadata.StatusActions.statusChange()

    //--- change status and carry out behaviours for status changes
    StatusActionsFactory saf = new StatusActionsFactory(gc.getStatusActionsClass());

    StatusActions sa = saf.createStatusActions(context);

    Set<Integer> noChange = sa.statusChange(status, metadata, changeDate, changeMessage);

    //--- reindex metadata
    context.info("Re-indexing metadata");
    BatchOpsMetadataReindexer r = new BatchOpsMetadataReindexer(dm, metadata);
    r.process();
View Full Code Here

Examples of org.fao.geonet.kernel.metadata.StatusActions.statusChange()

    StatusActions sa = saf.createStatusActions(context);

    Set<Integer> metadataIds = new HashSet<Integer>();
    metadataIds.add(iLocalId);

    sa.statusChange(status, metadataIds, changeDate, changeMessage);

    //--- reindex metadata
    dataMan.indexMetadata(id, true);

    //--- return id for showing
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.