public class GrouperFile extends GrouperAPI implements GrouperHasContext, Hib3GrouperVersioned
Modifier and Type | Field and Description |
---|---|
static String |
COLUMN_CONTEXT_ID
Context id links together multiple operations into one high level action
|
static String |
COLUMN_FILE_CONTENTS_BYTES
size of file contents in bytes
|
static String |
COLUMN_FILE_CONTENTS_CLOB
large contents of the file
|
static String |
COLUMN_FILE_CONTENTS_VARCHAR
contents of the file if can fit into 4000 bytes
|
static String |
COLUMN_FILE_NAME
Name of the file
|
static String |
COLUMN_FILE_PATH
Unique path of the file
|
static String |
COLUMN_ID
db id for this row
|
static String |
COLUMN_SYSTEM_NAME
System name this file belongs to eg: workflow
|
static String |
FIELD_CONTEXT_ID
constant for field name for: contextId
|
static String |
FIELD_FILE_CONTENTS_BYTES
constant for field name for: fileContentsBytes
|
static String |
FIELD_FILE_CONTENTS_CLOB
constant for field name for: fileContentsClob
|
static String |
FIELD_FILE_CONTENTS_VARCHAR
constant for field name for: fileContentsVarchar
|
static String |
FIELD_FILE_NAME
constant for field name for: fileName
|
static String |
FIELD_FILE_PATH
constant for field name for: filePath
|
static String |
FIELD_ID
constant for field name for: id
|
static String |
FIELD_SYSTEM_NAME
constant for field name for: systemName
|
static String |
TABLE_GROUPER_FILE
name of the table in the database.
|
COLUMN_HIBERNATE_VERSION_NUMBER, dbVersion, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER
Constructor and Description |
---|
GrouperFile() |
Modifier and Type | Method and Description |
---|---|
GrouperAPI |
clone()
deep clone the fields in this object
|
void |
dbVersionReset()
take a snapshot of the data since this is what is in the db
|
String |
getContextId() |
Long |
getFileContentsBytes()
size of file contents in bytes
|
String |
getFileContentsClobDb() |
String |
getFileContentsVarcharDb()
value of the property
|
String |
getFileName() |
String |
getFilePath() |
String |
getId() |
String |
getSystemName() |
String |
retrieveValue()
retrieve value.
|
void |
setContextId(String contextId1)
set context id
|
void |
setFileContentsBytes(Long fileContentsBytes)
size of file contents in bytes
|
void |
setFileContentsClobDb(String fileContentsClob) |
void |
setFileContentsVarcharDb(String fileContentsVarchar) |
void |
setFileName(String fileName) |
void |
setFilePath(String filePath) |
void |
setId(String id1) |
void |
setSystemName(String systemName) |
void |
setValueToSave(String value)
set config value to save.
|
dbVersion, dbVersionClear, dbVersionDifferentFields, dbVersionIsDifferent, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostSave, onPostUpdate, onPreDelete, onPreSave, onPreUpdate, onSave, onUpdate, setHibernateVersionNumber
public static final String COLUMN_ID
public static final String COLUMN_SYSTEM_NAME
public static final String COLUMN_FILE_NAME
public static final String COLUMN_FILE_PATH
public static final String COLUMN_CONTEXT_ID
public static final String COLUMN_FILE_CONTENTS_VARCHAR
public static final String COLUMN_FILE_CONTENTS_CLOB
public static final String COLUMN_FILE_CONTENTS_BYTES
public static final String FIELD_ID
public static final String FIELD_SYSTEM_NAME
public static final String FIELD_CONTEXT_ID
public static final String FIELD_FILE_NAME
public static final String FIELD_FILE_PATH
public static final String FIELD_FILE_CONTENTS_VARCHAR
public static final String FIELD_FILE_CONTENTS_BYTES
public static final String FIELD_FILE_CONTENTS_CLOB
public static final String TABLE_GROUPER_FILE
public void setId(String id1)
id1
- the id to setpublic String getId()
public String getContextId()
public void setContextId(String contextId1)
setContextId
in interface GrouperHasContext
contextId1
- public String getSystemName()
public void setSystemName(String systemName)
public String getFileName()
public void setFileName(String fileName)
public String getFilePath()
public void setFilePath(String filePath)
public String getFileContentsVarcharDb()
public void setFileContentsVarcharDb(String fileContentsVarchar)
public String getFileContentsClobDb()
public void setFileContentsClobDb(String fileContentsClob)
public String retrieveValue()
public Long getFileContentsBytes()
public void setFileContentsBytes(Long fileContentsBytes)
the
- fileContentsBytespublic void setValueToSave(String value)
value
- public GrouperAPI clone()
GrouperAPI
clone
in interface GrouperCloneable
clone
in class GrouperAPI
Object.clone()
public void dbVersionReset()
dbVersionReset
in class GrouperAPI
Copyright © 2016 Internet2. All rights reserved.