Examples of SharedItemStateManager


Examples of org.apache.jackrabbit.core.state.SharedItemStateManager

     * @return local item state manager
     * @throws RepositoryException if the workspace can not be accessed
     */
    protected LocalItemStateManager createItemStateManager()
            throws RepositoryException {
        SharedItemStateManager sism = getSharedItemStateManager();
        ItemStateCacheFactory iscf =
            context.getRepositoryContext().getItemStateCacheFactory();

        // FIXME We should be able to avoid the instanceof operator here
        if (context.getSessionImpl() instanceof XASessionImpl) {
View Full Code Here

Examples of org.apache.jackrabbit.core.state.SharedItemStateManager

     *                <code>false</code> to disable it
     * @throws RepositoryException if an error occurs
     */
    protected void setReferentialIntegrityChecking(
            String workspace, boolean enabled) throws RepositoryException {
        SharedItemStateManager manager = getWorkspaceStateManager(workspace);
        manager.setCheckReferences(enabled);
    }
View Full Code Here

Examples of org.apache.jackrabbit.core.state.SharedItemStateManager

     * @throws ItemStateException if an error occurs
     */
    protected SharedItemStateManager createItemStateManager(
            PersistenceManager persistMgr, boolean usesReferences,
            ISMLocking locking) throws ItemStateException {
        return new SharedItemStateManager(
                persistMgr,
                context.getRootNodeId(),
                context.getNodeTypeRegistry(),
                true,
                context.getItemStateCacheFactory(),
View Full Code Here

Examples of org.apache.jackrabbit.core.state.SharedItemStateManager

     *                <code>false</code> to disable it
     * @throws RepositoryException if an error occurs
     */
    protected void setReferentialIntegrityChecking(
            String workspace, boolean enabled) throws RepositoryException {
        SharedItemStateManager manager = getWorkspaceStateManager(workspace);
        manager.setCheckReferences(enabled);
    }
View Full Code Here

Examples of org.apache.jackrabbit.core.state.SharedItemStateManager

     * @throws ItemStateException if an error occurs
     */
    protected SharedItemStateManager createItemStateManager(
            PersistenceManager persistMgr, boolean usesReferences,
            ISMLocking locking) throws ItemStateException {
        return new SharedItemStateManager(
                persistMgr,
                context.getRootNodeId(),
                context.getNodeTypeRegistry(),
                true,
                context.getItemStateCacheFactory(),
View Full Code Here

Examples of org.apache.jackrabbit.core.state.SharedItemStateManager

     *                <code>false</code> to disable it
     * @throws RepositoryException if an error occurs
     */
    protected void setReferentialIntegrityChecking(
            String workspace, boolean enabled) throws RepositoryException {
        SharedItemStateManager manager = getWorkspaceStateManager(workspace);
        manager.setCheckReferences(enabled);
    }
View Full Code Here

Examples of org.apache.jackrabbit.core.state.SharedItemStateManager

                                                            boolean usesReferences,
                                                            ItemStateCacheFactory cacheFactory,
                                                            ISMLocking locking)
            throws ItemStateException {

        return new SharedItemStateManager(persistMgr, rootNodeId, ntReg, true, cacheFactory, locking);
    }
View Full Code Here

Examples of org.apache.jackrabbit.core.state.SharedItemStateManager

     *                <code>false</code> to disable it
     * @throws RepositoryException if an error occurs
     */
    protected void setReferentialIntegrityChecking(
            String workspace, boolean enabled) throws RepositoryException {
        SharedItemStateManager manager = getWorkspaceStateManager(workspace);
        manager.setCheckReferences(enabled);
    }
View Full Code Here

Examples of org.apache.jackrabbit.core.state.SharedItemStateManager

     * @throws ItemStateException if an error occurs
     */
    protected SharedItemStateManager createItemStateManager(
            PersistenceManager persistMgr, boolean usesReferences,
            ISMLocking locking) throws ItemStateException {
        return new SharedItemStateManager(
                persistMgr,
                context.getRootNodeId(),
                context.getNodeTypeRegistry(),
                true,
                context.getItemStateCacheFactory(),
View Full Code Here

Examples of org.apache.jackrabbit.core.state.SharedItemStateManager

     *                <code>false</code> to disable it
     * @throws RepositoryException if an error occurs
     */
    protected void setReferentialIntegrityChecking(
            String workspace, boolean enabled) throws RepositoryException {
        SharedItemStateManager manager = getWorkspaceStateManager(workspace);
        manager.setCheckReferences(enabled);
    }
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.