1 5 6 package org.exoplatform.services.jcr.storage; 7 8 9 import java.util.Calendar ; 10 import java.util.Set ; 11 12 import javax.jcr.PathNotFoundException; 13 import javax.jcr.ItemExistsException; 14 import org.exoplatform.services.jcr.core.NodeData; 15 import org.exoplatform.services.jcr.core.ReferenceableNodeLocation; 16 17 23 24 public interface RepositoryManager { 25 26 Calendar getCurrentTime(); 27 28 String generateUUID(NodeData context); 29 30 ReferenceableNodeLocation getLocationByUUID(String workspaceContainerName, String UUID) throws PathNotFoundException; 31 32 ReferenceableNodeLocation getLocationByPath(String workspaceContainerName, String path) throws PathNotFoundException; 33 34 void addLocation(String workspaceContainerName, String UUID, String path, boolean isNew) throws PathNotFoundException, ItemExistsException; 35 36 void deleteLocationByPath(String workspaceContainerName, String path); 37 38 void deleteLocationByUUID(String workspaceContainerName, String UUID); 39 40 void addWorkspaceContainer(String workspaceContainerName); 41 } 42 | Popular Tags |