com.wewebu.ow.server.ecm
Class OwSearchPath

java.lang.Object
  extended by com.wewebu.ow.server.ecm.OwSearchPath

public class OwSearchPath
extends Object

Search template defined search path.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
3.0.0.0

Field Summary
static String PATH_DELIMITER
          standard path delimiter
 
Constructor Summary
OwSearchPath(OwSearchObjectStore objectStore_p)
          Constructor
OwSearchPath(String id_p, String pathName_p, boolean searchSubFolders_p, OwSearchObjectStore objectStore_p)
          Constructor
 
Method Summary
 boolean equals(Object obj_p)
           
 String getId()
           
 OwSearchObjectStore getObjectStore()
           
 String getPathName()
           
 int hashCode()
           
 boolean isObjectStoreReference()
           
 boolean isSearchSubFolders()
           
static String normalizePathDelimiter(String strPath_p)
          Normalize the path delimiter to the internal format.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PATH_DELIMITER

public static final String PATH_DELIMITER
standard path delimiter

See Also:
Constant Field Values
Constructor Detail

OwSearchPath

public OwSearchPath(OwSearchObjectStore objectStore_p)
             throws OwInvalidOperationException
Constructor

Parameters:
objectStore_p -
Throws:
OwInvalidOperationException - if the given objectstore is null

OwSearchPath

public OwSearchPath(String id_p,
                    String pathName_p,
                    boolean searchSubFolders_p,
                    OwSearchObjectStore objectStore_p)
             throws OwInvalidOperationException
Constructor

Parameters:
id_p -
pathName_p -
searchSubFolders_p -
objectStore_p -
Throws:
OwInvalidOperationException - if the given id and pathName are both null
Method Detail

normalizePathDelimiter

public static String normalizePathDelimiter(String strPath_p)
Normalize the path delimiter to the internal format.

Parameters:
strPath_p - String path
Returns:
String normalized path with converted delimiters

getObjectStore

public OwSearchObjectStore getObjectStore()

getPathName

public String getPathName()

getId

public String getId()

isSearchSubFolders

public boolean isSearchSubFolders()

toString

public String toString()
Overrides:
toString in class Object

isObjectStoreReference

public boolean isObjectStoreReference()
Returns:
true if this path is an object-store reference only with no inner pathName or path id defined
false otherwise

equals

public boolean equals(Object obj_p)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.