|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface WebappStructure.RegistrationCallback
Callback interface to handle events related to filepath registration in the webapp.
Method Summary | |
---|---|
void |
alreadyRegistered(String ownerId,
String targetFilename)
Called if the targetFilename for the specified ownerId has already been registered. |
void |
refused(String ownerId,
String targetFilename,
String actualOwnerId)
Called if the registration of the targetFilename for the specified ownerId has been refused since the path already belongs to the actualOwnerId. |
void |
registered(String ownerId,
String targetFilename)
Called if the targetFilename for the specified ownerId has been registered successfully. |
void |
superseded(String ownerId,
String targetFilename,
String deprecatedOwnerId)
Called if the targetFilename for the specified ownerId has been registered successfully by superseding a deprecatedOwnerId, that is the previous owner of the file. |
void |
supersededUnknownOwner(String ownerId,
String targetFilename,
String unknownOwnerId)
Called if the targetFilename for the specified ownerId has been registered successfully by superseding a unknownOwnerId, that is an owner that does not exist anymore in the current project. |
Method Detail |
---|
void registered(String ownerId, String targetFilename) throws IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webapp
IOException
- if an error occurred while handling this eventvoid alreadyRegistered(String ownerId, String targetFilename) throws IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webapp
IOException
- if an error occurred while handling this eventvoid refused(String ownerId, String targetFilename, String actualOwnerId) throws IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webappactualOwnerId
- the actual owner
IOException
- if an error occurred while handling this eventvoid superseded(String ownerId, String targetFilename, String deprecatedOwnerId) throws IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webappdeprecatedOwnerId
- the previous owner that does not exist anymore
IOException
- if an error occurred while handling this eventvoid supersededUnknownOwner(String ownerId, String targetFilename, String unknownOwnerId) throws IOException
ownerId
- the ownerIdtargetFilename
- the relative path according to the root of the webappunknownOwnerId
- the previous owner that does not exist anymore
IOException
- if an error occurred while handling this event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |