⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 remotenode.java

📁 jsr170接口的java实现。是个apache的开源项目。
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
     * method.     *     * @param name property name     * @param values property values     * @return property     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    RemoteProperty setProperty(String name, Value[] values)            throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#addMixin(String) Node.addMixin(String)} method.     *     * @param name mixin type name     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    void addMixin(String name) throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#removeMixin(String) Node.removeMixin(String)}     * method.     *     * @param name mixin type name     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    void removeMixin(String name) throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#canAddMixin(String) Node.canAddMixin(String)}     * method.     *     * @param name mixin type name     * @return <code>true</code> if the mixin type can be added,     *         <code>false</code> otherwise     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    boolean canAddMixin(String name)            throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#getDefinition() Node.getDefinition()} method.     *     * @return node definition     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    RemoteNodeDefinition getDefinition() throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#checkin() Node.checkin()} method.     *     * @return checked in version     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    RemoteVersion checkin() throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#checkout() Node.checkout()} method.     *     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    void checkout() throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#update(String) Node.update(String)} method.     *     * @param workspace source workspace name     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    void update(String workspace) throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#merge(String,boolean) Node.merge(String,boolean)}     * method.     *     * @param workspace source workspace name     * @param bestEffort best effort flag     * @return nodes that failed to merge     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    RemoteIterator merge(String workspace, boolean bestEffort)            throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#cancelMerge(javax.jcr.version.Version) Node.cancelMerge(Version)}     * method.     *     * @param versionUUID The UUID of the version whose labels are to be returned.     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    void cancelMerge(String versionUUID)            throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#doneMerge(javax.jcr.version.Version) Node.doneMerge(Version)}     * method.     *     * @param versionUUID The UUID of the version whose labels are to be returned.     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    void doneMerge(String versionUUID)            throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#getCorrespondingNodePath(String) Node.getCorrespondingNodePath(String)}     * method.     *     * @param workspace workspace name     * @return corresponding node path     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    String getCorrespondingNodePath(String workspace)            throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#getIndex() Node.getIndex()} method.     *     * @return node index     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    int getIndex() throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#restore(String,boolean) Node.restore(String,boolean)}     * method.     *     * @param version version name     * @param removeExisting flag to remove conflicting nodes     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    void restore(String version, boolean removeExisting)            throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#restore(javax.jcr.version.Version, boolean) Node.restore(Version,boolean)}     * method.     * <p>     * This method has been rename to prevent a naming clash with     * {@link #restore(String, boolean)}.     *     * @param versionUUID The UUID of the version whose labels are to be returned.     * @param removeExisting flag to remove conflicting nodes     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    void restoreByUUID(String versionUUID, boolean removeExisting)            throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#restore(javax.jcr.version.Version, String, boolean) Node.restore(Version,String,boolean)}     * method.     *     * @param versionUUID The UUID of the version whose labels are to be returned.     * @param path the path to which the version is to be restored     * @param removeExisting flag to remove conflicting nodes     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    void restore(String versionUUID, String path, boolean removeExisting)            throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#restoreByLabel(String,boolean) Node.restoreByLabel(String,boolean)}     * method.     *     * @param label version label     * @param removeExisting flag to remove conflicting nodes     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    void restoreByLabel(String label, boolean removeExisting)            throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#unlock() Node.unlock()} method.     *     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    void unlock() throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#holdsLock() Node.holdsLock()} method.     *     * @return <code>true</code> if this node holds a lock,     *         <code>false</code> otherwise     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    boolean holdsLock() throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#isLocked() Node.isLocked()} method.     *     * @return <code>true</code> if this node is locked,     *         <code>false</code> otherwise     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    boolean isLocked() throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#isCheckedOut() Node.isCheckedOut()} method.     *     * @return <code>true</code> if this node is checked out,     *         <code>false</code> otherwise     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    boolean isCheckedOut() throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#getVersionHistory() Node.getVersionHistory()} method.     *     * @return the remote version history.     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    RemoteVersionHistory getVersionHistory() throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#getBaseVersion() Node.getBaseVersion()} method.     *     * @return the remote base version     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    RemoteVersion getBaseVersion() throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#setProperty(String,Value[],int) Node.setProperty(String,Value[],int)}     * method.     *     * @param name property name     * @param values property values     * @param type property type     * @return property     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    RemoteProperty setProperty(String name, Value[] values, int type)            throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#lock(boolean,boolean) Node.lock(boolean,boolean)}     * method.     *     * @param isDeep flag to create a deep lock     * @param isSessionScoped flag to create a session-scoped lock     * @return lock     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    RemoteLock lock(boolean isDeep, boolean isSessionScoped)            throws RepositoryException, RemoteException;    /**     * Remote version of the     * {@link javax.jcr.Node#getLock() Node.getLock()} method.     *     * @return lock     * @throws RepositoryException on repository errors     * @throws RemoteException on RMI errors     */    RemoteLock getLock() throws RepositoryException, RemoteException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -