Class PrincipalWriterConfig
- java.lang.Object
-
- lumis.portal.principal.importprincipal.PrincipalWriterConfig
-
public class PrincipalWriterConfig extends Object
Value object that holds the config values of a import- Since:
- 4.0.8
- Version:
- $Revision: 16294 $ $Date: 2014-06-24 13:51:20 -0300 (Tue, 24 Jun 2014) $
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACTION_DELETE_GROUP_DISABLE_USER
static int
ACTION_IGNORE
static int
ACTION_INSERT
static int
ACTION_OVERWRITE
-
Constructor Summary
Constructors Constructor Description PrincipalWriterConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Get idint
getIfDoesNotExistInDestination()
Get the option of execution when the user or group doesn't exists in destinationint
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 pathDate
getLastRun()
Get date of last executionString
getOrigin()
Get originboolean
isSchedule()
Get the option of automatic execution.void
setId(String id)
Set idvoid
setIfDoesNotExistInDestination(int ifDoesNotExistInDestination)
Set the option of execution when the user or group doesn't exists in destinationvoid
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 pathvoid
setLastRun(Date lastRun)
Set date of last executionvoid
setOrigin(String origin)
Set originvoid
setSchedule(boolean schedule)
Set the option of automatic execution.
-
-
-
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
-
-
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
-
-