Uses of Class
org.wso2.carbon.registry.synchronization.SynchronizationException

Packages that use SynchronizationException
org.wso2.carbon.registry.synchronization   
org.wso2.carbon.registry.synchronization.operation   
 

Uses of SynchronizationException in org.wso2.carbon.registry.synchronization
 

Methods in org.wso2.carbon.registry.synchronization that throw SynchronizationException
static void RegistrySynchronizer.checkIn(UserRegistry registry, String filePath)
          Method to check-in some filesystem based resources and collections (which are files and directories), into a specified registry instance.
static void RegistrySynchronizer.checkIn(UserRegistry registry, String filePath, boolean silentUpdate)
          Method to check-in some filesystem based resources and collections (which are files and directories), into a specified registry instance.
static void RegistrySynchronizer.checkIn(UserRegistry registry, String filePath, String registryPath)
          Method to check-in some filesystem based resources and collections (which are files and directories), into a specified registry instance.
static void RegistrySynchronizer.checkIn(UserRegistry registry, String filePath, String registryPath, boolean silentUpdate)
          Method to check-in some filesystem based resources and collections (which are files and directories), into a specified registry instance.
static void RegistrySynchronizer.checkIn(UserRegistry registry, String filePath, String registryPath, boolean silentUpdate, boolean forcedCheckIn)
          Method to check-in some filesystem based resources and collections (which are files and directories), into a specified registry instance.
static void RegistrySynchronizer.checkOut(UserRegistry registry, String filePath, String resourcePath)
          Method to check-out some resources and collections on a registry into a filesystem which will create some files and directories in the process.
static boolean Utils.confirmDelete(File file, File metaFile, UserInputCallback callback)
          This method will obtain the consent from the user to delete the specified file and meta file (corresponding to the file), if the user agrees to.
static boolean Utils.contentChanged(File file)
          Determines whether the content of the given file has changed.
static void Utils.copy(File source, File destination)
          copying the contents of one file to another.
static org.apache.axiom.om.OMElement Utils.createDefaultMetaFile(boolean isCollection, String path, String username)
          Method to generate the XML content of a meta file.
static void Utils.createMetaFile(String fileName, org.apache.axiom.om.OMElement metaData)
          This method creates the file that store the meta data of the current directory or file.
static String Utils.decodeFilename(String path)
          This method will obtain the decoded representation of the given encoded resource path.
static String Utils.encodeResourceName(String resourceName)
          This method will obtain the encoded representation of the given resource name.
static byte[] Utils.getBytesFromFile(File file)
          Returns the contents of the file in a byte array.
static org.apache.axiom.om.OMElement Utils.getMetaOMElement(String filePath)
          Method to obtain the XML representation of the meta information corresponding to the given file.
static org.apache.axiom.om.OMElement Utils.getOMElementFromMetaFile(String metaFilePath)
          Method to obtain the XML representation of the data contained in a meta file.
static org.apache.axiom.om.OMElement Utils.readMetaElement(XMLStreamReader xmlReader)
          This method reads the xml stream up to the children and return the meta element.
static void RegistrySynchronizer.update(UserRegistry registry, String filePath)
          Method to update an already checked out resource or collection to the latest version found on the specified registry instance.
static void RegistrySynchronizer.update(UserRegistry registry, String filePath, boolean silentUpdate)
          Method to update an already checked out resource or collection to the latest version found on the specified registry instance.
 

Uses of SynchronizationException in org.wso2.carbon.registry.synchronization.operation
 

Methods in org.wso2.carbon.registry.synchronization.operation that throw SynchronizationException
 void CheckInCommand.execute(Registry registry)
          This method will execute the check-in command utilizing the various parameters passed when creating the instance of the command.
 void CheckOutCommand.execute(Registry registry)
          This method will execute the check-out command utilizing the various parameters passed when creating the instance of the command.
 void UpdateCommand.execute(Registry registry)
          This method will execute the update command utilizing the various parameters passed when creating the instance of the command.
 void CheckInCommand.execute(Registry registry, UserInputCallback callback)
          This method will execute the check-in command utilizing the various parameters passed when creating the instance of the command.
 void CheckOutCommand.execute(Registry registry, UserInputCallback callback)
          This method will execute the check-out command utilizing the various parameters passed when creating the instance of the command.
 void UpdateCommand.execute(Registry registry, UserInputCallback callback)
          This method will execute the update command utilizing the various parameters passed when creating the instance of the command.
 

Constructors in org.wso2.carbon.registry.synchronization.operation that throw SynchronizationException
CheckInCommand(String inputFile, String workingDir, String userUrl, String username, boolean silentUpdate, boolean cleanRegistry, boolean testContentChanged)
          Creates an instance of a check-in command which can be executed against a provided registry instance.
CheckOutCommand(String outputFile, String workingDir, String userUrl, String username, boolean cleanRegistry)
          Creates an instance of a check-out command which can be executed against a provided registry instance.
UpdateCommand(String outputFile, String workingDir, String userUrl, boolean isSilentUpdate, String username, boolean cleanRegistry)
          Creates an instance of a update command which can be executed against a provided registry instance.
 



Copyright © 2012 WSO2 Inc. All Rights Reserved.