Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.bion.officelayer.internal.text.table
Class TextTableColumnCloneService

java.lang.Object
  extended by ag.ion.bion.officelayer.internal.clone.AbstractCloneService
      extended by ag.ion.bion.officelayer.internal.text.table.TextTableColumnCloneService
All Implemented Interfaces:
ICloneService

public class TextTableColumnCloneService
extends AbstractCloneService

CloneService for TextTableRows


Constructor Summary
TextTableColumnCloneService(ITextTableColumn columnObject)
          Constructor of the TextTableRowloneService.
 
Method Summary
 IClonedObject cloneAfterThisPosition(IDestinationPosition position, boolean adoptContent, PropertyKeysContainer propertyKeysContainer)
          Clones the chosen object after the given position and then returns a reference.
 IClonedObject cloneAfterThisPosition(IDestinationPosition position, PropertyKeysContainer propertyKeysContainer)
          Clones the chosen object to the given position and then returns a reference Between the given position and the newly created object there will be a paragraph to add some space betwwen them.
 void cloneAfterThisPositionNoReturn(IDestinationPosition position, boolean adoptContent, PropertyKeysContainer propertyKeysContainer)
          Clones the chosen object after the given position.
 void cloneAfterThisPositionNoReturn(IDestinationPosition position, PropertyKeysContainer propertyKeysContainer)
          Clones the chosen object to the given position.
 IClonedObject cloneToPosition(IDestinationPosition position, boolean adoptContent, PropertyKeysContainer propertyKeysContainer)
          Clones the chosen row to the given position and then returns a reference of it.
 IClonedObject cloneToPosition(IDestinationPosition position, PropertyKeysContainer propertyKeysContainer)
          Clones the chosen row to the given position and then returns a reference of it.
 void cloneToPositionNoReturn(IDestinationPosition position, boolean adoptContent, PropertyKeysContainer propertyKeysContainer)
          Clones the chosen object to the given position.
 void cloneToPositionNoReturn(IDestinationPosition position, PropertyKeysContainer propertyKeysContainer)
          Clones the chosen object to the given position.
 
Methods inherited from class ag.ion.bion.officelayer.internal.clone.AbstractCloneService
cloneAfterThisPositions, cloneAfterThisPositions, cloneToPositions, cloneToPositions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextTableColumnCloneService

public TextTableColumnCloneService(ITextTableColumn columnObject)
                            throws CloneException
Constructor of the TextTableRowloneService.

Parameters:
columnObject - the row from which the service is created
Throws:
CloneException - if no clone service could be used
Method Detail

cloneToPosition

public IClonedObject cloneToPosition(IDestinationPosition position,
                                     PropertyKeysContainer propertyKeysContainer)
                              throws CloneException
Clones the chosen row to the given position and then returns a reference of it.

Parameters:
position - the position to be overwritten
append - this variable indicates if the clone should be appended or not
propertyKeysContainer - container for property keys used for cloning style, my be null
Returns:
a reference to the newly cloned element
Throws:
CloneException - if the object could not be cloned.

cloneToPositionNoReturn

public void cloneToPositionNoReturn(IDestinationPosition position,
                                    PropertyKeysContainer propertyKeysContainer)
                             throws CloneException
Clones the chosen object to the given position.

Parameters:
position - the positions the object is to be cloned to
propertyKeysContainer - container for property keys used for cloning style, my be null
Throws:
CloneException - if the object could not be cloned.

cloneToPosition

public IClonedObject cloneToPosition(IDestinationPosition position,
                                     boolean adoptContent,
                                     PropertyKeysContainer propertyKeysContainer)
                              throws CloneException
Clones the chosen row to the given position and then returns a reference of it.

Parameters:
position - the position to be overwritten
append - this variable indicates if the clone should be appended or not
adopContent - indicated if the content of the object should be adopted
propertyKeysContainer - container for property keys used for cloning style, my be null
Returns:
a reference to the newly cloned element
Throws:
CloneException - if the object could not be cloned.

cloneToPositionNoReturn

public void cloneToPositionNoReturn(IDestinationPosition position,
                                    boolean adoptContent,
                                    PropertyKeysContainer propertyKeysContainer)
                             throws CloneException
Clones the chosen object to the given position. This method also enables to adopts the content of the object (the default is to adopt, otherwise the paramter has to be set to false)

Parameters:
position - the positions the object is to be cloned to
adoptContent - indicated if the content of the object should be adopted
propertyKeysContainer - container for property keys used for cloning style, my be null
Throws:
CloneException - if the object could not be cloned.

cloneAfterThisPosition

public IClonedObject cloneAfterThisPosition(IDestinationPosition position,
                                            PropertyKeysContainer propertyKeysContainer)
                                     throws CloneException
Clones the chosen object to the given position and then returns a reference Between the given position and the newly created object there will be a paragraph to add some space betwwen them. So the object WILL NOT be merged together. This method is optional because it does not make sense to all possible implementors of the interface. So it can happen that this method does nothing more or less than the cloneToPosition method. This method always adopts the content

Parameters:
append - this variable indicates if the clone shiuld be appended or not
propertyKeysContainer - container for property keys used for cloning style, my be null
Returns:
a reference to the newly cloned element
Throws:
CloneException - if the object could not be cloned.

cloneAfterThisPositionNoReturn

public void cloneAfterThisPositionNoReturn(IDestinationPosition position,
                                           PropertyKeysContainer propertyKeysContainer)
                                    throws CloneException
Clones the chosen object to the given position. Between the given position and the newly created object there will be a paragraph to add some space betwwen them. So the object WILL NOT be merged together. This method is optional because it does not make sense to all possible implementors of the interface. So it can happen that this method does nothing more or less than the cloneToPosition method. This method always adopts the content

Parameters:
position - the position the object is to be cloned after
propertyKeysContainer - container for property keys used for cloning style, my be null
Throws:
CloneException - if the object could not be cloned.

cloneAfterThisPosition

public IClonedObject cloneAfterThisPosition(IDestinationPosition position,
                                            boolean adoptContent,
                                            PropertyKeysContainer propertyKeysContainer)
                                     throws CloneException
Clones the chosen object after the given position and then returns a reference. Between the given position and the newly created object there will be a paragraph to add some space betwwen them. So the object WILL NOT be merged together. This method is optional because it does not make sense to all possible implementors of the interface. So it can happen that this method does nothing more or less than the cloneToPosition method. This method also enables to adopts the content of the object (the default is to adopt, otherwise the paramter has to be set to false)

Parameters:
append - this variable indicates if the clone shiuld be appended or not
adoptContent - indicated if the content of the object should be adopted
propertyKeysContainer - container for property keys used for cloning style, my be null
Returns:
a reference to the newly cloned element
Throws:
CloneException - if the object could not be cloned.

cloneAfterThisPositionNoReturn

public void cloneAfterThisPositionNoReturn(IDestinationPosition position,
                                           boolean adoptContent,
                                           PropertyKeysContainer propertyKeysContainer)
                                    throws CloneException
Clones the chosen object after the given position. Between the given position and the newly created object there will be a paragraph to add some space betwwen them. So the object WILL NOT be merged together. This method is optional because it does not make sense to all possible implementors of the interface. So it can happen that this method does nothing more or less than the cloneToPosition method. This method also enables to adopts the content of the object (the default is to adopt, otherwise the paramter has to be set to false)

Parameters:
position - the position the object is to be cloned after
adoptContent - indicated if the content of the object should be adopted
propertyKeysContainer - container for property keys used for cloning style, my be null
Throws:
CloneException - if the object could not be cloned.

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013