com.wewebu.ow.server.ecm
Class OwSearchObjectStore

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

public class OwSearchObjectStore
extends Object

Search template defined ObjectStore data.

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

Constructor Summary
OwSearchObjectStore(String id_p, String name_p)
           
 
Method Summary
 boolean equals(Object obj_p)
           
 String getId()
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 OwSearchObjectStore unify(OwSearchObjectStore objectStore_p)
          Unifies the state of this ObjectStore and the given ObjectStore parameter and returns their unified state as a new ObjectStore.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OwSearchObjectStore

public OwSearchObjectStore(String id_p,
                           String name_p)
Method Detail

unify

public OwSearchObjectStore unify(OwSearchObjectStore objectStore_p)
                          throws OwInvalidOperationException
Unifies the state of this ObjectStore and the given ObjectStore parameter and returns their unified state as a new ObjectStore. The state unification is done by replacing null id or name values from either ObjectStores with non null values found in any of the two ObjectStores. If non null values are set and they don't match an OwInvalidOperationException is thrown.

Parameters:
objectStore_p -
Throws:
OwInvalidOperationException - if non null id or name values of the two ObjectStores are not equal

getId

public String getId()

getName

public String getName()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.