lumis.portal.principal.importprincipal
Class PrincipalWriterConfig

Package class diagram package PrincipalWriterConfig
java.lang.Object
  extended by lumis.portal.principal.importprincipal.PrincipalWriterConfig

public class PrincipalWriterConfig
extends Object

Value object that holds the config values of a import

Since:
4.0.8

Field Summary
static int ACTION_DELETE_GROUP_DISABLE_USER
           
static int ACTION_IGNORE
           
static int ACTION_INSERT
           
static int ACTION_OVERWRITE
           
 
Constructor Summary
PrincipalWriterConfig()
           
 
Method Summary
 String getId()
          Get id
 int getIfDoesNotExistInDestination()
          Get the option of execution when the user or group doesn't exists in destination
 int getIfDoesNotExistInSource()
          Get the option of execution when the user or group doesn't exists in source.
 int getIfExistsInDestination()
          Get the option of execution when the user or group exists in destination.
 String getInputFile()
          Get input file path
 Date getLastRun()
          Get date of last execution
 String getOrigin()
          Get origin
 boolean isSchedule()
          Get the option of automatic execution.
 void setId(String id)
          Set id
 void setIfDoesNotExistInDestination(int ifDoesNotExistInDestination)
          Set the option of execution when the user or group doesn't exists in destination
 void setIfDoesNotExistInSource(int ifDoesNotExistInSource)
          Set the option of execution when the user or group doesn't exists in source.
 void setIfExistsInDestination(int ifExistsInDestination)
          Set the option of execution when the user or group exists in destination.
 void setInputFile(String inputFile)
          Set input file path
 void setLastRun(Date lastRun)
          Set date of last execution
 void setOrigin(String origin)
          Set origin
 void setSchedule(boolean schedule)
          Set the option of automatic execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_IGNORE

public static final int ACTION_IGNORE
See Also:
Constant Field Values

ACTION_OVERWRITE

public static final int ACTION_OVERWRITE
See Also:
Constant Field Values

ACTION_INSERT

public static final int ACTION_INSERT
See Also:
Constant Field Values

ACTION_DELETE_GROUP_DISABLE_USER

public static final int ACTION_DELETE_GROUP_DISABLE_USER
See Also:
Constant Field Values
Constructor Detail

PrincipalWriterConfig

public PrincipalWriterConfig()
Method Detail

isSchedule

public boolean isSchedule()
Get the option of automatic execution.

Returns:
whether the automatic execution is enabled.
Since:
6.0.0

setSchedule

public void setSchedule(boolean schedule)
Set the option of automatic execution.

Parameters:
schedule - whether the automatic execution is enabled.
Since:
6.0.0

getId

public String getId()
Get id

Returns:
Since:
4.0.8

setId

public void setId(String id)
Set id

Parameters:
id -
Since:
4.0.8

getIfDoesNotExistInDestination

public int getIfDoesNotExistInDestination()
Get the option of execution when the user or group doesn't exists in destination

Returns:
Since:
4.0.8

setIfDoesNotExistInDestination

public void setIfDoesNotExistInDestination(int ifDoesNotExistInDestination)
Set the option of execution when the user or group doesn't exists in destination

Parameters:
ifDoesNotExistInDestination -
Since:
4.0.8

getIfDoesNotExistInSource

public int getIfDoesNotExistInSource()
Get the option of execution when the user or group doesn't exists in source.

Returns:
Since:
4.0.8

setIfDoesNotExistInSource

public void setIfDoesNotExistInSource(int ifDoesNotExistInSource)
Set the option of execution when the user or group doesn't exists in source.

Parameters:
ifDoesNotExistInSource -
Since:
4.0.8

getIfExistsInDestination

public int getIfExistsInDestination()
Get the option of execution when the user or group exists in destination.

Returns:
Since:
4.0.8

setIfExistsInDestination

public void setIfExistsInDestination(int ifExistsInDestination)
Set the option of execution when the user or group exists in destination.

Parameters:
ifExistsInDestination -
Since:
4.0.8

getInputFile

public String getInputFile()
Get input file path

Returns:
Since:
4.0.8

setInputFile

public void setInputFile(String inputFile)
Set input file path

Parameters:
inputFile -
Since:
4.0.8

getLastRun

public Date getLastRun()
Get date of last execution

Returns:
Since:
4.0.8

setLastRun

public void setLastRun(Date lastRun)
Set date of last execution

Parameters:
lastRun -
Since:
4.0.8

getOrigin

public String getOrigin()
Get origin

Returns:
Since:
4.0.8

setOrigin

public void setOrigin(String origin)
Set origin

Parameters:
origin -
Since:
4.0.8


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.