You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ju...@apache.org on 2005/04/19 22:03:17 UTC
svn commit: r161959 [1/2] - in
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core: ./ fs/
lock/ nodetype/ nodetype/xml/ query/ security/ state/ state/obj/ version/
virtual/ xml/
Author: jukka
Date: Tue Apr 19 13:03:10 2005
New Revision: 161959
URL: http://svn.apache.org/viewcvs?view=rev&rev=161959
Log:
JCR-97: Improved Checkstyle conformance by removing unnecessary "public" keywords from interface declarations.
Modified:
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/Constants.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/HierarchyManager.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/ItemLifeCycleListener.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NamespaceResolver.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/SessionListener.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/XASession.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/fs/FileSystem.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/lock/LockManager.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/ItemDef.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeDef.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistryListener.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/PropDef.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/Constants.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/ExecutableQuery.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryConstants.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryHandler.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryNodeVisitor.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/TextFilter.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/security/AccessManager.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ItemStateListener.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ItemStateManager.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/PersistenceManager.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/TransactionListener.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/UpdatableItemStateManager.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/obj/BLOBStore.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFreeze.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFrozenNode.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFrozenVersionHistory.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalVersion.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalVersionHistory.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalVersionItem.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/PersistentVersionManager.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/VersionManager.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/VersionSelector.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/virtual/VirtualItemStateProvider.java
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/xml/Importer.java
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/Constants.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/Constants.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/Constants.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/Constants.java Tue Apr 19 13:03:10 2005
@@ -24,376 +24,376 @@
//------------------------------------------< namespace related constants >
// default namespace (empty uri)
- public static final String NS_EMPTY_PREFIX = "";
- public static final String NS_DEFAULT_URI = "";
+ static final String NS_EMPTY_PREFIX = "";
+ static final String NS_DEFAULT_URI = "";
// reserved namespace for repository internal node types
- public static final String NS_REP_PREFIX = "rep";
- public static final String NS_REP_URI = "internal";
+ static final String NS_REP_PREFIX = "rep";
+ static final String NS_REP_URI = "internal";
// reserved namespace for items defined by built-in node types
- public static final String NS_JCR_PREFIX = "jcr";
- public static final String NS_JCR_URI = "http://www.jcp.org/jcr/1.0";
+ static final String NS_JCR_PREFIX = "jcr";
+ static final String NS_JCR_URI = "http://www.jcp.org/jcr/1.0";
// reserved namespace for built-in primary node types
- public static final String NS_NT_PREFIX = "nt";
- public static final String NS_NT_URI = "http://www.jcp.org/jcr/nt/1.0";
+ static final String NS_NT_PREFIX = "nt";
+ static final String NS_NT_URI = "http://www.jcp.org/jcr/nt/1.0";
// reserved namespace for built-in mixin node types
- public static final String NS_MIX_PREFIX = "mix";
- public static final String NS_MIX_URI = "http://www.jcp.org/jcr/mix/1.0";
+ static final String NS_MIX_PREFIX = "mix";
+ static final String NS_MIX_URI = "http://www.jcp.org/jcr/mix/1.0";
// reserved namespace used in the system view XML serialization format
- public static final String NS_SV_PREFIX = "sv";
- public static final String NS_SV_URI = "http://www.jcp.org/jcr/sv/1.0";
+ static final String NS_SV_PREFIX = "sv";
+ static final String NS_SV_URI = "http://www.jcp.org/jcr/sv/1.0";
// reserved namespaces that must not be redefined and should not be used
- public static final String NS_XML_PREFIX = "xml";
- public static final String NS_XML_URI = "http://www.w3.org/XML/1998/namespace";
- public static final String NS_XMLNS_PREFIX = "xmlns";
- public static final String NS_XMLNS_URI = "http://www.w3.org/2000/xmlns/";
+ static final String NS_XML_PREFIX = "xml";
+ static final String NS_XML_URI = "http://www.w3.org/XML/1998/namespace";
+ static final String NS_XMLNS_PREFIX = "xmlns";
+ static final String NS_XMLNS_URI = "http://www.w3.org/2000/xmlns/";
//----------------------------------------< general item name constants >---
/**
* jcr:system
*/
- public static final QName JCR_SYSTEM = new QName(NS_JCR_URI, "system");
+ static final QName JCR_SYSTEM = new QName(NS_JCR_URI, "system");
/**
* jcr:nodeTypes
*/
- public static final QName JCR_NODETYPES = new QName(NS_JCR_URI, "nodeTypes");
+ static final QName JCR_NODETYPES = new QName(NS_JCR_URI, "nodeTypes");
/**
* jcr:uuid
*/
- public static final QName JCR_UUID = new QName(NS_JCR_URI, "uuid");
+ static final QName JCR_UUID = new QName(NS_JCR_URI, "uuid");
/**
* jcr:primaryType
*/
- public static final QName JCR_PRIMARYTYPE = new QName(NS_JCR_URI, "primaryType");
+ static final QName JCR_PRIMARYTYPE = new QName(NS_JCR_URI, "primaryType");
/**
* jcr:mixinTypes
*/
- public static final QName JCR_MIXINTYPES = new QName(NS_JCR_URI, "mixinTypes");
+ static final QName JCR_MIXINTYPES = new QName(NS_JCR_URI, "mixinTypes");
/**
* jcr:created
*/
- public static final QName JCR_CREATED = new QName(NS_JCR_URI, "created");
+ static final QName JCR_CREATED = new QName(NS_JCR_URI, "created");
/**
* jcr:lastModified
*/
- public static final QName JCR_LASTMODIFIED = new QName(NS_JCR_URI, "lastModified");
+ static final QName JCR_LASTMODIFIED = new QName(NS_JCR_URI, "lastModified");
//------------------------------------< xml related item name constants >---
/**
* jcr:root (dummy name for root node used in XML serialization)
*/
- public static final QName JCR_ROOT = new QName(NS_JCR_URI, "root");
+ static final QName JCR_ROOT = new QName(NS_JCR_URI, "root");
/**
* jcr:xmltext
*/
- public static final QName JCR_XMLTEXT = new QName(NS_JCR_URI, "xmltext");
+ static final QName JCR_XMLTEXT = new QName(NS_JCR_URI, "xmltext");
/**
* jcr:xmlcharacters
*/
- public static final QName JCR_XMLCHARACTERS = new QName(NS_JCR_URI, "xmlcharacters");
+ static final QName JCR_XMLCHARACTERS = new QName(NS_JCR_URI, "xmlcharacters");
//----------------------------------------< locking item name constants >---
/**
* jcr:lockOwner
*/
- public static final QName JCR_LOCKOWNER = new QName(NS_JCR_URI, "lockOwner");
+ static final QName JCR_LOCKOWNER = new QName(NS_JCR_URI, "lockOwner");
/**
* jcr:lockIsDeep
*/
- public static final QName JCR_LOCKISDEEP = new QName(NS_JCR_URI, "lockIsDeep");
+ static final QName JCR_LOCKISDEEP = new QName(NS_JCR_URI, "lockIsDeep");
//-------------------------------------< versioning item name constants >---
/**
* jcr:versionStorage
*/
- public static final QName JCR_VERSIONSTORAGE = new QName(NS_JCR_URI, "versionStorage");
+ static final QName JCR_VERSIONSTORAGE = new QName(NS_JCR_URI, "versionStorage");
/**
* jcr:mergeFailed
*/
- public static final QName JCR_MERGEFAILED = new QName(NS_JCR_URI, "mergeFailed");
+ static final QName JCR_MERGEFAILED = new QName(NS_JCR_URI, "mergeFailed");
/**
* jcr:frozenNode
*/
- public static final QName JCR_FROZENNODE = new QName(NS_JCR_URI, "frozenNode");
+ static final QName JCR_FROZENNODE = new QName(NS_JCR_URI, "frozenNode");
/**
* jcr:frozenUuid
*/
- public static final QName JCR_FROZENUUID = new QName(NS_JCR_URI, "frozenUuid");
+ static final QName JCR_FROZENUUID = new QName(NS_JCR_URI, "frozenUuid");
/**
* jcr:frozenPrimaryType
*/
- public static final QName JCR_FROZENPRIMARYTYPE = new QName(NS_JCR_URI, "frozenPrimaryType");
+ static final QName JCR_FROZENPRIMARYTYPE = new QName(NS_JCR_URI, "frozenPrimaryType");
/**
* jcr:frozenMixinTypes
*/
- public static final QName JCR_FROZENMIXINTYPES = new QName(NS_JCR_URI, "frozenMixinTypes");
+ static final QName JCR_FROZENMIXINTYPES = new QName(NS_JCR_URI, "frozenMixinTypes");
/**
* jcr:predecessors
*/
- public static final QName JCR_PREDECESSORS = new QName(NS_JCR_URI, "predecessors");
+ static final QName JCR_PREDECESSORS = new QName(NS_JCR_URI, "predecessors");
/**
* jcr:versionLabels
*/
- public static final QName JCR_VERSIONLABELS = new QName(NS_JCR_URI, "versionLabels");
+ static final QName JCR_VERSIONLABELS = new QName(NS_JCR_URI, "versionLabels");
/**
* jcr:successors
*/
- public static final QName JCR_SUCCESSORS = new QName(NS_JCR_URI, "successors");
+ static final QName JCR_SUCCESSORS = new QName(NS_JCR_URI, "successors");
/**
* jcr:isCheckedOut
*/
- public static final QName JCR_ISCHECKEDOUT = new QName(NS_JCR_URI, "isCheckedOut");
+ static final QName JCR_ISCHECKEDOUT = new QName(NS_JCR_URI, "isCheckedOut");
/**
* jcr:versionHistory
*/
- public static final QName JCR_VERSIONHISTORY = new QName(NS_JCR_URI, "versionHistory");
+ static final QName JCR_VERSIONHISTORY = new QName(NS_JCR_URI, "versionHistory");
/**
* jcr:baseVersion
*/
- public static final QName JCR_BASEVERSION = new QName(NS_JCR_URI, "baseVersion");
+ static final QName JCR_BASEVERSION = new QName(NS_JCR_URI, "baseVersion");
/**
* jcr:child
*/
- public static final QName JCR_CHILD = new QName(NS_JCR_URI, "child");
+ static final QName JCR_CHILD = new QName(NS_JCR_URI, "child");
/**
* jcr:rootVersion
*/
- public static final QName JCR_ROOTVERSION = new QName(NS_JCR_URI, "rootVersion");
+ static final QName JCR_ROOTVERSION = new QName(NS_JCR_URI, "rootVersion");
/**
* jcr:versionableUuid
*/
- public static final QName JCR_VERSIONABLEUUID = new QName(NS_JCR_URI, "versionableUuid");
+ static final QName JCR_VERSIONABLEUUID = new QName(NS_JCR_URI, "versionableUuid");
//--------------------------------------< node type item name constants >---
/**
* jcr:nodeTypeName
*/
- public static final QName JCR_NODETYPENAME = new QName(NS_JCR_URI, "nodeTypeName");
+ static final QName JCR_NODETYPENAME = new QName(NS_JCR_URI, "nodeTypeName");
/**
* jcr:hasOrderableChildNodes
*/
- public static final QName JCR_HASORDERABLECHILDNODES = new QName(NS_JCR_URI, "hasOrderableChildNodes");
+ static final QName JCR_HASORDERABLECHILDNODES = new QName(NS_JCR_URI, "hasOrderableChildNodes");
/**
* jcr:isMixin
*/
- public static final QName JCR_ISMIXIN = new QName(NS_JCR_URI, "isMixin");
+ static final QName JCR_ISMIXIN = new QName(NS_JCR_URI, "isMixin");
/**
* jcr:supertypes
*/
- public static final QName JCR_SUPERTYPES = new QName(NS_JCR_URI, "supertypes");
+ static final QName JCR_SUPERTYPES = new QName(NS_JCR_URI, "supertypes");
/**
* jcr:propertyDefinition
*/
- public static final QName JCR_PROPERTYDEFINITION = new QName(NS_JCR_URI, "propertyDefinition");
+ static final QName JCR_PROPERTYDEFINITION = new QName(NS_JCR_URI, "propertyDefinition");
/**
* jcr:name
*/
- public static final QName JCR_NAME = new QName(NS_JCR_URI, "name");
+ static final QName JCR_NAME = new QName(NS_JCR_URI, "name");
/**
* jcr:mandatory
*/
- public static final QName JCR_MANDATORY = new QName(NS_JCR_URI, "mandatory");
+ static final QName JCR_MANDATORY = new QName(NS_JCR_URI, "mandatory");
/**
* jcr:protected
*/
- public static final QName JCR_PROTECTED = new QName(NS_JCR_URI, "protected");
+ static final QName JCR_PROTECTED = new QName(NS_JCR_URI, "protected");
/**
* jcr:requiredType
*/
- public static final QName JCR_REQUIREDTYPE = new QName(NS_JCR_URI, "requiredType");
+ static final QName JCR_REQUIREDTYPE = new QName(NS_JCR_URI, "requiredType");
/**
* jcr:onParentVersion
*/
- public static final QName JCR_ONPARENTVERSION = new QName(NS_JCR_URI, "onParentVersion");
+ static final QName JCR_ONPARENTVERSION = new QName(NS_JCR_URI, "onParentVersion");
/**
* jcr:primaryItemName
*/
- public static final QName JCR_PRIMARYITEMNAME = new QName(NS_JCR_URI, "primaryItemName");
+ static final QName JCR_PRIMARYITEMNAME = new QName(NS_JCR_URI, "primaryItemName");
/**
* jcr:multiple
*/
- public static final QName JCR_MULTIPLE = new QName(NS_JCR_URI, "multiple");
+ static final QName JCR_MULTIPLE = new QName(NS_JCR_URI, "multiple");
/**
* jcr:valueConstraints
*/
- public static final QName JCR_VALUECONSTRAINTS = new QName(NS_JCR_URI, "valueConstraints");
+ static final QName JCR_VALUECONSTRAINTS = new QName(NS_JCR_URI, "valueConstraints");
/**
* jcr:defaultValues
*/
- public static final QName JCR_DEFAULTVALUES = new QName(NS_JCR_URI, "defaultValues");
+ static final QName JCR_DEFAULTVALUES = new QName(NS_JCR_URI, "defaultValues");
/**
* jcr:autoCreated
*/
- public static final QName JCR_AUTOCREATED = new QName(NS_JCR_URI, "autoCreated");
+ static final QName JCR_AUTOCREATED = new QName(NS_JCR_URI, "autoCreated");
/**
* jcr:childNodeDefinition
*/
- public static final QName JCR_CHILDNODEDEFINITION = new QName(NS_JCR_URI, "childNodeDefinition");
+ static final QName JCR_CHILDNODEDEFINITION = new QName(NS_JCR_URI, "childNodeDefinition");
/**
* jcr:sameNameSiblings
*/
- public static final QName JCR_SAMENAMESIBLINGS = new QName(NS_JCR_URI, "sameNameSiblings");
+ static final QName JCR_SAMENAMESIBLINGS = new QName(NS_JCR_URI, "sameNameSiblings");
/**
* jcr:defaultPrimaryType
*/
- public static final QName JCR_DEFAULTPRIMARYTYPE = new QName(NS_JCR_URI, "defaultPrimaryType");
+ static final QName JCR_DEFAULTPRIMARYTYPE = new QName(NS_JCR_URI, "defaultPrimaryType");
/**
* jcr:requiredPrimaryTypes
*/
- public static final QName JCR_REQUIREDPRIMARYTYPES = new QName(NS_JCR_URI, "requiredPrimaryTypes");
+ static final QName JCR_REQUIREDPRIMARYTYPES = new QName(NS_JCR_URI, "requiredPrimaryTypes");
//-------------------------------------------< node type name constants >---
/**
* rep:root
*/
- public static final QName REP_ROOT = new QName(NS_REP_URI, "root");
+ static final QName REP_ROOT = new QName(NS_REP_URI, "root");
/**
* rep:system
*/
- public static final QName REP_SYSTEM = new QName(NS_REP_URI, "system");
+ static final QName REP_SYSTEM = new QName(NS_REP_URI, "system");
/**
* rep:versionStorage
*/
- public static final QName REP_VERSIONSTORAGE = new QName(NS_REP_URI, "versionStorage");
+ static final QName REP_VERSIONSTORAGE = new QName(NS_REP_URI, "versionStorage");
/**
* rep:versionStorage
*/
- public static final QName REP_NODETYPES = new QName(NS_REP_URI, "nodeTypes");
+ static final QName REP_NODETYPES = new QName(NS_REP_URI, "nodeTypes");
/**
* nt:unstructured
*/
- public static final QName NT_UNSTRUCTURED = new QName(NS_NT_URI, "unstructured");
+ static final QName NT_UNSTRUCTURED = new QName(NS_NT_URI, "unstructured");
/**
* nt:base
*/
- public static final QName NT_BASE = new QName(NS_NT_URI, "base");
+ static final QName NT_BASE = new QName(NS_NT_URI, "base");
/**
* nt:hierarchyNode
*/
- public static final QName NT_HIERARCHYNODE = new QName(NS_NT_URI, "hierarchyNode");
+ static final QName NT_HIERARCHYNODE = new QName(NS_NT_URI, "hierarchyNode");
/**
* nt:resource
*/
- public static final QName NT_RESOURCE = new QName(NS_NT_URI, "resource");
+ static final QName NT_RESOURCE = new QName(NS_NT_URI, "resource");
/**
* nt:query
*/
- public static final QName NT_QUERY = new QName(NS_NT_URI, "query");
+ static final QName NT_QUERY = new QName(NS_NT_URI, "query");
/**
* mix:referenceable
*/
- public static final QName MIX_REFERENCEABLE = new QName(NS_MIX_URI, "referenceable");
+ static final QName MIX_REFERENCEABLE = new QName(NS_MIX_URI, "referenceable");
/**
* mix:referenceable
*/
- public static final QName MIX_LOCKABLE = new QName(NS_MIX_URI, "lockable");
+ static final QName MIX_LOCKABLE = new QName(NS_MIX_URI, "lockable");
/**
* mix:versionable
*/
- public static final QName MIX_VERSIONABLE = new QName(NS_MIX_URI, "versionable");
+ static final QName MIX_VERSIONABLE = new QName(NS_MIX_URI, "versionable");
/**
* nt:versionHistory
*/
- public static final QName NT_VERSIONHISTORY = new QName(NS_NT_URI, "versionHistory");
+ static final QName NT_VERSIONHISTORY = new QName(NS_NT_URI, "versionHistory");
/**
* nt:version
*/
- public static final QName NT_VERSION = new QName(NS_NT_URI, "version");
+ static final QName NT_VERSION = new QName(NS_NT_URI, "version");
/**
* nt:versionLabels
*/
- public static final QName NT_VERSIONLABELS = new QName(NS_NT_URI, "versionLabels");
+ static final QName NT_VERSIONLABELS = new QName(NS_NT_URI, "versionLabels");
/**
* nt:versionedChild
*/
- public static final QName NT_VERSIONEDCHILD = new QName(NS_NT_URI, "versionedChild");
+ static final QName NT_VERSIONEDCHILD = new QName(NS_NT_URI, "versionedChild");
/**
* nt:frozenNode
*/
- public static final QName NT_FROZENNODE = new QName(NS_NT_URI, "frozenNode");
+ static final QName NT_FROZENNODE = new QName(NS_NT_URI, "frozenNode");
/**
* nt:nodeType
*/
- public static final QName NT_NODETYPE = new QName(NS_NT_URI, "nodeType");
+ static final QName NT_NODETYPE = new QName(NS_NT_URI, "nodeType");
/**
* nt:propertyDefinition
*/
- public static final QName NT_PROPERTYDEFINITION = new QName(NS_NT_URI, "propertyDefinition");
+ static final QName NT_PROPERTYDEFINITION = new QName(NS_NT_URI, "propertyDefinition");
/**
* nt:childNodeDefinition
*/
- public static final QName NT_CHILDNODEDEFINITION = new QName(NS_NT_URI, "childNodeDefinition");
+ static final QName NT_CHILDNODEDEFINITION = new QName(NS_NT_URI, "childNodeDefinition");
//-------------------------------------------< security related constants >
/**
@@ -403,6 +403,6 @@
*
* @see javax.jcr.Session#impersonate(javax.jcr.Credentials)
*/
- public static final String IMPERSONATOR_ATTRIBUTE =
+ static final String IMPERSONATOR_ATTRIBUTE =
"org.apache.jackrabbit.core.security.impersonator";
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/HierarchyManager.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/HierarchyManager.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/HierarchyManager.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/HierarchyManager.java Tue Apr 19 13:03:10 2005
@@ -31,7 +31,7 @@
* @throws PathNotFoundException
* @throws RepositoryException
*/
- public ItemId resolvePath(Path path) throws PathNotFoundException, RepositoryException;
+ ItemId resolvePath(Path path) throws PathNotFoundException, RepositoryException;
/**
* @param id
@@ -39,7 +39,7 @@
* @throws ItemNotFoundException
* @throws RepositoryException
*/
- public Path getPath(ItemId id) throws ItemNotFoundException, RepositoryException;
+ Path getPath(ItemId id) throws ItemNotFoundException, RepositoryException;
/**
* @param id
@@ -47,7 +47,7 @@
* @throws ItemNotFoundException
* @throws RepositoryException
*/
- public QName getName(ItemId id) throws ItemNotFoundException, RepositoryException;
+ QName getName(ItemId id) throws ItemNotFoundException, RepositoryException;
/**
* Returns the depth of the specified item which is equivalent to
@@ -57,7 +57,7 @@
* @throws ItemNotFoundException
* @throws RepositoryException
*/
- public int getDepth(ItemId id) throws ItemNotFoundException, RepositoryException;
+ int getDepth(ItemId id) throws ItemNotFoundException, RepositoryException;
/**
* @param id
@@ -65,7 +65,7 @@
* @throws ItemNotFoundException
* @throws RepositoryException
*/
- public Path[] getAllPaths(ItemId id) throws ItemNotFoundException, RepositoryException;
+ Path[] getAllPaths(ItemId id) throws ItemNotFoundException, RepositoryException;
/**
* @param id
@@ -74,7 +74,7 @@
* @throws ItemNotFoundException
* @throws RepositoryException
*/
- public Path[] getAllPaths(ItemId id, boolean includeZombies)
+ Path[] getAllPaths(ItemId id, boolean includeZombies)
throws ItemNotFoundException, RepositoryException;
/**
@@ -83,7 +83,7 @@
* @throws ItemNotFoundException
* @throws RepositoryException
*/
- public NodeId[] listParents(ItemId id) throws ItemNotFoundException, RepositoryException;
+ NodeId[] listParents(ItemId id) throws ItemNotFoundException, RepositoryException;
/**
* @param id
@@ -91,7 +91,7 @@
* @throws ItemNotFoundException
* @throws RepositoryException
*/
- public ItemId[] listChildren(NodeId id) throws ItemNotFoundException, RepositoryException;
+ ItemId[] listChildren(NodeId id) throws ItemNotFoundException, RepositoryException;
/**
* @param id
@@ -99,5 +99,5 @@
* @throws ItemNotFoundException
* @throws RepositoryException
*/
- public ItemId[] listZombieChildren(NodeId id) throws ItemNotFoundException, RepositoryException;
+ ItemId[] listZombieChildren(NodeId id) throws ItemNotFoundException, RepositoryException;
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/ItemLifeCycleListener.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/ItemLifeCycleListener.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/ItemLifeCycleListener.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/ItemLifeCycleListener.java Tue Apr 19 13:03:10 2005
@@ -29,7 +29,7 @@
*
* @param item the instance which has been created
*/
- public void itemCreated(ItemImpl item);
+ void itemCreated(ItemImpl item);
/**
* Called when an <code>ItemImpl</code> instance has been invalidated
@@ -43,7 +43,7 @@
* @param id the id of the instance that has been discarded
* @param item the instance which has been discarded
*/
- public void itemInvalidated(ItemId id, ItemImpl item);
+ void itemInvalidated(ItemId id, ItemImpl item);
/**
* Called when an <code>ItemImpl</code> instance has been destroyed
@@ -57,5 +57,5 @@
* @param id the id of the instance that has been destroyed
* @param item the instance which has been destroyed
*/
- public void itemDestroyed(ItemId id, ItemImpl item);
+ void itemDestroyed(ItemId id, ItemImpl item);
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NamespaceResolver.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NamespaceResolver.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NamespaceResolver.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NamespaceResolver.java Tue Apr 19 13:03:10 2005
@@ -30,7 +30,7 @@
* @return the namespace URI to which the given prefix is mapped.
* @throws NamespaceException if the prefix is unknown.
*/
- public String getURI(String prefix) throws NamespaceException;
+ String getURI(String prefix) throws NamespaceException;
/**
* Returns the prefix which is mapped to the given URI.
@@ -39,5 +39,5 @@
* @return the prefix mapped to the given URI.
* @throws NamespaceException if the URI is unknown.
*/
- public String getPrefix(String uri) throws NamespaceException;
+ String getPrefix(String uri) throws NamespaceException;
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/SessionListener.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/SessionListener.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/SessionListener.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/SessionListener.java Tue Apr 19 13:03:10 2005
@@ -31,7 +31,7 @@
*
* @param session the <code>Session</code> that is about to be 'closed'
*/
- public void loggingOut(SessionImpl session);
+ void loggingOut(SessionImpl session);
/**
* Called when a <code>Session</code> has been 'closed' by
@@ -39,5 +39,5 @@
*
* @param session the <code>Session</code> that has been 'closed'
*/
- public void loggedOut(SessionImpl session);
+ void loggedOut(SessionImpl session);
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/XASession.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/XASession.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/XASession.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/XASession.java Tue Apr 19 13:03:10 2005
@@ -40,5 +40,5 @@
*
* @return the <code>XAResource</code> object.
*/
- public XAResource getXAResource();
+ XAResource getXAResource();
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/fs/FileSystem.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/fs/FileSystem.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/fs/FileSystem.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/fs/FileSystem.java Tue Apr 19 13:03:10 2005
@@ -33,19 +33,19 @@
/**
* File separator
*/
- public static final String SEPARATOR = "/";
+ static final String SEPARATOR = "/";
/**
* File separator character
*/
- public static final char SEPARATOR_CHAR = '/';
+ static final char SEPARATOR_CHAR = '/';
/**
* Initialize the file system
*
* @throws FileSystemException if the file system initialization fails
*/
- public void init() throws FileSystemException;
+ void init() throws FileSystemException;
/**
* Close the file system. After calling this method, the file system is no
@@ -53,7 +53,7 @@
*
* @throws FileSystemException
*/
- public void close() throws FileSystemException;
+ void close() throws FileSystemException;
/**
* Returns an input stream of the contents of the file denoted by this path.
@@ -63,7 +63,7 @@
* @throws FileSystemException if the file does not exist
* or if it cannot be read from
*/
- public InputStream getInputStream(String filePath) throws FileSystemException;
+ InputStream getInputStream(String filePath) throws FileSystemException;
/**
* Returns an output stream for writing bytes to the file denoted by this path.
@@ -74,7 +74,7 @@
* @return an output stream for writing bytes to the file.
* @throws FileSystemException if the file cannot be written to or created
*/
- public OutputStream getOutputStream(String filePath) throws FileSystemException;
+ OutputStream getOutputStream(String filePath) throws FileSystemException;
/**
* Returns an output stream for writing bytes to the file denoted by this path.
@@ -90,7 +90,7 @@
* not support file access through a
* {@link RandomAccessOutputStream}.
*/
- public RandomAccessOutputStream getRandomAccessOutputStream(String filePath)
+ RandomAccessOutputStream getRandomAccessOutputStream(String filePath)
throws FileSystemException, UnsupportedOperationException;
/**
@@ -102,7 +102,7 @@
* @throws FileSystemException if a file system entry denoted by path
* already exists or if another error occurs.
*/
- public void createFolder(String folderPath) throws FileSystemException;
+ void createFolder(String folderPath) throws FileSystemException;
/**
* Tests whether the file system entry denoted by this path exists.
@@ -111,7 +111,7 @@
* @return true if the file system entry at path is a file; false otherwise.
* @throws FileSystemException
*/
- public boolean exists(String path) throws FileSystemException;
+ boolean exists(String path) throws FileSystemException;
/**
* Tests whether the file system entry denoted by this path is a file.
@@ -120,7 +120,7 @@
* @return true if the file system entry at path is a file; false otherwise.
* @throws FileSystemException
*/
- public boolean isFile(String path) throws FileSystemException;
+ boolean isFile(String path) throws FileSystemException;
/**
* Tests whether the file system entry denoted by this path is a folder.
@@ -129,7 +129,7 @@
* @return true if the file system entry at path is a folder; false otherwise.
* @throws FileSystemException
*/
- public boolean isFolder(String path) throws FileSystemException;
+ boolean isFolder(String path) throws FileSystemException;
/**
* Tests whether the file system entry denoted by this path has child entries.
@@ -138,7 +138,7 @@
* @return true if the file system entry at path has child entries; false otherwise.
* @throws FileSystemException
*/
- public boolean hasChildren(String path) throws FileSystemException;
+ boolean hasChildren(String path) throws FileSystemException;
/**
* Returns the length of the file denoted by this path.
@@ -148,7 +148,7 @@
* or -1L if the length can't be determined.
* @throws FileSystemException if the path does not denote an existing file.
*/
- public long length(String filePath) throws FileSystemException;
+ long length(String filePath) throws FileSystemException;
/**
* Returns the time that the file system entry denoted by this path
@@ -161,7 +161,7 @@
* time can't be determined.
* @throws FileSystemException if the file system entry does not exist.
*/
- public long lastModified(String path) throws FileSystemException;
+ long lastModified(String path) throws FileSystemException;
/**
* Set the modified time of an existing file to now.
@@ -169,7 +169,7 @@
* @param filePath the path of the file.
* @throws FileSystemException if the path does not denote an existing file.
*/
- public void touch(String filePath) throws FileSystemException;
+ void touch(String filePath) throws FileSystemException;
/**
* Returns an array of strings naming the files and folders
@@ -181,7 +181,7 @@
* @throws FileSystemException if this path does not denote a folder or if
* another error occurs.
*/
- public String[] list(String folderPath) throws FileSystemException;
+ String[] list(String folderPath) throws FileSystemException;
/**
* Returns an array of strings naming the files in the folder
@@ -193,7 +193,7 @@
* @throws FileSystemException if this path does not denote a folder or if
* another error occurs.
*/
- public String[] listFiles(String folderPath) throws FileSystemException;
+ String[] listFiles(String folderPath) throws FileSystemException;
/**
* Returns an array of strings naming the folders in the folder
@@ -205,7 +205,7 @@
* @throws FileSystemException if this path does not denote a folder or if
* another error occurs.
*/
- public String[] listFolders(String folderPath) throws FileSystemException;
+ String[] listFolders(String folderPath) throws FileSystemException;
/**
* Deletes the file denoted by this path.
@@ -214,7 +214,7 @@
* @throws FileSystemException if this path does not denote a file or if
* another error occurs.
*/
- public void deleteFile(String filePath) throws FileSystemException;
+ void deleteFile(String filePath) throws FileSystemException;
/**
* Deletes the folder denoted by this path. Any contents of this folder
@@ -224,7 +224,7 @@
* @throws FileSystemException if this path does not denote a folder or if
* another error occurs.
*/
- public void deleteFolder(String folderPath) throws FileSystemException;
+ void deleteFolder(String folderPath) throws FileSystemException;
/**
* Moves a file or folder to a new location.
@@ -233,7 +233,7 @@
* @param destPath the destination path to which the file or folder is to be moved.
* @throws FileSystemException if the move fails
*/
- public void move(String srcPath, String destPath) throws FileSystemException;
+ void move(String srcPath, String destPath) throws FileSystemException;
/**
* Copies a file or folder to a new location.
@@ -242,6 +242,6 @@
* @param destPath the destination path to which the file or folder is to be copied.
* @throws FileSystemException if the copy fails
*/
- public void copy(String srcPath, String destPath) throws FileSystemException;
+ void copy(String srcPath, String destPath) throws FileSystemException;
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/lock/LockManager.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/lock/LockManager.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/lock/LockManager.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/lock/LockManager.java Tue Apr 19 13:03:10 2005
@@ -41,7 +41,7 @@
* node is locked and <code>isDeep</code> is <code>true</code>
* @see javax.jcr.Node#lock
*/
- public Lock lock(NodeImpl node, boolean isDeep, boolean isSessionScoped)
+ Lock lock(NodeImpl node, boolean isDeep, boolean isSessionScoped)
throws LockException, RepositoryException;
/**
@@ -52,7 +52,7 @@
* @throws LockException if this node is not locked
* @see javax.jcr.Node#getLock
*/
- public Lock getLock(NodeImpl node) throws LockException, RepositoryException;
+ Lock getLock(NodeImpl node) throws LockException, RepositoryException;
/**
* Removes the lock on a node given by its path.
@@ -61,7 +61,7 @@
* does not have the correct lock token
* @see javax.jcr.Node#unlock
*/
- public void unlock(NodeImpl node) throws LockException, RepositoryException;
+ void unlock(NodeImpl node) throws LockException, RepositoryException;
/**
* Returns <code>true</code> if the node given holds a lock;
@@ -71,7 +71,7 @@
* otherwise returns <code>false</code>
* @see javax.jcr.Node#holdsLock
*/
- public boolean holdsLock(NodeImpl node) throws RepositoryException;
+ boolean holdsLock(NodeImpl node) throws RepositoryException;
/**
* Returns <code>true</code> if this node is locked either as a result
@@ -83,7 +83,7 @@
* node; otherwise returns <code>false</code>
* @see javax.jcr.Node#isLocked
*/
- public boolean isLocked(NodeImpl node) throws RepositoryException;
+ boolean isLocked(NodeImpl node) throws RepositoryException;
/**
* Check whether the node given is locked by somebody else than the
@@ -94,7 +94,7 @@
* @throws LockException if write access to the specified node is not allowed
* @throws RepositoryException if some other error occurs
*/
- public void checkLock(NodeImpl node)
+ void checkLock(NodeImpl node)
throws LockException, RepositoryException;
/**
@@ -107,7 +107,7 @@
* @throws LockException if write access to the specified path is not allowed
* @throws RepositoryException if some other error occurs
*/
- public void checkLock(Path path, Session session)
+ void checkLock(Path path, Session session)
throws LockException, RepositoryException;
/**
@@ -115,12 +115,12 @@
* @param session session that has a added lock token
* @param lt added lock token
*/
- public void lockTokenAdded(SessionImpl session, String lt);
+ void lockTokenAdded(SessionImpl session, String lt);
/**
* Invoked by a session to inform that a lock token has been removed.
* @param session session that has a removed lock token
* @param lt removed lock token
*/
- public void lockTokenRemoved(SessionImpl session, String lt);
+ void lockTokenRemoved(SessionImpl session, String lt);
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/ItemDef.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/ItemDef.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/ItemDef.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/ItemDef.java Tue Apr 19 13:03:10 2005
@@ -27,55 +27,55 @@
/**
* '*' denoting residual child item definition
*/
- public static final QName ANY_NAME = new QName(Constants.NS_DEFAULT_URI, "*");
+ static final QName ANY_NAME = new QName(Constants.NS_DEFAULT_URI, "*");
/**
* Returns the name of this item def.
* @return the name of this item def.
*/
- public QName getName();
+ QName getName();
/**
* Returns the name of the declaring node type.
* @return the name of the declaring node type.
*/
- public QName getDeclaringNodeType();
+ QName getDeclaringNodeType();
/**
* Returns the 'autoCreated' flag.
* @return the 'autoCreated' flag.
*/
- public boolean isAutoCreated();
+ boolean isAutoCreated();
/**
* Returns the 'onParentVersion' attribute.
* @return the 'onParentVersion' attribute.
*/
- public int getOnParentVersion();
+ int getOnParentVersion();
/**
* Returns the 'protected' flag.
* @return the 'protected' flag.
*/
- public boolean isProtected();
+ boolean isProtected();
/**
* Returns the 'mandatory' flag.
* @return the 'mandatory' flag.
*/
- public boolean isMandatory();
+ boolean isMandatory();
/**
* Checks if this item definition is a residual definition.
* @return <code>true</code> if this is a residual definition;
* <code>false</code> otherwise.
*/
- public boolean definesResidual();
+ boolean definesResidual();
/**
* Checks if this is a node definition.
* @return <code>true</code> if this is a node definition;
* <code>false</code> otherwise, i.e. this is a property definition.
*/
- public boolean definesNode();
+ boolean definesNode();
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeDef.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeDef.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeDef.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeDef.java Tue Apr 19 13:03:10 2005
@@ -27,24 +27,24 @@
* Returns the id of this node definition.
* @return the id of this node definition.
*/
- public NodeDefId getId();
+ NodeDefId getId();
/**
* Returns the name of the default primary type.
* @return the name of the default primary type.
*/
- public QName getDefaultPrimaryType();
+ QName getDefaultPrimaryType();
/**
* Returns the array of names of the required primary types.
* @return the array of names of the required primary types.
*/
- public QName[] getRequiredPrimaryTypes();
+ QName[] getRequiredPrimaryTypes();
/**
* Returns the 'allowsSameNameSiblings' flag.
* @return the 'allowsSameNameSiblings' flag.
*/
- public boolean allowsSameNameSiblings();
+ boolean allowsSameNameSiblings();
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistryListener.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistryListener.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistryListener.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistryListener.java Tue Apr 19 13:03:10 2005
@@ -32,19 +32,19 @@
*
* @param ntName name of the node type that has been registered
*/
- public void nodeTypeRegistered(QName ntName);
+ void nodeTypeRegistered(QName ntName);
/**
* Called when a node type has been re-registered.
*
* @param ntName name of the node type that has been registered
*/
- public void nodeTypeReRegistered(QName ntName);
+ void nodeTypeReRegistered(QName ntName);
/**
* Called when a node type has been deregistered.
*
* @param ntName name of the node type that has been unregistered
*/
- public void nodeTypeUnregistered(QName ntName);
+ void nodeTypeUnregistered(QName ntName);
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/PropDef.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/PropDef.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/PropDef.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/PropDef.java Tue Apr 19 13:03:10 2005
@@ -27,30 +27,30 @@
* Returns the id of this property definition.
* @return the id of this property definition.
*/
- public PropDefId getId();
+ PropDefId getId();
/**
* Returns the required type.
* @return the required type.
*/
- public int getRequiredType();
+ int getRequiredType();
/**
* Returns the array of value constraints.
* @return the array of value constraints.
*/
- public ValueConstraint[] getValueConstraints();
+ ValueConstraint[] getValueConstraints();
/**
* Returns the array of default values.
* @return the array of default values.
*/
- public InternalValue[] getDefaultValues();
+ InternalValue[] getDefaultValues();
/**
* Returns the 'multiple' flag.
* @return the 'multiple' flag.
*/
- public boolean isMultiple();
+ boolean isMultiple();
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/Constants.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/Constants.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/Constants.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/xml/Constants.java Tue Apr 19 13:03:10 2005
@@ -22,79 +22,79 @@
public interface Constants {
/** Name of the node type definition root element. */
- public static final String NODETYPES_ELEMENT = "nodeTypes";
+ static final String NODETYPES_ELEMENT = "nodeTypes";
/** Name of the node type definition element. */
- public static final String NODETYPE_ELEMENT = "nodeType";
+ static final String NODETYPE_ELEMENT = "nodeType";
/** Name of the child node definition element. */
- public static final String CHILDNODEDEFINITION_ELEMENT = "childNodeDefinition";
+ static final String CHILDNODEDEFINITION_ELEMENT = "childNodeDefinition";
/** Name of the property definition element. */
- public static final String PROPERTYDEFINITION_ELEMENT = "propertyDefinition";
+ static final String PROPERTYDEFINITION_ELEMENT = "propertyDefinition";
/** Name of the <code>isMixin</code> attribute. */
- public static final String ISMIXIN_ATTRIBUTE = "isMixin";
+ static final String ISMIXIN_ATTRIBUTE = "isMixin";
/** Name of the <code>hasOrderableChildNodes</code> attribute. */
- public static final String HASORDERABLECHILDNODES_ATTRIBUTE =
+ static final String HASORDERABLECHILDNODES_ATTRIBUTE =
"hasOrderableChildNodes";
/** Name of the primary item name attribute. */
- public static final String PRIMARYITEMNAME_ATTRIBUTE = "primaryItemName";
+ static final String PRIMARYITEMNAME_ATTRIBUTE = "primaryItemName";
/** Name of the supertypes element. */
- public static final String SUPERTYPES_ELEMENT = "supertypes";
+ static final String SUPERTYPES_ELEMENT = "supertypes";
/** Name of the supertype element. */
- public static final String SUPERTYPE_ELEMENT = "supertype";
+ static final String SUPERTYPE_ELEMENT = "supertype";
/** Name of the <code>name</code> attribute. */
- public static final String NAME_ATTRIBUTE = "name";
+ static final String NAME_ATTRIBUTE = "name";
/** Name of the <code>autoCreated</code> attribute. */
- public static final String AUTOCREATED_ATTRIBUTE = "autoCreated";
+ static final String AUTOCREATED_ATTRIBUTE = "autoCreated";
/** Name of the <code>mandatory</code> attribute. */
- public static final String MANDATORY_ATTRIBUTE = "mandatory";
+ static final String MANDATORY_ATTRIBUTE = "mandatory";
/** Name of the <code>onParentVersion</code> attribute. */
- public static final String ONPARENTVERSION_ATTRIBUTE = "onParentVersion";
+ static final String ONPARENTVERSION_ATTRIBUTE = "onParentVersion";
/** Name of the <code>protected</code> attribute. */
- public static final String PROTECTED_ATTRIBUTE = "protected";
+ static final String PROTECTED_ATTRIBUTE = "protected";
/** Name of the required type attribute. */
- public static final String REQUIREDTYPE_ATTRIBUTE = "requiredType";
+ static final String REQUIREDTYPE_ATTRIBUTE = "requiredType";
/** Name of the value constraints element. */
- public static final String VALUECONSTRAINTS_ELEMENT = "valueConstraints";
+ static final String VALUECONSTRAINTS_ELEMENT = "valueConstraints";
/** Name of the value constraint element. */
- public static final String VALUECONSTRAINT_ELEMENT = "valueConstraint";
+ static final String VALUECONSTRAINT_ELEMENT = "valueConstraint";
/** Name of the default values element. */
- public static final String DEFAULTVALUES_ELEMENT = "defaultValues";
+ static final String DEFAULTVALUES_ELEMENT = "defaultValues";
/** Name of the default value element. */
- public static final String DEFAULTVALUE_ELEMENT = "defaultValue";
+ static final String DEFAULTVALUE_ELEMENT = "defaultValue";
/** Name of the <code>multiple</code> attribute. */
- public static final String MULTIPLE_ATTRIBUTE = "multiple";
+ static final String MULTIPLE_ATTRIBUTE = "multiple";
/** Name of the required primary types element. */
- public static final String REQUIREDPRIMARYTYPES_ELEMENT =
+ static final String REQUIREDPRIMARYTYPES_ELEMENT =
"requiredPrimaryTypes";
/** Name of the required primary type element. */
- public static final String REQUIREDPRIMARYTYPE_ELEMENT =
+ static final String REQUIREDPRIMARYTYPE_ELEMENT =
"requiredPrimaryType";
/** Name of the default primary type attribute. */
- public static final String DEFAULTPRIMARYTYPE_ATTRIBUTE =
+ static final String DEFAULTPRIMARYTYPE_ATTRIBUTE =
"defaultPrimaryType";
/** Name of the <code>sameNameSiblings</code> attribute. */
- public static final String SAMENAMESIBLINGS_ATTRIBUTE = "sameNameSiblings";
+ static final String SAMENAMESIBLINGS_ATTRIBUTE = "sameNameSiblings";
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/ExecutableQuery.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/ExecutableQuery.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/ExecutableQuery.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/ExecutableQuery.java Tue Apr 19 13:03:10 2005
@@ -32,5 +32,5 @@
* @return a <code>QueryResult</code>
* @throws RepositoryException if an error occurs
*/
- public QueryResult execute() throws RepositoryException;
+ QueryResult execute() throws RepositoryException;
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryConstants.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryConstants.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryConstants.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryConstants.java Tue Apr 19 13:03:10 2005
@@ -28,143 +28,143 @@
/**
* QName for jcr:score
*/
- public static final QName JCR_SCORE = new QName(NamespaceRegistryImpl.NS_JCR_URI, "score");
+ static final QName JCR_SCORE = new QName(NamespaceRegistryImpl.NS_JCR_URI, "score");
/**
* QName for jcr:path
*/
- public static final QName JCR_PATH = new QName(NamespaceRegistryImpl.NS_JCR_URI, "path");
+ static final QName JCR_PATH = new QName(NamespaceRegistryImpl.NS_JCR_URI, "path");
/**
* QName for jcr:statement
*/
- public static final QName JCR_STATEMENT = new QName(NamespaceRegistryImpl.NS_JCR_URI, "statement");
+ static final QName JCR_STATEMENT = new QName(NamespaceRegistryImpl.NS_JCR_URI, "statement");
/**
* QName for jcr:language
*/
- public static final QName JCR_LANGUAGE = new QName(NamespaceRegistryImpl.NS_JCR_URI, "language");
+ static final QName JCR_LANGUAGE = new QName(NamespaceRegistryImpl.NS_JCR_URI, "language");
/**
* long data type
*/
- public static int TYPE_LONG = 1;
+ static int TYPE_LONG = 1;
/**
* double data type
*/
- public static int TYPE_DOUBLE = 2;
+ static int TYPE_DOUBLE = 2;
/**
* string data type
*/
- public static int TYPE_STRING = 3;
+ static int TYPE_STRING = 3;
/**
* date data type
*/
- public static int TYPE_DATE = 4;
+ static int TYPE_DATE = 4;
/**
* timestamp data type
*/
- public static int TYPE_TIMESTAMP = 5;
+ static int TYPE_TIMESTAMP = 5;
/**
* position index type
*/
- public static int TYPE_POSITION = 6;
+ static int TYPE_POSITION = 6;
- public static int OPERATIONS = 10;
+ static int OPERATIONS = 10;
/**
* equal operation: =
*/
- public static int OPERATION_EQ_VALUE = OPERATIONS + 1;
+ static int OPERATION_EQ_VALUE = OPERATIONS + 1;
/**
* equal operation: =
* general comparison
*/
- public static int OPERATION_EQ_GENERAL = OPERATION_EQ_VALUE + 1;
+ static int OPERATION_EQ_GENERAL = OPERATION_EQ_VALUE + 1;
/**
* not equal operation: <>
*/
- public static int OPERATION_NE_VALUE = OPERATION_EQ_GENERAL + 1;
+ static int OPERATION_NE_VALUE = OPERATION_EQ_GENERAL + 1;
/**
* not equal operation: <>
* general comparision
*/
- public static int OPERATION_NE_GENERAL = OPERATION_NE_VALUE + 1;
+ static int OPERATION_NE_GENERAL = OPERATION_NE_VALUE + 1;
/**
* less than operation: <
*/
- public static int OPERATION_LT_VALUE = OPERATION_NE_GENERAL + 1;
+ static int OPERATION_LT_VALUE = OPERATION_NE_GENERAL + 1;
/**
* less than operation: <
* general comparison
*/
- public static int OPERATION_LT_GENERAL = OPERATION_LT_VALUE + 1;
+ static int OPERATION_LT_GENERAL = OPERATION_LT_VALUE + 1;
/**
* greater than operation: >
*/
- public static int OPERATION_GT_VALUE = OPERATION_LT_GENERAL + 1;
+ static int OPERATION_GT_VALUE = OPERATION_LT_GENERAL + 1;
/**
* greater than operation: >
* general comparision
*/
- public static int OPERATION_GT_GENERAL = OPERATION_GT_VALUE + 1;
+ static int OPERATION_GT_GENERAL = OPERATION_GT_VALUE + 1;
/**
* greater or equal operation: >=
*/
- public static int OPERATION_GE_VALUE = OPERATION_GT_GENERAL + 1;
+ static int OPERATION_GE_VALUE = OPERATION_GT_GENERAL + 1;
/**
* greater or equal operation: >=
* general comparison
*/
- public static int OPERATION_GE_GENERAL = OPERATION_GE_VALUE + 1;
+ static int OPERATION_GE_GENERAL = OPERATION_GE_VALUE + 1;
/**
* less than or equal operation: <=
*/
- public static int OPERATION_LE_VALUE = OPERATION_GE_GENERAL + 1;
+ static int OPERATION_LE_VALUE = OPERATION_GE_GENERAL + 1;
/**
* less than or equal operation: <=
* general comparison
*/
- public static int OPERATION_LE_GENERAL = OPERATION_LE_VALUE + 1;
+ static int OPERATION_LE_GENERAL = OPERATION_LE_VALUE + 1;
/**
* like operation: identifier LIKE string_literal
*/
- public static int OPERATION_LIKE = OPERATION_LE_GENERAL + 1;
+ static int OPERATION_LIKE = OPERATION_LE_GENERAL + 1;
/**
* between operation: identifier [ NOT ] BETWEEN literal AND literal
*/
- public static int OPERATION_BETWEEN = OPERATION_LIKE + 1;
+ static int OPERATION_BETWEEN = OPERATION_LIKE + 1;
/**
* on operation: identifier [ NOT ] IN ( literal {, literal}* )
*/
- public static int OPERATION_IN = OPERATION_BETWEEN + 1;
+ static int OPERATION_IN = OPERATION_BETWEEN + 1;
/**
* is null operation: identifier IS NULL
*/
- public static int OPERATION_NULL = OPERATION_IN + 1;
+ static int OPERATION_NULL = OPERATION_IN + 1;
/**
* is not null operation: identifier IS NOT NULL
*/
- public static int OPERATION_NOT_NULL = OPERATION_NULL + 1;
+ static int OPERATION_NOT_NULL = OPERATION_NULL + 1;
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryHandler.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryHandler.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryHandler.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryHandler.java Tue Apr 19 13:03:10 2005
@@ -39,7 +39,7 @@
* @param context the context for this query handler.
* @throws IOException if an error occurs during initialization.
*/
- public void init(QueryHandlerContext context) throws IOException;
+ void init(QueryHandlerContext context) throws IOException;
/**
* Adds a <code>Node</code> to the search index.
@@ -47,20 +47,20 @@
* @throws RepositoryException if an error occurs while indexing the node.
* @throws IOException if an error occurs while adding the node to the index.
*/
- public void addNode(NodeState node) throws RepositoryException, IOException;
+ void addNode(NodeState node) throws RepositoryException, IOException;
/**
* Deletes the Node with <code>UUID</code> from the search index.
* @param uuid the <code>UUID</code> of the node to delete.
* @throws IOException if an error occurs while deleting the node.
*/
- public void deleteNode(String uuid) throws IOException;
+ void deleteNode(String uuid) throws IOException;
/**
* Closes this <code>QueryHandler</code> and frees resources attached
* to this handler.
*/
- public void close() throws IOException;
+ void close() throws IOException;
/**
* Creates a new query by specifying the query statement itself and the
@@ -77,7 +77,7 @@
* @throws InvalidQueryException if statement is invalid or language is unsupported.
* @return A <code>Query</code> object.
*/
- public ExecutableQuery createExecutableQuery(SessionImpl session,
+ ExecutableQuery createExecutableQuery(SessionImpl session,
ItemManager itemMgr,
String statement,
String language) throws InvalidQueryException;
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryNodeVisitor.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryNodeVisitor.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryNodeVisitor.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/QueryNodeVisitor.java Tue Apr 19 13:03:10 2005
@@ -21,27 +21,27 @@
*/
public interface QueryNodeVisitor {
- public Object visit(QueryRootNode node, Object data);
+ Object visit(QueryRootNode node, Object data);
- public Object visit(OrQueryNode node, Object data);
+ Object visit(OrQueryNode node, Object data);
- public Object visit(AndQueryNode node, Object data);
+ Object visit(AndQueryNode node, Object data);
- public Object visit(NotQueryNode node, Object data);
+ Object visit(NotQueryNode node, Object data);
- public Object visit(ExactQueryNode node, Object data);
+ Object visit(ExactQueryNode node, Object data);
- public Object visit(NodeTypeQueryNode node, Object data);
+ Object visit(NodeTypeQueryNode node, Object data);
- public Object visit(TextsearchQueryNode node, Object data);
+ Object visit(TextsearchQueryNode node, Object data);
- public Object visit(PathQueryNode node, Object data);
+ Object visit(PathQueryNode node, Object data);
- public Object visit(LocationStepQueryNode node, Object data);
+ Object visit(LocationStepQueryNode node, Object data);
- public Object visit(RelationQueryNode node, Object data);
+ Object visit(RelationQueryNode node, Object data);
- public Object visit(OrderQueryNode node, Object data);
+ Object visit(OrderQueryNode node, Object data);
- public Object visit(DerefQueryNode node, Object data);
+ Object visit(DerefQueryNode node, Object data);
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/TextFilter.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/TextFilter.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/TextFilter.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/TextFilter.java Tue Apr 19 13:03:10 2005
@@ -37,7 +37,7 @@
* @return whether this <code>TextFilter</code> can index content of
* <code>mimeType</code>.
*/
- public boolean canFilter(String mimeType);
+ boolean canFilter(String mimeType);
/**
* Creates an text representation of a binary property <code>data</code>.
@@ -54,6 +54,6 @@
* @throws RepositoryException if an error occurs while reading from the
* node or if the data is malformed.
*/
- public Map doFilter(PropertyState data, String encoding)
+ Map doFilter(PropertyState data, String encoding)
throws RepositoryException;
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/security/AccessManager.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/security/AccessManager.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/security/AccessManager.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/security/AccessManager.java Tue Apr 19 13:03:10 2005
@@ -32,15 +32,15 @@
/**
* READ permission constant
*/
- public static final int READ = 1;
+ static final int READ = 1;
/**
* WRITE permission constant
*/
- public static final int WRITE = 2;
+ static final int WRITE = 2;
/**
* REMOVE permission constant
*/
- public static final int REMOVE = 4;
+ static final int REMOVE = 4;
/**
* Initialize this access manager. An <code>AccessDeniedException</code> will
@@ -52,7 +52,7 @@
* to the specified workspace.
* @throws Exception if another error occurs
*/
- public void init(AMContext context) throws AccessDeniedException, Exception;
+ void init(AMContext context) throws AccessDeniedException, Exception;
/**
* Close this access manager. After having closed an access manager,
@@ -60,7 +60,7 @@
*
* @throws Exception if an error occurs
*/
- public void close() throws Exception;
+ void close() throws Exception;
/**
* Determines whether the specified <code>permissions</code> are granted
@@ -78,7 +78,7 @@
* @throws ItemNotFoundException if the target item does not exist
* @throws RepositoryException it an error occurs
*/
- public void checkPermission(ItemId id, int permissions)
+ void checkPermission(ItemId id, int permissions)
throws AccessDeniedException, ItemNotFoundException, RepositoryException;
/**
@@ -97,7 +97,7 @@
* @throws ItemNotFoundException if the target item does not exist
* @throws RepositoryException if another error occurs
*/
- public boolean isGranted(ItemId id, int permissions)
+ boolean isGranted(ItemId id, int permissions)
throws ItemNotFoundException, RepositoryException;
/**
@@ -111,6 +111,6 @@
* does not exist.
* @throws RepositoryException if another error occurs
*/
- public boolean canAccess(String workspaceName)
+ boolean canAccess(String workspaceName)
throws NoSuchWorkspaceException, RepositoryException;
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ItemStateListener.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ItemStateListener.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ItemStateListener.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ItemStateListener.java Tue Apr 19 13:03:10 2005
@@ -30,7 +30,7 @@
*
* @param created the <code>ItemState</code> that has been 'created'
*/
- public void stateCreated(ItemState created);
+ void stateCreated(ItemState created);
/**
* Called when an <code>ItemState</code> has successfully
@@ -38,7 +38,7 @@
*
* @param modified the <code>ItemState</code> that has been 'modified'
*/
- public void stateModified(ItemState modified);
+ void stateModified(ItemState modified);
/**
* Called when an <code>ItemState</code> has successfully been
@@ -46,7 +46,7 @@
*
* @param destroyed the <code>ItemState</code> that has been 'destroyed'
*/
- public void stateDestroyed(ItemState destroyed);
+ void stateDestroyed(ItemState destroyed);
/**
* Called when an <code>ItemState</code> has been discarded (i.e. it has
@@ -55,5 +55,5 @@
* @param discarded the <code>ItemState</code> that has been discarded
* @see ItemState#discard
*/
- public void stateDiscarded(ItemState discarded);
+ void stateDiscarded(ItemState discarded);
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ItemStateManager.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ItemStateManager.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ItemStateManager.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/ItemStateManager.java Tue Apr 19 13:03:10 2005
@@ -30,7 +30,7 @@
* @throws NoSuchItemStateException if the item does not exist
* @throws ItemStateException if an error occurs
*/
- public ItemState getItemState(ItemId id)
+ ItemState getItemState(ItemId id)
throws NoSuchItemStateException, ItemStateException;
/**
@@ -40,7 +40,7 @@
* @return <code>true</code> if an item state exists,
* otherwise <code>false</code>
*/
- public boolean hasItemState(ItemId id);
+ boolean hasItemState(ItemId id);
/**
* Return a node references object, given its target id
@@ -49,6 +49,6 @@
* @throws NoSuchItemStateException if the item does not exist
* @throws ItemStateException if an error occurs
*/
- public NodeReferences getNodeReferences(NodeReferencesId id)
+ NodeReferences getNodeReferences(NodeReferencesId id)
throws NoSuchItemStateException, ItemStateException;
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/PersistenceManager.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/PersistenceManager.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/PersistenceManager.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/PersistenceManager.java Tue Apr 19 13:03:10 2005
@@ -68,7 +68,7 @@
* @param context persistence manager context
* @throws Exception if the persistence manager intialization failed
*/
- public void init(PMContext context) throws Exception;
+ void init(PMContext context) throws Exception;
/**
* Closes the persistence manager. The consistency of the persistent
@@ -84,7 +84,7 @@
*
* @throws Exception if the persistence manager failed to close properly
*/
- public void close() throws Exception;
+ void close() throws Exception;
/**
* Creates a new node state instance with the given id.
@@ -92,7 +92,7 @@
* @param id node id
* @return node state instance
*/
- public NodeState createNew(NodeId id);
+ NodeState createNew(NodeId id);
/**
* Creates a new property state instance with the given id.
@@ -100,7 +100,7 @@
* @param id property id
* @return property state instance
*/
- public PropertyState createNew(PropertyId id);
+ PropertyState createNew(PropertyId id);
/**
* Load the persistent members of a node state.
@@ -110,7 +110,7 @@
* @throws NoSuchItemStateException if the node state does not exist
* @throws ItemStateException if another error occurs
*/
- public NodeState load(NodeId id)
+ NodeState load(NodeId id)
throws NoSuchItemStateException, ItemStateException;
/**
@@ -121,7 +121,7 @@
* @throws NoSuchItemStateException if the property state does not exist
* @throws ItemStateException if another error occurs
*/
- public PropertyState load(PropertyId id)
+ PropertyState load(PropertyId id)
throws NoSuchItemStateException, ItemStateException;
/**
@@ -131,7 +131,7 @@
* @throws NoSuchItemStateException if the target node does not exist
* @throws ItemStateException if another error occurs
*/
- public NodeReferences load(NodeReferencesId id)
+ NodeReferences load(NodeReferencesId id)
throws NoSuchItemStateException, ItemStateException;
/**
@@ -142,7 +142,7 @@
* <code>false</code> otherwise
* @throws ItemStateException on persistence manager errors
*/
- public boolean exists(NodeId id) throws ItemStateException;
+ boolean exists(NodeId id) throws ItemStateException;
/**
* Checks whether the identified property exists.
@@ -152,7 +152,7 @@
* <code>false</code> otherwise
* @throws ItemStateException on persistence manager errors
*/
- public boolean exists(PropertyId id) throws ItemStateException;
+ boolean exists(PropertyId id) throws ItemStateException;
/**
* Checks whether references of the identified target node exist.
@@ -162,7 +162,7 @@
* <code>false</code> otherwise
* @throws ItemStateException on persistence manager errors
*/
- public boolean exists(NodeReferencesId targetId) throws ItemStateException;
+ boolean exists(NodeReferencesId targetId) throws ItemStateException;
/**
* Atomically saves the given set of changes.
@@ -170,6 +170,6 @@
* @param changeLog change log containing states that were changed
* @throws ItemStateException if the changes could not be saved
*/
- public void store(ChangeLog changeLog) throws ItemStateException;
+ void store(ChangeLog changeLog) throws ItemStateException;
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/TransactionListener.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/TransactionListener.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/TransactionListener.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/TransactionListener.java Tue Apr 19 13:03:10 2005
@@ -29,12 +29,12 @@
*
* @param tx transaction that was committed
*/
- public void transactionCommitted(TransactionContext tx);
+ void transactionCommitted(TransactionContext tx);
/**
* Transaction was rolled back
*
* @param tx transaction that was rolled back
*/
- public void transactionRolledBack(TransactionContext tx);
+ void transactionRolledBack(TransactionContext tx);
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/UpdatableItemStateManager.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/UpdatableItemStateManager.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/UpdatableItemStateManager.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/UpdatableItemStateManager.java Tue Apr 19 13:03:10 2005
@@ -32,7 +32,7 @@
* @throws ItemStateException if the manager is already inside
* edit mode.
*/
- public void edit() throws ItemStateException;
+ void edit() throws ItemStateException;
/**
* Creates a {@link NodeState} instance representing new,
@@ -44,7 +44,7 @@
* @param parentUUID parent node's UUID
* @return a node state
*/
- public NodeState createNew(String uuid, QName nodeTypeName,
+ NodeState createNew(String uuid, QName nodeTypeName,
String parentUUID);
/**
@@ -56,31 +56,31 @@
* @param parentUUID parent node UUID
* @return a property state
*/
- public PropertyState createNew(QName propName, String parentUUID);
+ PropertyState createNew(QName propName, String parentUUID);
/**
* Store an item state.
* @param state item state that should be stored
*/
- public void store(ItemState state);
+ void store(ItemState state);
/**
* Store a node references object
* @param refs node references object that should be stored
*/
- public void store(NodeReferences refs);
+ void store(NodeReferences refs);
/**
* Destroy an item state.
* @param state item state that should be destroyed
*/
- public void destroy(ItemState state);
+ void destroy(ItemState state);
/**
* Cancel an update operation. This will undo all changes
* made to objects inside this item state manager.
*/
- public void cancel();
+ void cancel();
/**
* End an update operation. This will save all items
@@ -88,5 +88,5 @@
* If this operation fails, no item will have been saved.
* @throws ItemStateException if the operation failed
*/
- public void update() throws ItemStateException;
+ void update() throws ItemStateException;
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/obj/BLOBStore.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/obj/BLOBStore.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/obj/BLOBStore.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/state/obj/BLOBStore.java Tue Apr 19 13:03:10 2005
@@ -34,7 +34,7 @@
* @return a string identifying the blob data
* @throws Exception
*/
- public String put(PropertyId id, int index, InputStream in, long size) throws Exception;
+ String put(PropertyId id, int index, InputStream in, long size) throws Exception;
/**
*
@@ -42,7 +42,7 @@
* @return
* @throws Exception
*/
- public FileSystemResource get(String blobId) throws Exception;
+ FileSystemResource get(String blobId) throws Exception;
/**
*
@@ -50,5 +50,5 @@
* @return
* @throws Exception
*/
- public boolean remove(String blobId) throws Exception;
+ boolean remove(String blobId) throws Exception;
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFreeze.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFreeze.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFreeze.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFreeze.java Tue Apr 19 13:03:10 2005
@@ -29,6 +29,6 @@
*
* @return the name of the node.
*/
- public QName getName();
+ QName getName();
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFrozenNode.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFrozenNode.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFrozenNode.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFrozenNode.java Tue Apr 19 13:03:10 2005
@@ -35,41 +35,41 @@
* @return an array of internal freezes
* @throws VersionException if the freezes cannot be retrieved
*/
- public InternalFreeze[] getFrozenChildNodes() throws VersionException;
+ InternalFreeze[] getFrozenChildNodes() throws VersionException;
/**
* Returns the list of frozen properties.
*
* @return an array of property states
*/
- public PropertyState[] getFrozenProperties();
+ PropertyState[] getFrozenProperties();
/**
* Returns the frozen UUID.
*
* @return the frozen uuid.
*/
- public String getFrozenUUID();
+ String getFrozenUUID();
/**
* Returns the name of frozen primary type.
*
* @return the name of the frozen primary type.
*/
- public QName getFrozenPrimaryType();
+ QName getFrozenPrimaryType();
/**
* Returns the list of names of the frozen mixin types.
*
* @return the list of names of the frozen mixin types.
*/
- public QName[] getFrozenMixinTypes();
+ QName[] getFrozenMixinTypes();
/**
* Checks if this frozen node has the frozen version history
* @param uuid
* @return
*/
- public boolean hasFrozenHistory(String uuid);
+ boolean hasFrozenHistory(String uuid);
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFrozenVersionHistory.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFrozenVersionHistory.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFrozenVersionHistory.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalFrozenVersionHistory.java Tue Apr 19 13:03:10 2005
@@ -30,7 +30,7 @@
*
* @return the id of the version history
*/
- public String getVersionHistoryId();
+ String getVersionHistoryId();
/**
* Returns the version history that was assigned to the node at
@@ -39,7 +39,7 @@
* @return the internal version history.
* @throws VersionException if the history cannot be retrieved.
*/
- public InternalVersionHistory getVersionHistory()
+ InternalVersionHistory getVersionHistory()
throws VersionException;
/**
@@ -48,7 +48,7 @@
*
* @return the id of the base version
*/
- public String getBaseVersionId();
+ String getBaseVersionId();
/**
* Returns the base version that was assigned to the node at
@@ -57,5 +57,5 @@
* @return the inernal base version
* @throws VersionException if the version could not be retrieved
*/
- public InternalVersion getBaseVesion() throws VersionException;
+ InternalVersion getBaseVesion() throws VersionException;
}
Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalVersion.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalVersion.java?view=diff&r1=161958&r2=161959
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalVersion.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/version/InternalVersion.java Tue Apr 19 13:03:10 2005
@@ -31,7 +31,7 @@
*
* @return the name of this version.
*/
- public QName getName();
+ QName getName();
/**
* Returns the frozen node of this version or <code>null</code> if this is
@@ -39,28 +39,28 @@
*
* @return the frozen node.
*/
- public InternalFrozenNode getFrozenNode();
+ InternalFrozenNode getFrozenNode();
/**
* Equivalent to {@link Version#getCreated()}
*
* @see Version#getCreated()
*/
- public Calendar getCreated();
+ Calendar getCreated();
/**
* Equivalent to {@link Version#getSuccessors()}}
*
* @see Version#getSuccessors()
*/
- public InternalVersion[] getSuccessors();
+ InternalVersion[] getSuccessors();
/**
* Equivalent to {@link Version#getPredecessors()}}
*
* @see Version#getPredecessors()
*/
- public InternalVersion[] getPredecessors();
+ InternalVersion[] getPredecessors();
/**
* Checks if this version is more recent than the given version <code>v</code>.
@@ -71,14 +71,14 @@
* @return <code>true</code> if the version is more recent;
* <code>false</code> otherwise.
*/
- public boolean isMoreRecent(InternalVersion v);
+ boolean isMoreRecent(InternalVersion v);
/**
* returns the internal version history in wich this version lifes in.
*
* @return the version history for this version.
*/
- public InternalVersionHistory getVersionHistory();
+ InternalVersionHistory getVersionHistory();
/**
* checks if this is the root version.
@@ -86,7 +86,7 @@
* @return <code>true</code> if this version is the root version;
* <code>false</code> otherwise.
*/
- public boolean isRootVersion();
+ boolean isRootVersion();
/**
* Checks, if this version has the given label assosiated
@@ -95,12 +95,12 @@
* @return <code>true</code> if the label is assigned to this version;
* <code>false</code> otherwise.
*/
- public boolean hasLabel(QName label);
+ boolean hasLabel(QName label);
/**
* returns the labels that are assigned to this version
*
* @return a string array of labels.
*/
- public QName[] getLabels();
+ QName[] getLabels();
}