public class DLFolderConstants
extends java.lang.Object
This contains several utility methods for the purpose of determining folder
IDs and data repository IDs as used by back-end data systems like search and
Document Library stores. These repository IDs should not be confused with the
repository ID used by RepositoryServiceImpl
.
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_PARENT_FOLDER_ID |
static java.lang.String |
NAME_GENERAL_RESTRICTIONS |
static java.lang.String |
NAME_LABEL
Deprecated.
As of Mueller (7.2.x), with no direct replacement
|
static int |
RESTRICTION_TYPE_FILE_ENTRY_TYPES_AND_WORKFLOW |
static int |
RESTRICTION_TYPE_INHERIT |
static int |
RESTRICTION_TYPE_WORKFLOW |
Constructor and Description |
---|
DLFolderConstants() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getClassName() |
static long |
getDataRepositoryId(long repositoryId,
long folderId)
Determine the data repository ID from the repository ID and folder ID.
|
static long |
getFolderId(long groupId,
long dataRepositoryId)
Determine the folder ID when no knowledge of it currently exists.
|
static java.lang.String |
getNameInvalidCharacters(java.lang.String[] charBlacklist) |
static java.lang.String |
getNameInvalidEndCharacters(java.lang.String[] charLastBlacklist) |
static java.lang.String |
getNameReservedWords(java.lang.String[] nameBlacklist) |
public static final long DEFAULT_PARENT_FOLDER_ID
public static final java.lang.String NAME_GENERAL_RESTRICTIONS
@Deprecated public static final java.lang.String NAME_LABEL
public static final int RESTRICTION_TYPE_FILE_ENTRY_TYPES_AND_WORKFLOW
public static final int RESTRICTION_TYPE_INHERIT
public static final int RESTRICTION_TYPE_WORKFLOW
public static java.lang.String getClassName()
public static long getDataRepositoryId(long repositoryId, long folderId)
public static long getFolderId(long groupId, long dataRepositoryId)
public static java.lang.String getNameInvalidCharacters(java.lang.String[] charBlacklist)
public static java.lang.String getNameInvalidEndCharacters(java.lang.String[] charLastBlacklist)
public static java.lang.String getNameReservedWords(java.lang.String[] nameBlacklist)