Class ScriptBackup
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.bgbilling.kernel.script.common.bean.Script
ru.bitel.bgbilling.kernel.script.common.bean.ScriptBackup
- All Implemented Interfaces:
java.io.Serializable,GuiTitlable,Idable,ListItem
public class ScriptBackup extends Script
Резервные копии скриптов.
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ScriptBackup() -
Method Summary
Modifier and Type Method Description java.lang.StringgetComment()Возвращает комментарий.intgetScriptId()Возвращает ссылку на скрипт.intgetType()Возвращает тип скрипта.voidsetComment(java.lang.String comment)Устанавливает комментарий.voidsetScriptBackup(Script script, int type)voidsetScriptId(int scriptId)Устанавливает ссылку на скрипт.voidsetType(int type)Устанавливает тип скрипта.Methods inherited from class ru.bitel.bgbilling.kernel.script.common.bean.Script
getRevision, getScript, getTimeRevision, getUserId, setRevision, setScript, setTimeRevision, setUserIdMethods inherited from class ru.bitel.common.model.IdTitle
copyTo, getGuiTitle, getTitle, setTitle, toIdTitle, toStringMethods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
GLOBAL
public static final int GLOBAL- See Also:
- Constant Field Values
-
FUNCTION
public static final int FUNCTION- See Also:
- Constant Field Values
-
LIBRARY
public static final int LIBRARY- See Also:
- Constant Field Values
-
-
Constructor Details
-
ScriptBackup
public ScriptBackup()
-
-
Method Details
-
setScriptId
public void setScriptId(int scriptId)Устанавливает ссылку на скрипт.- Parameters:
scriptId-
-
getScriptId
public int getScriptId()Возвращает ссылку на скрипт.- Returns:
- код скрипта.
-
setComment
public void setComment(java.lang.String comment)Устанавливает комментарий.- Parameters:
comment-
-
getComment
public java.lang.String getComment()Возвращает комментарий.- Returns:
- комментарий к резервной копии.
-
setScriptBackup
-
setType
public void setType(int type)Устанавливает тип скрипта.- Parameters:
type-
-
getType
public int getType()Возвращает тип скрипта.- Returns:
- тип скрипта.
-