Package org.cyclos.entities.users
Class BulkAction
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.users.BulkAction
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,DefinesNetwork,IEntity
- Direct Known Subclasses:
AdjustAccountsBulkAction,AppMailingBulkAction,ChangeFieldValueBulkAction,ChangeGroupBulkAction,ChangeStatusBulkAction,CustomOperationBulkAction,EmailMailingBulkAction,ReindexBulkAction,ResetPasswordBulkAction,SmsMailingBulkAction
@Entity public abstract class BulkAction extends BaseEntity implements DefinesNetwork
A bulk action is an action that affects a set of users returned from a search. Besides built-in actions,CustomOperations of scopeCustomOperationScope.BULK_ACTIONcan also be run over each user.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Field Summary
Fields Modifier and Type Field Description protected List<BulkActionFile>filesprotected List<BulkActionImage>images
-
Constructor Summary
Constructors Constructor Description BulkAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BasicUsergetBy()IntegergetCanceledUsers()DategetCreationDate()IntegergetErrorUsers()DategetFinishDate()abstract BulkActionNaturegetNature()NetworkgetNetwork()Returns the network this entity belongs toIntegergetPendingUsers()StringgetQuery()IntegergetSkippedUsers()BulkActionStatusgetStatus()IntegergetSuccessUsers()IntegergetTotalUsers()booleanisArchived()voidsetArchived(boolean archived)voidsetBy(BasicUser by)voidsetCanceledUsers(Integer canceledUsers)voidsetCreationDate(Date creationDate)voidsetErrorUsers(Integer errorUsers)voidsetFinishDate(Date finishDate)voidsetNetwork(Network network)voidsetPendingUsers(Integer pendingUsers)voidsetQuery(String query)voidsetSkippedUsers(Integer skippedUsers)voidsetStatus(BulkActionStatus status)voidsetSuccessUsers(Integer successUsers)-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Field Detail
-
images
protected List<BulkActionImage> images
-
files
protected List<BulkActionFile> files
-
-
Method Detail
-
getBy
public BasicUser getBy()
-
getCanceledUsers
public Integer getCanceledUsers()
-
getCreationDate
public Date getCreationDate()
-
getErrorUsers
public Integer getErrorUsers()
-
getFinishDate
public Date getFinishDate()
-
getNature
public abstract BulkActionNature getNature()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getPendingUsers
public Integer getPendingUsers()
-
getQuery
public String getQuery()
-
getSkippedUsers
public Integer getSkippedUsers()
-
getStatus
public BulkActionStatus getStatus()
-
getSuccessUsers
public Integer getSuccessUsers()
-
getTotalUsers
public Integer getTotalUsers()
-
isArchived
public boolean isArchived()
-
setArchived
public void setArchived(boolean archived)
-
setBy
public void setBy(BasicUser by)
-
setCanceledUsers
public void setCanceledUsers(Integer canceledUsers)
-
setCreationDate
public void setCreationDate(Date creationDate)
-
setErrorUsers
public void setErrorUsers(Integer errorUsers)
-
setFinishDate
public void setFinishDate(Date finishDate)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setPendingUsers
public void setPendingUsers(Integer pendingUsers)
-
setQuery
public void setQuery(String query)
-
setSkippedUsers
public void setSkippedUsers(Integer skippedUsers)
-
setStatus
public void setStatus(BulkActionStatus status)
-
setSuccessUsers
public void setSuccessUsers(Integer successUsers)
-
-