com.dotmarketing.portlets.campaigns.model
Class Campaign

java.lang.Object
  extended by com.dotmarketing.beans.Inode
      extended by com.dotmarketing.portlets.campaigns.model.Campaign
All Implemented Interfaces:
UUIDable, Permissionable, Versionable, Categorizable, java.io.Serializable, java.lang.Comparable

public class Campaign
extends Inode
implements java.io.Serializable, Permissionable

Author:
Hibernate CodeGenerator
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.dotmarketing.beans.Inode
identifier, inode, owner
 
Constructor Summary
Campaign()
           
 
Method Summary
 java.util.List<PermissionSummary> acceptedPermissions()
          List of permissions it accepts
 java.lang.String getCommunicationInode()
           
 java.util.Date getCompletedDate()
          Returns the completedDate.
 java.util.Date getCStartDate()
          Returns the CStartDate.
 java.util.Date getExpirationDate()
           
 java.lang.String getFromEmail()
          Returns the fromEmail.
 java.lang.String getFromName()
          Returns the fromName.
 boolean getIsRecurrent()
           
 java.lang.String getMessage()
          Returns the message.
 java.lang.String getParentCampaign()
           
 java.lang.String getSendsPerHour()
           
 java.lang.String getSendTo()
           
 java.lang.String getSubject()
          Returns the subject.
 java.lang.String getTitle()
          Returns the title.
 java.lang.String getUserFilterInode()
           
 java.lang.String getUserId()
          Returns the userId.
 boolean getWasSent()
           
 boolean isActive()
          Returns the active.
 boolean isLocked()
          Returns the locked.
 boolean isSendEmail()
           
 void setActive(boolean active)
          Sets the active.
 void setCommunicationInode(java.lang.String communicationInode)
           
 void setCompletedDate(java.util.Date completedDate)
          Sets the completedDate.
 void setCStartDate(java.util.Date CStartDate)
          Sets the CStartDate.
 void setExpirationDate(java.util.Date expirationDate)
           
 void setFromEmail(java.lang.String fromEmail)
          Sets the fromEmail.
 void setFromName(java.lang.String fromName)
          Sets the fromName.
 void setIsRecurrent(boolean isRecurrent)
           
 void setLocked(boolean locked)
          Sets the locked.
 void setMessage(java.lang.String message)
          Sets the message.
 void setParentCampaign(java.lang.String parentCampaign)
           
 void setSendEmail(boolean sendEmail)
           
 void setSendsPerHour(java.lang.String sendsPerHour)
           
 void setSendTo(java.lang.String sendTo)
           
 void setSubject(java.lang.String subject)
          Sets the subject.
 void setTitle(java.lang.String title)
          Sets the title.
 void setUserFilterInode(java.lang.String userFilterInode)
           
 void setUserId(java.lang.String userId)
          Sets the userId.
 void setWasSent(boolean wasSent)
           
 
Methods inherited from class com.dotmarketing.beans.Inode
addChild, addChild, addChild, addChild, addChild, addParent, addParent, addParent, compareTo, deleteChild, deleteChild, deleteChild, deleteChild, deleteParent, deleteParent, equals, getCategoryId, getiDate, getIDate, getIdentifier, getInode, getMap, getModDate, getModUser, getOwner, getParentPermissionable, getPermissionId, getPermissionType, getType, getVersionId, getVersionType, hasChildren, hashCode, hasParents, isArchived, isLive, isNew, isParentPermissionable, isWorking, permissionDependencies, setiDate, setIDate, setIDate, setIdentifier, setInode, setOwner, setParents, setType, setVersionId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.dotmarketing.business.Permissionable
getOwner, getParentPermissionable, getPermissionId, getPermissionType, isParentPermissionable, permissionDependencies, setOwner
 

Constructor Detail

Campaign

public Campaign()
Method Detail

getWasSent

public boolean getWasSent()
Returns:
the wasSent

setWasSent

public void setWasSent(boolean wasSent)
Parameters:
isRecurrent - the isRecurrent to set

getIsRecurrent

public boolean getIsRecurrent()
Returns:
the isRecurrent

setIsRecurrent

public void setIsRecurrent(boolean isRecurrent)
Parameters:
isRecurrent - the isRecurrent to set

getUserFilterInode

public java.lang.String getUserFilterInode()
Returns:
the userFilterInode

setUserFilterInode

public void setUserFilterInode(java.lang.String userFilterInode)
Parameters:
userFilterInode - the userFilterInode to set

getCommunicationInode

public java.lang.String getCommunicationInode()
Returns:
Returns the communicationInode.

setCommunicationInode

public void setCommunicationInode(java.lang.String communicationInode)
Parameters:
communicationInode - The communicationInode to set.

isSendEmail

public boolean isSendEmail()
Returns:
Returns the sendEmail.

setSendEmail

public void setSendEmail(boolean sendEmail)
Parameters:
sendEmail - The sendEmail to set.

getCompletedDate

public java.util.Date getCompletedDate()
Returns the completedDate.

Returns:
java.util.Date

getFromEmail

public java.lang.String getFromEmail()
Returns the fromEmail.

Returns:
String

getMessage

public java.lang.String getMessage()
Returns the message.

Returns:
String

getCStartDate

public java.util.Date getCStartDate()
Returns the CStartDate.

Returns:
java.util.Date

getSubject

public java.lang.String getSubject()
Returns the subject.

Returns:
String

getTitle

public java.lang.String getTitle()
Returns the title.

Specified by:
getTitle in interface Versionable
Overrides:
getTitle in class Inode
Returns:
String

getUserId

public java.lang.String getUserId()
Returns the userId.

Returns:
String

setCompletedDate

public void setCompletedDate(java.util.Date completedDate)
Sets the completedDate.

Parameters:
completedDate - The completedDate to set

setFromEmail

public void setFromEmail(java.lang.String fromEmail)
Sets the fromEmail.

Parameters:
fromEmail - The fromEmail to set

setMessage

public void setMessage(java.lang.String message)
Sets the message.

Parameters:
message - The message to set

setCStartDate

public void setCStartDate(java.util.Date CStartDate)
Sets the CStartDate.

Parameters:
startDate - The startDate to set

setSubject

public void setSubject(java.lang.String subject)
Sets the subject.

Parameters:
subject - The subject to set

setTitle

public void setTitle(java.lang.String title)
Sets the title.

Parameters:
title - The title to set

setUserId

public void setUserId(java.lang.String userId)
Sets the userId.

Parameters:
userId - The userId to set

isActive

public boolean isActive()
Returns the active.

Returns:
boolean

setActive

public void setActive(boolean active)
Sets the active.

Parameters:
active - The active to set

getFromName

public java.lang.String getFromName()
Returns the fromName.

Returns:
String

setFromName

public void setFromName(java.lang.String fromName)
Sets the fromName.

Parameters:
fromName - The fromName to set

isLocked

public boolean isLocked()
Returns the locked.

Specified by:
isLocked in interface Versionable
Overrides:
isLocked in class Inode
Returns:
boolean

setLocked

public void setLocked(boolean locked)
Sets the locked.

Parameters:
locked - The locked to set

getSendsPerHour

public java.lang.String getSendsPerHour()

setSendsPerHour

public void setSendsPerHour(java.lang.String sendsPerHour)

getSendTo

public java.lang.String getSendTo()
Returns:
the sendTo

setSendTo

public void setSendTo(java.lang.String sendTo)
Parameters:
sendTo - the sendTo to set

getExpirationDate

public java.util.Date getExpirationDate()
Returns:
the expirationDate

setExpirationDate

public void setExpirationDate(java.util.Date expirationDate)
Parameters:
expirationDate - the expirationDate to set

getParentCampaign

public java.lang.String getParentCampaign()
Returns:
the parentCampaign

setParentCampaign

public void setParentCampaign(java.lang.String parentCampaign)
Parameters:
parentCampaign - the parentCampaign to set

acceptedPermissions

public java.util.List<PermissionSummary> acceptedPermissions()
List of permissions it accepts

Specified by:
acceptedPermissions in interface Permissionable
Overrides:
acceptedPermissions in class Inode
Returns:


Copyright © 2013 dotCMS Inc. All Rights Reserved.